Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IORTAnalysisManager Class Reference

#include <IORTAnalysisManager.hh>

Public Member Functions

 ~IORTAnalysisManager ()
 
void book ()
 
void SetAnalysisFileName (G4String)
 
void FillEnergyDeposit (G4int voxelXId, G4int voxelYId, G4int voxelZId, G4double energyDeposit)
 
void BraggPeak (G4int, G4double)
 Fill 1D histogram with the Bragg peak in the phantom. More...
 
void SecondaryProtonEnergyDeposit (G4int slice, G4double energy)
 Fill 1D histogram with the energy deposit of secondary protons. More...
 
void SecondaryNeutronEnergyDeposit (G4int slice, G4double energy)
 Fill 1D histogram with the energy deposit of secondary neutrons. More...
 
void SecondaryAlphaEnergyDeposit (G4int slice, G4double energy)
 Fill 1D histogram with the energy deposit of secondary alpha particles. More...
 
void SecondaryGammaEnergyDeposit (G4int slice, G4double energy)
 Fill 1D histogram with the energy deposit of secondary gamma. More...
 
void SecondaryElectronEnergyDeposit (G4int slice, G4double energy)
 Fill 1D histogram with the energy deposit of secondary electrons. More...
 
void SecondaryTritonEnergyDeposit (G4int slice, G4double energy)
 Fill 1D histogram with the energy deposit of secondary tritons. More...
 
void SecondaryDeuteronEnergyDeposit (G4int slice, G4double energy)
 Fill 1D histogram with the energy deposit of secondary deuterons. More...
 
void SecondaryPionEnergyDeposit (G4int slice, G4double energy)
 Fill 1D histogram with the energy deposit of secondary pions. More...
 
void electronEnergyDistribution (G4double secondaryParticleKineticEnergy)
 Energy distribution of secondary electrons originated in the phantom. More...
 
void gammaEnergyDistribution (G4double secondaryParticleKineticEnergy)
 Energy distribution of secondary gamma originated in the phantom. More...
 
void deuteronEnergyDistribution (G4double secondaryParticleKineticEnergy)
 Energy distribution of secondary deuterons originated in the phantom. More...
 
void tritonEnergyDistribution (G4double secondaryParticleKineticEnergy)
 Energy distribution of secondary tritons originated in the phantom. More...
 
void alphaEnergyDistribution (G4double secondaryParticleKineticEnergy)
 Energy distribution of secondary alpha originated in the phantom. More...
 
void heliumEnergy (G4double secondaryParticleKineticEnergy)
 Energy distribution of the helium (He3 and alpha) particles after the phantom. More...
 
void hydrogenEnergy (G4double secondaryParticleKineticEnergy)
 Energy distribution of the hydrogen (proton, d, t) particles after the phantom. More...
 
void FillKineticFragmentTuple (G4int i, G4int j, G4int k, G4int A, G4double Z, G4double kinEnergy)
 
void FillKineticEnergyPrimaryNTuple (G4int i, G4int j, G4int k, G4double kinEnergy)
 Energy by voxel, mass number A and atomic number Z. More...
 
void FillVoxelFragmentTuple (G4int i, G4int j, G4int k, G4int A, G4double Z, G4double energy, G4double fluence)
 
void FillFragmentTuple (G4int A, G4double Z, G4double energy, G4double posX, G4double posY, G4double posZ)
 Energy ntuple. More...
 
void FillLetFragmentTuple (G4int i, G4int j, G4int k, G4int A, G4double Z, G4double letT, G4double letD)
 let ntuple More...
 
void genericIonInformation (G4int, G4double, G4int, G4double)
 
void ThintargetBeamDisp (G4double, G4double)
 
void startNewEvent ()
 Tell the analysis manager that a new event is starting. More...
 
void setGeometryMetaData (G4double, G4double, G4double)
 from the detector construction information about the geometry can be written as metadata More...
 
void setBeamMetaData (G4double, G4double)
 metadata about the beam can be written this way More...
 
void flush ()
 Close the .hbk file with the histograms and the ntuples. More...
 

Static Public Member Functions

static IORTAnalysisManagerGetInstance ()
 

Detailed Description

A class for connecting the simulation to an analysis package.

Definition at line 56 of file IORTAnalysisManager.hh.

Constructor & Destructor Documentation

IORTAnalysisManager::~IORTAnalysisManager ( )

Definition at line 58 of file IORTAnalysisManager.cc.

59 {
60  if (fMess)
61  delete fMess;
62  delete G4AnalysisManager::Instance();
63 }

Member Function Documentation

void IORTAnalysisManager::alphaEnergyDistribution ( G4double  secondaryParticleKineticEnergy)

Energy distribution of secondary alpha originated in the phantom.

Definition at line 311 of file IORTAnalysisManager.cc.

312 {
313  G4AnalysisManager::Instance()->FillH1(14,energy);
314 }
G4double energy(const ThreeVector &p, const G4double m)
void IORTAnalysisManager::book ( )

Book the histograms and ntuples.

Definition at line 82 of file IORTAnalysisManager.cc.

83 {
84  // Create analysis manager
85  G4AnalysisManager* man = G4AnalysisManager::Instance();
86  man->SetVerboseLevel(1);
87  man->SetFirstHistoId(1);
88  man->SetFirstNtupleId(1);
89 
90  man->OpenFile(analysisFileName);
91 
92  // Create the histograms with the energy deposit along the X axis
93  //ID=1 <different waterthicknesses are accoutned for in ROOT-analysis stage>
94  man->CreateH1("braggPeak","slice, energy", 400, 0., 80); //
95  //ID=2
96  man->CreateH1("h20","Secondary protons - slice, energy", 400, 0., 400.);
97  //ID=3
98  man->CreateH1("h30","Secondary neutrons - slice, energy", 400, 0., 400.);
99  //ID=4
100  man->CreateH1("h40","Secondary alpha - slice, energy", 400, 0., 400.);
101  //ID=5
102  man->CreateH1("h50","Secondary gamma - slice, energy", 400, 0., 400.);
103  //ID=6
104  man->CreateH1("h60","Secondary electron - slice, energy", 400, 0., 400.);
105  //ID=7
106  man->CreateH1("h70","Secondary triton - slice, energy", 400, 0., 400.);
107  //ID=8
108  man->CreateH1("h80","Secondary deuteron - slice, energy", 400, 0., 400.);
109  //ID=9
110  man->CreateH1("h90","Secondary pion - slice, energy", 400, 0., 400.);
111  //ID=10
112  man->CreateH1("h100","Energy distribution of secondary electrons", 70, 0., 70.);
113  //ID=11
114  man->CreateH1("h110","Energy distribution of secondary photons", 70, 0., 70.);
115  //ID=12
116  man->CreateH1("h120","Energy distribution of secondary deuterons", 70, 0., 70.);
117  //ID = 13
118  man->CreateH1("h130","Energy distribution of secondary tritons", 70, 0., 70.);
119  //ID = 14
120  man->CreateH1("h140","Energy distribution of secondary alpha particles", 70, 0., 70.);
121  //ID = 15
122  man->CreateH1("heliumEnergyAfterPhantom",
123  "Energy distribution of secondary helium fragments after the phantom",
124  70, 0., 500.);
125  //ID= 16
126  man->CreateH1("hydrogenEnergyAfterPhantom",
127  "Energy distribution of secondary helium fragments after the phantom",
128  70, 0., 500.);
129 
130  //Now the ntuples
131  //ID = 1
132  man->CreateNtuple("kinFragNtuple",
133  "Kinetic energy by voxel & fragment");
134  man->CreateNtupleIColumn("i");
135  man->CreateNtupleIColumn("j");
136  man->CreateNtupleIColumn("k");
137  man->CreateNtupleIColumn("A");
138  man->CreateNtupleDColumn("Z");
139  man->CreateNtupleDColumn("kineticEnergy");
140  man->FinishNtuple();
141 
142  //ID = 2
143  man->CreateNtuple("kineticEnergyPrimaryNtuple",
144  "Kinetic energy by voxel of primary");
145  man->CreateNtupleIColumn("i");
146  man->CreateNtupleIColumn("j");
147  man->CreateNtupleIColumn("k");
148  man->CreateNtupleDColumn("kineticEnergy");
149  man->FinishNtuple();
150 
151  //ID = 3
152  man->CreateNtuple("doseFragNtuple",
153  "Energy deposit by voxel & fragment");
154  man->CreateNtupleIColumn("i");
155  man->CreateNtupleIColumn("j");
156  man->CreateNtupleIColumn("k");
157  man->CreateNtupleIColumn("A");
158  man->CreateNtupleDColumn("Z");
159  man->CreateNtupleDColumn("energy");
160  man->FinishNtuple();
161 
162  // ID =4
163  man->CreateNtuple("fluenceFragNtuple",
164  "Fluence by voxel & fragment");
165  man->CreateNtupleIColumn("i");
166  man->CreateNtupleIColumn("j");
167  man->CreateNtupleIColumn("k");
168  man->CreateNtupleIColumn("A");
169  man->CreateNtupleDColumn("Z");
170  man->CreateNtupleDColumn("fluence");
171  man->FinishNtuple();
172 
173  // ID=5
174  man->CreateNtuple("letFragNtuple",
175  "Let by voxel & fragment");
176  man->CreateNtupleIColumn("i");
177  man->CreateNtupleIColumn("j");
178  man->CreateNtupleIColumn("k");
179  man->CreateNtupleIColumn("A");
180  man->CreateNtupleDColumn("Z");
181  man->CreateNtupleDColumn("letT");
182  man->CreateNtupleDColumn("letD");
183  man->FinishNtuple();
184 
185  //ID=6
186  man->CreateNtuple("theROOTNtuple",
187  "Energy deposit by slice");
188  man->CreateNtupleIColumn("i");
189  man->CreateNtupleIColumn("j");
190  man->CreateNtupleIColumn("k");
191  man->CreateNtupleDColumn("energy");
192  man->FinishNtuple();
193 
194  //ID=7
195  man->CreateNtuple("theROOTIonTuple",
196  "Generic ion information");
197  man->CreateNtupleIColumn("a");
198  man->CreateNtupleDColumn("z");
199  man->CreateNtupleIColumn("occupancy");
200  man->CreateNtupleDColumn("energy");
201  man->FinishNtuple();
202 
203  //ID=8
204  man->CreateNtuple("fragmentNtuple",
205  "Fragments");
206  man->CreateNtupleIColumn("A");
207  man->CreateNtupleDColumn("Z");
208  man->CreateNtupleDColumn("energy");
209  man->CreateNtupleDColumn("posX");
210  man->CreateNtupleDColumn("posY");
211  man->CreateNtupleDColumn("posZ");
212  man->FinishNtuple();
213 
214 }
G4int CreateNtupleIColumn(const G4String &name)
G4bool SetFirstHistoId(G4int firstId)
G4int CreateH1(const G4String &name, const G4String &title, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none", const G4String &binSchemeName="linear")
void SetVerboseLevel(G4int verboseLevel)
G4int CreateNtuple(const G4String &name, const G4String &title)
G4bool OpenFile(const G4String &fileName="")
G4bool SetFirstNtupleId(G4int firstId)
G4int CreateNtupleDColumn(const G4String &name)

Here is the call graph for this function:

void IORTAnalysisManager::BraggPeak ( G4int  slice,
G4double  energy 
)

Fill 1D histogram with the Bragg peak in the phantom.

Definition at line 231 of file IORTAnalysisManager.cc.

232 {
233  //FIXME
234  G4AnalysisManager::Instance()->FillH1(1,slice,energy);
235  //histo1->SetBinContent(slice, energy); //This uses setbincontent instead of fill to get labels correct
236 }
G4double energy(const ThreeVector &p, const G4double m)
void IORTAnalysisManager::deuteronEnergyDistribution ( G4double  secondaryParticleKineticEnergy)

Energy distribution of secondary deuterons originated in the phantom.

Definition at line 299 of file IORTAnalysisManager.cc.

300 {
301  G4AnalysisManager::Instance()->FillH1(12,energy);
302 }
G4double energy(const ThreeVector &p, const G4double m)
void IORTAnalysisManager::electronEnergyDistribution ( G4double  secondaryParticleKineticEnergy)

Energy distribution of secondary electrons originated in the phantom.

Definition at line 287 of file IORTAnalysisManager.cc.

288 {
289  G4AnalysisManager::Instance()->FillH1(10,energy);
290 }
G4double energy(const ThreeVector &p, const G4double m)
void IORTAnalysisManager::FillEnergyDeposit ( G4int  voxelXId,
G4int  voxelYId,
G4int  voxelZId,
G4double  energyDeposit 
)

Fill the ntuple with the energy deposit in the phantom

Definition at line 217 of file IORTAnalysisManager.cc.

221 {
222  G4AnalysisManager* man = G4AnalysisManager::Instance();
223  man->FillNtupleIColumn(6,0,i);
224  man->FillNtupleIColumn(6,1,j);
225  man->FillNtupleIColumn(6,2,k);
226  man->FillNtupleDColumn(6,3,energy);
227  man->AddNtupleRow(6);
228 }
G4bool FillNtupleIColumn(G4int id, G4int value)
G4bool FillNtupleDColumn(G4int id, G4double value)
G4double energy(const ThreeVector &p, const G4double m)

Here is the call graph for this function:

void IORTAnalysisManager::FillFragmentTuple ( G4int  A,
G4double  Z,
G4double  energy,
G4double  posX,
G4double  posY,
G4double  posZ 
)

Energy ntuple.

Definition at line 401 of file IORTAnalysisManager.cc.

403 {
404  G4AnalysisManager* man = G4AnalysisManager::Instance();
405  man->FillNtupleIColumn(8,0,A);
406  man->FillNtupleDColumn(8,1,Z);
407  man->FillNtupleDColumn(8,2,energy);
408  man->FillNtupleDColumn(8,3,posX);
409  man->FillNtupleDColumn(8,4,posY);
410  man->FillNtupleDColumn(8,5,posZ);
411  man->AddNtupleRow(8);
412 }
G4bool FillNtupleIColumn(G4int id, G4int value)
double A(double temperature)
G4bool FillNtupleDColumn(G4int id, G4double value)
G4double energy(const ThreeVector &p, const G4double m)

Here is the call graph for this function:

Here is the caller graph for this function:

void IORTAnalysisManager::FillKineticEnergyPrimaryNTuple ( G4int  i,
G4int  j,
G4int  k,
G4double  kinEnergy 
)

Energy by voxel, mass number A and atomic number Z.

Definition at line 346 of file IORTAnalysisManager.cc.

347 {
348  G4AnalysisManager* man = G4AnalysisManager::Instance();
349  man->FillNtupleIColumn(2,0,i);
350  man->FillNtupleIColumn(2,1,j);
351  man->FillNtupleIColumn(2,2,k);
352  man->FillNtupleDColumn(2,3,kinEnergy);
353  man->AddNtupleRow(2);
354 }
G4bool FillNtupleIColumn(G4int id, G4int value)
G4bool FillNtupleDColumn(G4int id, G4double value)

Here is the call graph for this function:

void IORTAnalysisManager::FillKineticFragmentTuple ( G4int  i,
G4int  j,
G4int  k,
G4int  A,
G4double  Z,
G4double  kinEnergy 
)

Definition at line 331 of file IORTAnalysisManager.cc.

332 {
333  G4AnalysisManager* man = G4AnalysisManager::Instance();
334  man->FillNtupleIColumn(1,0,i);
335  man->FillNtupleIColumn(1,1,j);
336  man->FillNtupleIColumn(1,2,k);
337  man->FillNtupleIColumn(1,3,A);
338  man->FillNtupleDColumn(1,4,Z);
339  man->FillNtupleDColumn(1,5,kinEnergy);
340  man->AddNtupleRow(1);
341 }
G4bool FillNtupleIColumn(G4int id, G4int value)
double A(double temperature)
G4bool FillNtupleDColumn(G4int id, G4double value)

Here is the call graph for this function:

void IORTAnalysisManager::FillLetFragmentTuple ( G4int  i,
G4int  j,
G4int  k,
G4int  A,
G4double  Z,
G4double  letT,
G4double  letD 
)

let ntuple

Definition at line 386 of file IORTAnalysisManager.cc.

388 {
389  G4AnalysisManager* man = G4AnalysisManager::Instance();
390  man->FillNtupleIColumn(5,0,i);
391  man->FillNtupleIColumn(5,1,j);
392  man->FillNtupleIColumn(5,2,k);
393  man->FillNtupleIColumn(5,3,A);
394  man->FillNtupleDColumn(5,4,Z);
395  man->FillNtupleDColumn(5,5,letT);
396  man->FillNtupleDColumn(5,6,letD);
397  man->AddNtupleRow(5);
398 }
G4bool FillNtupleIColumn(G4int id, G4int value)
double A(double temperature)
G4bool FillNtupleDColumn(G4int id, G4double value)

Here is the call graph for this function:

void IORTAnalysisManager::FillVoxelFragmentTuple ( G4int  i,
G4int  j,
G4int  k,
G4int  A,
G4double  Z,
G4double  energy,
G4double  fluence 
)

Definition at line 361 of file IORTAnalysisManager.cc.

363 {
364  G4AnalysisManager* man = G4AnalysisManager::Instance();
365  man->FillNtupleIColumn(3,0,i);
366  man->FillNtupleIColumn(3,1,j);
367  man->FillNtupleIColumn(3,2,k);
368  man->FillNtupleIColumn(3,3,A);
369  man->FillNtupleDColumn(3,4,Z);
370  man->FillNtupleDColumn(3,5,energy);
371  man->AddNtupleRow(3);
372 
373 
374  // Fill the ntuple containing the voxel, mass and atomic number and the fluence
375  if (i==1 && Z==1) {
376  man->FillNtupleIColumn(4,0,i);
377  man->FillNtupleIColumn(4,1,j);
378  man->FillNtupleIColumn(4,2,k);
379  man->FillNtupleIColumn(4,3,A);
380  man->FillNtupleDColumn(4,4,Z);
381  man->FillNtupleDColumn(4,5,fluence);
382  man->AddNtupleRow(4);
383  }
384 }
G4bool FillNtupleIColumn(G4int id, G4int value)
double A(double temperature)
G4bool FillNtupleDColumn(G4int id, G4double value)
G4double energy(const ThreeVector &p, const G4double m)

Here is the call graph for this function:

void IORTAnalysisManager::flush ( )

Close the .hbk file with the histograms and the ntuples.

Definition at line 450 of file IORTAnalysisManager.cc.

451 {
452  // Save histograms
453  G4AnalysisManager* man = G4AnalysisManager::Instance();
454  man->Write();
455  man->CloseFile();
456  eventCounter = 0;
457 }

Here is the call graph for this function:

void IORTAnalysisManager::gammaEnergyDistribution ( G4double  secondaryParticleKineticEnergy)

Energy distribution of secondary gamma originated in the phantom.

Definition at line 293 of file IORTAnalysisManager.cc.

294 {
295  G4AnalysisManager::Instance()->FillH1(11,energy);
296 }
G4double energy(const ThreeVector &p, const G4double m)
void IORTAnalysisManager::genericIonInformation ( G4int  a,
G4double  z,
G4int  electronOccupancy,
G4double  energy 
)

Definition at line 415 of file IORTAnalysisManager.cc.

419 {
420  G4AnalysisManager* man = G4AnalysisManager::Instance();
421  man->FillNtupleIColumn(7,0,a);
422  man->FillNtupleDColumn(7,1,z);
423  man->FillNtupleIColumn(7,2,electronOccupancy);
424  man->FillNtupleDColumn(7,3,energy);
425  man->AddNtupleRow(7);
426 }
std::vector< ExP01TrackerHit * > a
Definition: ExP01Classes.hh:33
G4bool FillNtupleIColumn(G4int id, G4int value)
G4bool FillNtupleDColumn(G4int id, G4double value)
G4double energy(const ThreeVector &p, const G4double m)
tuple z
Definition: test.py:28

Here is the call graph for this function:

IORTAnalysisManager * IORTAnalysisManager::GetInstance ( )
static

Get the pointer to the analysis manager.

Definition at line 67 of file IORTAnalysisManager.cc.

68 {
69  if (instance == 0) instance = new IORTAnalysisManager;
70  return instance;
71 }

Here is the caller graph for this function:

void IORTAnalysisManager::heliumEnergy ( G4double  secondaryParticleKineticEnergy)

Energy distribution of the helium (He3 and alpha) particles after the phantom.

Definition at line 317 of file IORTAnalysisManager.cc.

318 {
319  G4AnalysisManager::Instance()->FillH1(15,secondaryParticleKineticEnergy);
320 }

Here is the caller graph for this function:

void IORTAnalysisManager::hydrogenEnergy ( G4double  secondaryParticleKineticEnergy)

Energy distribution of the hydrogen (proton, d, t) particles after the phantom.

Definition at line 323 of file IORTAnalysisManager.cc.

324 {
325  G4AnalysisManager::Instance()->FillH1(16,secondaryParticleKineticEnergy);
326 }

Here is the caller graph for this function:

void IORTAnalysisManager::SecondaryAlphaEnergyDeposit ( G4int  slice,
G4double  energy 
)

Fill 1D histogram with the energy deposit of secondary alpha particles.

Definition at line 251 of file IORTAnalysisManager.cc.

252 {
253  G4AnalysisManager::Instance()->FillH1(4,slice,energy);
254 }
G4double energy(const ThreeVector &p, const G4double m)
void IORTAnalysisManager::SecondaryDeuteronEnergyDeposit ( G4int  slice,
G4double  energy 
)

Fill 1D histogram with the energy deposit of secondary deuterons.

Definition at line 275 of file IORTAnalysisManager.cc.

276 {
277  G4AnalysisManager::Instance()->FillH1(8,slice,energy);
278 }
G4double energy(const ThreeVector &p, const G4double m)
void IORTAnalysisManager::SecondaryElectronEnergyDeposit ( G4int  slice,
G4double  energy 
)

Fill 1D histogram with the energy deposit of secondary electrons.

Definition at line 263 of file IORTAnalysisManager.cc.

264 {
265  G4AnalysisManager::Instance()->FillH1(6,slice,energy);
266 }
G4double energy(const ThreeVector &p, const G4double m)
void IORTAnalysisManager::SecondaryGammaEnergyDeposit ( G4int  slice,
G4double  energy 
)

Fill 1D histogram with the energy deposit of secondary gamma.

Definition at line 257 of file IORTAnalysisManager.cc.

258 {
259  G4AnalysisManager::Instance()->FillH1(5,slice,energy);
260 }
G4double energy(const ThreeVector &p, const G4double m)
void IORTAnalysisManager::SecondaryNeutronEnergyDeposit ( G4int  slice,
G4double  energy 
)

Fill 1D histogram with the energy deposit of secondary neutrons.

Definition at line 245 of file IORTAnalysisManager.cc.

246 {
247  G4AnalysisManager::Instance()->FillH1(3,slice,energy);
248 }
G4double energy(const ThreeVector &p, const G4double m)
void IORTAnalysisManager::SecondaryPionEnergyDeposit ( G4int  slice,
G4double  energy 
)

Fill 1D histogram with the energy deposit of secondary pions.

Definition at line 281 of file IORTAnalysisManager.cc.

282 {
283  G4AnalysisManager::Instance()->FillH1(9,slice,energy);
284 }
G4double energy(const ThreeVector &p, const G4double m)
void IORTAnalysisManager::SecondaryProtonEnergyDeposit ( G4int  slice,
G4double  energy 
)

Fill 1D histogram with the energy deposit of secondary protons.

Definition at line 239 of file IORTAnalysisManager.cc.

240 {
241  G4AnalysisManager::Instance()->FillH1(2,slice,energy);
242 }
G4double energy(const ThreeVector &p, const G4double m)
void IORTAnalysisManager::SecondaryTritonEnergyDeposit ( G4int  slice,
G4double  energy 
)

Fill 1D histogram with the energy deposit of secondary tritons.

Definition at line 269 of file IORTAnalysisManager.cc.

270 {
271  G4AnalysisManager::Instance()->FillH1(7,slice,energy);
272 }
G4double energy(const ThreeVector &p, const G4double m)
void IORTAnalysisManager::SetAnalysisFileName ( G4String  aFileName)

Set name for the analysis file .root (used by macro)

Definition at line 75 of file IORTAnalysisManager.cc.

76 {
77  analysisFileName = aFileName;
78 }
void IORTAnalysisManager::setBeamMetaData ( G4double  meanKineticEnergy,
G4double  sigmaEnergy 
)

metadata about the beam can be written this way

Definition at line 443 of file IORTAnalysisManager.cc.

444 {
445  beamEnergy = meanKineticEnergy;
446  energyError = sigmaEnergy;
447 }
void IORTAnalysisManager::setGeometryMetaData ( G4double  endDetectorPosition,
G4double  waterThickness,
G4double  phantomCenter 
)

from the detector construction information about the geometry can be written as metadata

Definition at line 434 of file IORTAnalysisManager.cc.

436 {
437  detectorDistance = endDetectorPosition;
438  phantomDepth = waterThickness;
439  phantomCenterDistance = phantomCenter;
440 }
void IORTAnalysisManager::startNewEvent ( )

Tell the analysis manager that a new event is starting.

Definition at line 429 of file IORTAnalysisManager.cc.

430 {
431  eventCounter++;
432 }

Here is the caller graph for this function:

void IORTAnalysisManager::ThintargetBeamDisp ( G4double  ,
G4double   
)
void IORTAnalysisManager::tritonEnergyDistribution ( G4double  secondaryParticleKineticEnergy)

Energy distribution of secondary tritons originated in the phantom.

Definition at line 305 of file IORTAnalysisManager.cc.

306 {
307  G4AnalysisManager::Instance()->FillH1(13,energy);
308 }
G4double energy(const ThreeVector &p, const G4double m)

The documentation for this class was generated from the following files: