Geant4
10.00.p01
|
#include <Histo.hh>
Static Public Member Functions | |
static Histo * | GetPointer () |
Private Member Functions | |
void | BookHisto () |
void | AddPhantomPhoton (const G4DynamicParticle *) |
void | AddTargetPhoton (const G4DynamicParticle *) |
void | AddPhantomElectron (const G4DynamicParticle *) |
void | AddTargetElectron (const G4DynamicParticle *) |
void | AddPhoton (const G4DynamicParticle *) |
void | AddElectron (const G4DynamicParticle *) |
void | AddPositron (const G4DynamicParticle *) |
Static Private Attributes | |
static Histo * | fManager |
Histo::Histo | ( | ) |
Definition at line 51 of file Histo.cc.
References fDefaultAct, fHistName, fHistoActive, fHistType, fMessenger, fNHisto, fNtupleActive, fTupleName, fTupleTitle, and fVerbose.
Histo::~Histo | ( | ) |
Definition at line 70 of file Histo.cc.
References fManager, and fMessenger.
Histo::Histo | ( | ) |
Histo::~Histo | ( | ) |
Histo::Histo | ( | ) |
Histo::~Histo | ( | ) |
Histo::Histo | ( | ) |
Histo::~Histo | ( | ) |
Histo::Histo | ( | ) |
Histo::~Histo | ( | ) |
Histo::Histo | ( | ) |
Histo::~Histo | ( | ) |
void Histo::Add1D | ( | const G4String & | , |
const G4String & | , | ||
G4int | nb, | ||
G4double | x1, | ||
G4double | x2, | ||
G4double | u = 1. |
||
) |
void Histo::Add1D | ( | const G4String & | , |
const G4String & | , | ||
G4int | nb, | ||
G4double | x1, | ||
G4double | x2, | ||
G4double | u = 1. |
||
) |
void Histo::Add1D | ( | const G4String & | , |
const G4String & | , | ||
G4int | nb, | ||
G4double | x1, | ||
G4double | x2, | ||
G4double | u = 1. |
||
) |
void Histo::Add1D | ( | const G4String & | , |
const G4String & | , | ||
G4int | nb, | ||
G4double | x1, | ||
G4double | x2, | ||
G4double | u = 1. |
||
) |
|
inlineprivate |
Definition at line 127 of file Histo.hh.
References fNelec.
Referenced by ScoreNewTrack().
|
private |
Definition at line 335 of file Histo.cc.
References fAnalysisManager, fHisto, G4VAnalysisManager::FillH1(), fNePh, G4DynamicParticle::GetKineticEnergy(), and MeV.
Referenced by ScoreNewTrack().
|
private |
Definition at line 318 of file Histo.cc.
References fNgamPh.
Referenced by ScoreNewTrack().
void Histo::AddPhantomStep | ( | G4double | e, |
G4double | r1, | ||
G4double | z1, | ||
G4double | r2, | ||
G4double | z2, | ||
G4double | r0, | ||
G4double | z0 | ||
) |
Definition at line 415 of file Histo.cc.
References fAnalysisManager, fEdep, fHisto, G4VAnalysisManager::FillH1(), fNBinsR, fNBinsZ, fNstep, fScoreBin, fStepR, fStepZ, fVerbose, fVolumeR, G4cout, G4endl, MeV, G4INCL::Math::min(), and z.
Referenced by PhantomSD::ProcessHits().
|
inlineprivate |
Definition at line 126 of file Histo.hh.
References fNgam.
Referenced by ScoreNewTrack().
|
inlineprivate |
Definition at line 128 of file Histo.hh.
Referenced by ScoreNewTrack().
void Histo::AddRow | ( | ) |
void Histo::AddRow | ( | ) |
void Histo::AddRow | ( | ) |
void Histo::AddRow | ( | ) |
Definition at line 329 of file Histo.cc.
References G4VAnalysisManager::AddNtupleRow(), fManager, and fNtupleActive.
void Histo::AddRow | ( | ) |
|
inline |
Definition at line 91 of file Histo.hh.
References fNstepTarget.
|
private |
Definition at line 325 of file Histo.cc.
References fAnalysisManager, fHisto, G4VAnalysisManager::FillH1(), fNeTar, G4DynamicParticle::GetKineticEnergy(), and MeV.
Referenced by ScoreNewTrack().
|
private |
Definition at line 308 of file Histo.cc.
References fAnalysisManager, fHisto, G4VAnalysisManager::FillH1(), fNgamTar, G4DynamicParticle::GetKineticEnergy(), and MeV.
Referenced by ScoreNewTrack().
void Histo::AddTuple | ( | const G4String & | w1 | ) |
Definition at line 244 of file Histo.cc.
References fTupleTitle.
void Histo::AddTuple | ( | const G4String & | ) |
void Histo::AddTuple | ( | const G4String & | ) |
void Histo::AddTuple | ( | const G4String & | ) |
void Histo::AddTuple | ( | const G4String & | ) |
void Histo::AddTupleD | ( | const G4String & | ) |
void Histo::AddTupleD | ( | const G4String & | ) |
void Histo::AddTupleD | ( | const G4String & | w1 | ) |
Definition at line 269 of file Histo.cc.
References fNtupleActive, fNtupleD, and fTupleD.
void Histo::AddTupleD | ( | const G4String & | ) |
void Histo::AddTupleD | ( | const G4String & | ) |
void Histo::AddTupleF | ( | const G4String & | ) |
void Histo::AddTupleF | ( | const G4String & | ) |
void Histo::AddTupleF | ( | const G4String & | ) |
void Histo::AddTupleF | ( | const G4String & | w1 | ) |
Definition at line 260 of file Histo.cc.
References fNtupleActive, fNtupleF, and fTupleF.
void Histo::AddTupleF | ( | const G4String & | ) |
void Histo::AddTupleI | ( | const G4String & | ) |
void Histo::AddTupleI | ( | const G4String & | w1 | ) |
Definition at line 251 of file Histo.cc.
References fNtupleActive, fNtupleI, and fTupleI.
void Histo::AddTupleI | ( | const G4String & | ) |
void Histo::AddTupleI | ( | const G4String & | ) |
void Histo::AddTupleI | ( | const G4String & | ) |
void Histo::BeginOfHisto | ( | ) |
Definition at line 107 of file Histo.cc.
References BookHisto(), cm, fAbsorberR, fAbsorberZ, fAnalysisManager, fEdep, fGammaE, fHistName, fMaxEnergy, fNBinsE, fNBinsR, fNBinsZ, fNelec, fNePh, fNeTar, fNevt, fNgam, fNgamPh, fNgamTar, fNHisto, fNposit, fNstep, fNstepTarget, fScoreBin, fScoreZ, fStepE, fStepR, fStepZ, fSumR, fVerbose, fVolumeR, G4cout, G4endl, G4RootAnalysisManager::Instance(), MeV, mm, G4INCL::Math::pi, and SetNumberDivR().
void Histo::Book | ( | ) |
void Histo::Book | ( | ) |
void Histo::Book | ( | ) |
void Histo::Book | ( | ) |
Definition at line 78 of file Histo.cc.
References G4VAnalysisManager::CreateH1(), G4VAnalysisManager::CreateNtuple(), G4VAnalysisManager::CreateNtupleDColumn(), G4VAnalysisManager::CreateNtupleFColumn(), G4VAnalysisManager::CreateNtupleIColumn(), fActive, fBins, fHistName, fHisto, fHistoActive, fHistType, fIds, fManager, fNHisto, fNtupleActive, fNtupleD, fNtupleF, fNtupleI, fTitles, fTupleD, fTupleF, fTupleI, fTupleName, fTupleTitle, fVerbose, fXmax, fXmin, G4cout, G4endl, G4RootAnalysisManager::Instance(), n, and G4VAnalysisManager::OpenFile().
void Histo::Book | ( | ) |
|
private |
Definition at line 256 of file Histo.cc.
References G4VAnalysisManager::CreateH1(), fAbsorberR, fAbsorberZ, fAnalysisManager, fHistName, fHisto, fMaxEnergy, fNBinsE, fNBinsR, fNBinsZ, fNHisto, G4cout, G4endl, MeV, mm, and G4VAnalysisManager::OpenFile().
Referenced by BeginOfHisto().
void Histo::EndOfHisto | ( | ) |
Definition at line 159 of file Histo.cc.
References G4VAnalysisManager::CloseFile(), cm3, fAbsorberR, fAnalysisManager, fEdep, fHisto, fNBinsR, fNelec, fNePh, fNeTar, fNevt, fNgam, fNgamPh, fNgamTar, fNHisto, fNposit, fNstep, fNstepTarget, fStepR, fStepZ, fSumR, fVerbose, fVolumeR, G4cout, G4endl, G4RootAnalysisManager::GetH1(), MeV, G4INCL::Math::pi, and G4VAnalysisManager::Write().
Definition at line 212 of file Histo.cc.
References fActive, fHisto, fHistoActive, G4VAnalysisManager::FillH1(), fManager, fNHisto, fUnit, fVerbose, G4cout, and G4endl.
Referenced by RunAction::FillHisto().
|
inline |
Definition at line 109 of file Histo.hh.
References fMaxEnergy.
|
inline |
|
inline |
|
static |
Definition at line 59 of file Histo.cc.
References fManager.
Referenced by DetectorConstruction::InitialiseGeometryParameters(), PrimaryGeneratorAction::InitializeMe(), and PrimaryGeneratorAction::SetBeamEnergy().
|
inline |
Definition at line 94 of file Histo.hh.
References fVerbose.
Referenced by PhantomSD::Initialize(), and PhantomSD::ProcessHits().
|
inline |
Definition at line 108 of file Histo.hh.
References fHistoActive.
|
inline |
Definition at line 108 of file Histo.hh.
References fHistoActive.
|
inline |
Definition at line 108 of file Histo.hh.
References fHistoActive.
|
inline |
Definition at line 108 of file Histo.hh.
References fHistoActive.
|
inline |
Definition at line 108 of file Histo.hh.
References fHistoActive.
void Histo::Save | ( | ) |
void Histo::Save | ( | ) |
Definition at line 130 of file Histo.cc.
References G4VAnalysisManager::CloseFile(), fHistName, fHistoActive, fHistType, fManager, fNtupleActive, fVerbose, G4cout, G4endl, G4RootAnalysisManager::Instance(), and G4VAnalysisManager::Write().
void Histo::Save | ( | ) |
void Histo::Save | ( | ) |
void Histo::Save | ( | ) |
void Histo::ScoreNewTrack | ( | const G4Track * | aTrack | ) |
Definition at line 345 of file Histo.cc.
References AddElectron(), AddPhantomElectron(), AddPhantomPhoton(), AddPhoton(), AddPositron(), AddTargetElectron(), AddTargetPhoton(), fElectron, fGamma, fNevt, fPhantom, fPositron, fTarget1, fTarget2, fVerbose, G4cout, G4endl, G4Track::GetDynamicParticle(), G4Track::GetKineticEnergy(), G4Track::GetMomentumDirection(), G4Track::GetParentID(), G4Track::GetParticleDefinition(), G4ParticleDefinition::GetParticleName(), G4Track::GetVertexPosition(), G4Track::GetVolume(), MeV, and pos.
|
inline |
Definition at line 105 of file Histo.hh.
References fAbsorberR.
|
inline |
Definition at line 104 of file Histo.hh.
References fAbsorberZ.
|
inline |
Definition at line 111 of file Histo.hh.
References fCheckVolume.
void Histo::SetFileName | ( | const G4String & | nam | ) |
Definition at line 337 of file Histo.cc.
References fHistName, and fHistoActive.
void Histo::SetFileName | ( | const G4String & | ) |
void Histo::SetFileName | ( | const G4String & | ) |
void Histo::SetFileName | ( | const G4String & | ) |
void Histo::SetFileName | ( | const G4String & | ) |
void Histo::SetFileType | ( | const G4String & | nam | ) |
void Histo::SetFileType | ( | const G4String & | ) |
void Histo::SetFileType | ( | const G4String & | ) |
void Histo::SetFileType | ( | const G4String & | ) |
void Histo::SetFileType | ( | const G4String & | ) |
|
inline |
Definition at line 112 of file Histo.hh.
References fGasVolume.
|
inline |
|
inline |
Definition at line 108 of file Histo.hh.
References fMaxEnergy.
|
inline |
|
inline |
Definition at line 99 of file Histo.hh.
References fNBinsR.
Referenced by BeginOfHisto().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 154 of file Histo.hh.
Referenced by BeginOfHisto(), BookHisto(), EndOfHisto(), and SetAbsorberR().
|
private |
Definition at line 153 of file Histo.hh.
Referenced by BeginOfHisto(), BookHisto(), and SetAbsorberZ().
|
private |
Definition at line 130 of file Histo.hh.
Referenced by Activate(), Add1D(), Book(), Fill(), ScaleH1(), and SetHisto1D().
|
private |
Definition at line 132 of file Histo.hh.
Referenced by AddPhantomElectron(), AddPhantomGamma(), AddPhantomStep(), AddTargetElectron(), AddTargetPhoton(), BeginOfHisto(), BookHisto(), and EndOfHisto().
|
private |
Definition at line 129 of file Histo.hh.
Referenced by Add1D(), Book(), and SetHisto1D().
|
private |
Definition at line 138 of file Histo.hh.
Referenced by SetCheckVolume().
|
private |
|
private |
Definition at line 177 of file Histo.hh.
Referenced by AddPhantomStep(), BeginOfHisto(), and EndOfHisto().
|
private |
Definition at line 135 of file Histo.hh.
Referenced by ScoreNewTrack().
|
private |
Definition at line 134 of file Histo.hh.
Referenced by ScoreNewTrack().
|
private |
Definition at line 176 of file Histo.hh.
Referenced by AddPhantomGamma(), and BeginOfHisto().
|
private |
Definition at line 139 of file Histo.hh.
Referenced by SetGasVolume().
|
private |
Definition at line 115 of file Histo.hh.
Referenced by BeginOfHisto(), Book(), BookHisto(), Histo(), Save(), SetFileName(), and SetHistoName().
|
private |
Definition at line 125 of file Histo.hh.
Referenced by Add1D(), AddPhantomElectron(), AddPhantomGamma(), AddPhantomStep(), AddTargetElectron(), AddTargetPhoton(), Book(), BookHisto(), EndOfHisto(), Fill(), and ScaleH1().
|
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(), GetPointer(), Save(), ScaleH1(), and ~Histo().
|
private |
Definition at line 156 of file Histo.hh.
Referenced by BeginOfHisto(), BookHisto(), GetMaxEnergy(), and SetMaxEnergy().
|
private |
|
private |
Definition at line 149 of file Histo.hh.
Referenced by AddPhantomGamma(), BeginOfHisto(), BookHisto(), and SetNumberDivE().
|
private |
Definition at line 148 of file Histo.hh.
Referenced by AddPhantomGamma(), AddPhantomStep(), BeginOfHisto(), BookHisto(), EndOfHisto(), GetNumberDivR(), and SetNumberDivR().
|
private |
Definition at line 147 of file Histo.hh.
Referenced by AddPhantomStep(), BeginOfHisto(), BookHisto(), GetNumberDivZ(), and SetNumberDivZ().
|
private |
Definition at line 165 of file Histo.hh.
Referenced by AddElectron(), BeginOfHisto(), and EndOfHisto().
|
private |
Definition at line 172 of file Histo.hh.
Referenced by AddPhantomElectron(), BeginOfHisto(), and EndOfHisto().
|
private |
Definition at line 171 of file Histo.hh.
Referenced by AddTargetElectron(), BeginOfHisto(), and EndOfHisto().
|
private |
Definition at line 164 of file Histo.hh.
Referenced by BeginOfHisto(), EndOfHisto(), and ScoreNewTrack().
|
private |
Definition at line 167 of file Histo.hh.
Referenced by AddPhoton(), BeginOfHisto(), and EndOfHisto().
|
private |
Definition at line 169 of file Histo.hh.
Referenced by AddPhantomPhoton(), BeginOfHisto(), and EndOfHisto().
|
private |
Definition at line 170 of file Histo.hh.
Referenced by AddTargetPhoton(), BeginOfHisto(), and EndOfHisto().
|
private |
Definition at line 119 of file Histo.hh.
Referenced by Activate(), Add1D(), BeginOfHisto(), Book(), BookHisto(), EndOfHisto(), Fill(), Histo(), ScaleH1(), and SetHisto1D().
|
private |
Definition at line 166 of file Histo.hh.
Referenced by BeginOfHisto(), and EndOfHisto().
|
private |
Definition at line 168 of file Histo.hh.
Referenced by AddPhantomStep(), BeginOfHisto(), and EndOfHisto().
|
private |
Definition at line 173 of file Histo.hh.
Referenced by AddStepInTarget(), BeginOfHisto(), and EndOfHisto().
|
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 |
Definition at line 140 of file Histo.hh.
Referenced by ScoreNewTrack(), and SetPhantom().
|
private |
Definition at line 136 of file Histo.hh.
Referenced by ScoreNewTrack().
|
private |
Definition at line 150 of file Histo.hh.
Referenced by AddPhantomStep(), and BeginOfHisto().
|
private |
Definition at line 152 of file Histo.hh.
Referenced by BeginOfHisto(), and SetScoreZ().
|
private |
Definition at line 160 of file Histo.hh.
Referenced by AddPhantomGamma(), and BeginOfHisto().
|
private |
Definition at line 159 of file Histo.hh.
Referenced by AddPhantomGamma(), AddPhantomStep(), BeginOfHisto(), and EndOfHisto().
|
private |
Definition at line 158 of file Histo.hh.
Referenced by AddPhantomStep(), BeginOfHisto(), and EndOfHisto().
|
private |
Definition at line 162 of file Histo.hh.
Referenced by AddPhantomGamma(), BeginOfHisto(), and EndOfHisto().
|
private |
Definition at line 141 of file Histo.hh.
Referenced by ScoreNewTrack(), and SetTarget1().
|
private |
Definition at line 142 of file Histo.hh.
Referenced by ScoreNewTrack(), and SetTarget2().
|
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(), AddPhantomStep(), BeginOfHisto(), Book(), EndOfHisto(), Fill(), FillTupleD(), FillTupleF(), FillTupleI(), GetVerbose(), Histo(), Save(), ScaleH1(), ScoreNewTrack(), SetHisto1D(), and SetVerbose().
|
private |
Definition at line 175 of file Histo.hh.
Referenced by AddPhantomGamma(), AddPhantomStep(), BeginOfHisto(), and EndOfHisto().
|
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().