QwGeant4
|
#include <Histo.hh>
Public Member Functions | |
Histo () | |
~Histo () | |
void | Book () |
void | Save () |
void | Add1D (const G4String &, const G4String &, G4int nb, G4double x1, G4double x2, G4double u=1.) |
void | SetHisto1D (G4int, G4int, G4double, G4double, G4double) |
void | Activate (G4int, G4bool) |
void | Fill (G4int, G4double, G4double) |
void | ScaleH1 (G4int, G4double) |
void | AddTuple (const G4String &) |
void | AddTupleI (const G4String &) |
void | AddTupleF (const G4String &) |
void | AddTupleD (const G4String &) |
void | FillTupleI (G4int, G4int) |
void | FillTupleF (G4int, G4float) |
void | FillTupleD (G4int, G4double) |
void | AddRow () |
void | SetFileName (const G4String &) |
void | SetFileType (const G4String &) |
void | SetVerbose (G4int val) |
G4bool | IsActive () const |
Private Attributes | |
G4RootAnalysisManager * | fManager |
HistoMessenger * | fMessenger |
G4String | fHistName |
G4String | fHistType |
G4String | fTupleName |
G4String | fTupleTitle |
G4int | fNHisto |
G4int | fVerbose |
G4bool | fDefaultAct |
G4bool | fHistoActive |
G4bool | fNtupleActive |
std::vector< G4int > | fHisto |
std::vector< G4int > | fTupleI |
std::vector< G4int > | fTupleF |
std::vector< G4int > | fTupleD |
std::vector< G4int > | fBins |
std::vector< G4bool > | fActive |
std::vector< G4double > | fXmin |
std::vector< G4double > | fXmax |
std::vector< G4double > | fUnit |
std::vector< G4String > | fIds |
std::vector< G4String > | fTitles |
std::vector< G4String > | fNtupleI |
std::vector< G4String > | fNtupleF |
std::vector< G4String > | fNtupleD |
Histo::Histo | ( | ) |
Definition at line 51 of file Histo.cc.
References fDefaultAct, fHistName, fHistoActive, fHistType, fManager, fMessenger, fNHisto, fNtupleActive, fTupleName, fTupleTitle, and fVerbose.
Histo::~Histo | ( | ) |
void Histo::Activate | ( | G4int | i, |
G4bool | val | ||
) |
void Histo::Add1D | ( | const G4String & | id, |
const G4String & | name, | ||
G4int | nb, | ||
G4double | x1, | ||
G4double | x2, | ||
G4double | u = 1. |
||
) |
void Histo::AddRow | ( | ) |
void Histo::AddTuple | ( | const G4String & | w1 | ) |
Definition at line 243 of file Histo.cc.
References fTupleTitle.
void Histo::AddTupleD | ( | const G4String & | w1 | ) |
void Histo::AddTupleF | ( | const G4String & | w1 | ) |
void Histo::AddTupleI | ( | const G4String & | w1 | ) |
void Histo::Book | ( | ) |
Definition at line 77 of file Histo.cc.
References fActive, fBins, fHistName, fHisto, fHistoActive, fHistType, fIds, fManager, fNHisto, fNtupleActive, fNtupleD, fNtupleF, fNtupleI, fTitles, fTupleD, fTupleF, fTupleI, fTupleName, fTupleTitle, fVerbose, fXmax, and fXmin.
Referenced by HistoManager::BeginOfRun().
void Histo::Fill | ( | G4int | i, |
G4double | x, | ||
G4double | w | ||
) |
Definition at line 211 of file Histo.cc.
References fActive, fHisto, fHistoActive, fManager, fNHisto, fUnit, and fVerbose.
Referenced by HistoManager::EndOfRun().
void Histo::FillTupleD | ( | G4int | i, |
G4double | x | ||
) |
void Histo::FillTupleF | ( | G4int | i, |
G4float | x | ||
) |
void Histo::FillTupleI | ( | G4int | i, |
G4int | x | ||
) |
|
inline |
void Histo::Save | ( | ) |
Definition at line 129 of file Histo.cc.
References fHistName, fHistoActive, fHistType, fManager, fNtupleActive, and fVerbose.
Referenced by HistoManager::EndOfRun().
void Histo::ScaleH1 | ( | G4int | i, |
G4double | x | ||
) |
void Histo::SetFileName | ( | const G4String & | nam | ) |
Definition at line 336 of file Histo.cc.
References fHistName, and fHistoActive.
Referenced by HistoMessenger::SetNewValue().
void Histo::SetFileType | ( | const G4String & | nam | ) |
Definition at line 344 of file Histo.cc.
References fHistType.
Referenced by HistoMessenger::SetNewValue().
void Histo::SetHisto1D | ( | G4int | i, |
G4int | nb, | ||
G4double | x1, | ||
G4double | x2, | ||
G4double | u | ||
) |
Definition at line 176 of file Histo.cc.
References fActive, fBins, fHistoActive, fNHisto, fUnit, fVerbose, fXmax, and fXmin.
Referenced by HistoManager::BeginOfRun(), and HistoMessenger::SetNewValue().
|
inline |
Definition at line 106 of file Histo.hh.
References fVerbose.
Referenced by HistoManager::HistoManager(), and HistoManager::SetVerbose().
|
private |
Definition at line 130 of file Histo.hh.
Referenced by Activate(), Add1D(), Book(), Fill(), ScaleH1(), and SetHisto1D().
|
private |
Definition at line 129 of file Histo.hh.
Referenced by Add1D(), Book(), and SetHisto1D().
|
private |
|
private |
|
private |
|
private |
Definition at line 122 of file Histo.hh.
Referenced by Activate(), Book(), Fill(), Histo(), IsActive(), Save(), ScaleH1(), SetFileName(), and SetHisto1D().
|
private |
|
private |
|
private |
Definition at line 108 of file Histo.hh.
Referenced by AddRow(), Book(), Fill(), FillTupleD(), FillTupleF(), FillTupleI(), Histo(), Save(), ScaleH1(), and ~Histo().
|
private |
|
private |
Definition at line 119 of file Histo.hh.
Referenced by Activate(), Add1D(), Book(), Fill(), Histo(), ScaleH1(), and SetHisto1D().
|
private |
Definition at line 123 of file Histo.hh.
Referenced by AddRow(), AddTupleD(), AddTupleF(), AddTupleI(), Book(), FillTupleD(), FillTupleF(), FillTupleI(), Histo(), and Save().
|
private |
Definition at line 138 of file Histo.hh.
Referenced by AddTupleD(), Book(), and FillTupleD().
|
private |
Definition at line 137 of file Histo.hh.
Referenced by AddTupleF(), Book(), and FillTupleF().
|
private |
Definition at line 136 of file Histo.hh.
Referenced by AddTupleI(), Book(), and FillTupleI().
|
private |
|
private |
Definition at line 128 of file Histo.hh.
Referenced by AddTupleD(), Book(), and FillTupleD().
|
private |
Definition at line 127 of file Histo.hh.
Referenced by AddTupleF(), Book(), and FillTupleF().
|
private |
Definition at line 126 of file Histo.hh.
Referenced by AddTupleI(), Book(), and FillTupleI().
|
private |
|
private |
Definition at line 118 of file Histo.hh.
Referenced by AddTuple(), Book(), and Histo().
|
private |
Definition at line 133 of file Histo.hh.
Referenced by Add1D(), Fill(), and SetHisto1D().
|
private |
Definition at line 120 of file Histo.hh.
Referenced by Activate(), Add1D(), Book(), Fill(), FillTupleD(), FillTupleF(), FillTupleI(), Histo(), Save(), ScaleH1(), SetHisto1D(), and SetVerbose().
|
private |
Definition at line 132 of file Histo.hh.
Referenced by Add1D(), Book(), and SetHisto1D().
|
private |
Definition at line 131 of file Histo.hh.
Referenced by Add1D(), Book(), and SetHisto1D().