Geant4  10.02.p02
Em10RunAction.hh
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
28 //
29 //
30 // $Id: Em10RunAction.hh 66241 2012-12-13 18:34:42Z gunter $
31 //
32 //
33 
34 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
35 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
36 
37 #ifndef Em10RunAction_h
38 #define Em10RunAction_h 1
39 
40 #include "G4UserRunAction.hh"
41 #include "globals.hh"
42 #include <iostream>
43 
44 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
45 
46 class Em10RunMessenger;
47 class G4Run;
48 
49 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
50 
52 {
53  public:
54  Em10RunAction();
56 
57  public:
58  void BeginOfRunAction(const G4Run*);
59  void EndOfRunAction(const G4Run*);
60 
61  void CountEvent();
63  void AddEP(G4double,G4double);
64  void AddEdeps(G4double Eabs);
65  void AddTrackLength(G4double tlabs);
67  void AddnStepsNeutral(G4double ns);
68 
69  void AddTrRef(G4double tr,G4double ref);
70 
71  void FillEn(G4double En);
72  void FillTh(G4double Th);
73  void FillThBack(G4double Th);
74  void FillR(G4double R);
75  void FillTt(G4double Tt);
76  void FillTb(G4double Tt);
77  void FillTsec(G4double T);
79  void FillNbOfSteps(G4double nstep);
80  void Fillvertexz(G4double z);
81 
82  void SethistName(G4String name) ;
83 
84  void SetnbinStep(G4int nbin);
85  void SetSteplow(G4double Slow);
86  void SetStephigh(G4double Shigh);
87 
88  void SetnbinEn(G4int nbin);
89  void SetEnlow(G4double Elow);
91 
92  void SetnbinTt(G4int nbin);
93  void SetTtlow(G4double Ttlow);
95 
96  void SetnbinTb(G4int nbin);
97  void SetTblow(G4double Tblow);
99 
100  void SetnbinTsec(G4int nbin);
101  void SetTseclow(G4double Tlow);
102  void SetTsechigh(G4double Thigh);
103 
104  void SetnbinTh(G4int nbin);
105  void SetThlow(G4double Thlow);
106  void SetThhigh(G4double Thhigh);
107 
108  void SetnbinThBack(G4int nbin);
109  void SetThlowBack(G4double Thlow);
110  void SetThhighBack(G4double Thhigh);
111 
112  void SetnbinR(G4int nbin);
113  void SetRlow(G4double Rlow);
114  void SetRhigh(G4double Rhigh);
115 
116  void SetnbinGamma(G4int nbin);
117  void SetElowGamma(G4double Elow);
118  void SetEhighGamma(G4double Ehigh);
119 
120  void Setnbinzvertex(G4int nbin);
121  void Setzlow(G4double z);
122  void Setzhigh(G4double z);
123 
124  void SetRndmFreq(G4int val) {saveRndm = val;}
126 
127  private:
128 
129  void bookHisto();
130 
131  private:
132 
134 
142 
144 
178 
181 };
182 
183 #endif
184 
G4double nStepSumCharged
void Fillvertexz(G4double z)
void SetThhigh(G4double Thhigh)
G4double distvertexz[200]
G4double Sum2Charged
G4double entryThback
void SetEnhigh(G4double Enhigh)
void SetRndmFreq(G4int val)
void SethistName(G4String name)
G4double underTh
G4double TotNbofEvents
void SetnbinR(G4int nbin)
G4double Transmitted
G4double dEGamma
void SetTblow(G4double Tblow)
G4double entryGamma
G4double distTsec[200]
void SetnbinTh(G4int nbin)
void SetEhighGamma(G4double Ehigh)
G4double distTh[200]
G4double underEn
G4double entryTb
G4double z
Definition: TRTMaterials.hh:39
G4double overTsec
G4String name
Definition: TRTMaterials.hh:40
G4double distTt[200]
void SetnbinGamma(G4int nbin)
G4double Thlowback
void Setzlow(G4double z)
void FillTh(G4double Th)
G4double dThback
void SetnbinTt(G4int nbin)
G4double distEn[200]
G4double distStep[200]
void FillNbOfSteps(G4double nstep)
G4double overThback
G4double Stephigh
void FillThBack(G4double Th)
G4int GetRndmFreq()
G4double SumCharged
int G4int
Definition: G4Types.hh:78
void CountParticles(G4double, G4double)
void SetTtlow(G4double Ttlow)
G4double entryEn
void FillEn(G4double En)
void FillR(G4double R)
void Setzhigh(G4double z)
G4double overGamma
G4double distGamma[200]
void SetRlow(G4double Rlow)
G4double Selectron
void SetnbinTsec(G4int nbin)
G4double nStepSum2Neutral
G4double distThback[200]
G4double underStep
G4double EhighGamma
void SetTbhigh(G4double Tbhigh)
G4double undervertexz
void SetnbinEn(G4int nbin)
G4double tlSumAbs
G4double Sum2Neutral
G4double nStepSum2Charged
G4double distTb[200]
G4double ElowGamma
void BeginOfRunAction(const G4Run *)
void SetnbinTb(G4int nbin)
G4double distR[200]
G4String histName
void EndOfRunAction(const G4Run *)
void SetSteplow(G4double Slow)
void SetnbinStep(G4int nbin)
Definition: G4Run.hh:46
G4double oververtexz
G4double tlsquareSumAbs
void AddEdeps(G4double Eabs)
void FillTt(G4double Tt)
G4double underTsec
G4double entryvertexz
G4double Steplow
G4double Thhighback
G4double nStepSumNeutral
void SetnbinThBack(G4int nbin)
void SetEnlow(G4double Elow)
G4double entryTsec
G4double underThback
G4double entryTh
G4double entryTt
G4double Reflected
G4double SumNeutral
void SetTthigh(G4double Tthigh)
G4double Tseclow
G4double Tt2mean
G4double Spositron
G4double EnergySumAbs
void SetTseclow(G4double Tlow)
G4double underTt
Em10RunMessenger * runMessenger
void SetTsechigh(G4double Thigh)
void AddTrRef(G4double tr, G4double ref)
G4double entryStep
void FillTsec(G4double T)
void FillGammaSpectrum(G4double E)
void SetStephigh(G4double Shigh)
void AddnStepsNeutral(G4double ns)
void Setnbinzvertex(G4int nbin)
G4double underGamma
double G4double
Definition: G4Types.hh:76
G4double Tsechigh
void SetElowGamma(G4double Elow)
void SetThlowBack(G4double Thlow)
void AddnStepsCharged(G4double ns)
void AddTrackLength(G4double tlabs)
void AddEP(G4double, G4double)
#define ns
Definition: xmlparse.cc:614
G4double Tb2mean
void FillTb(G4double Tt)
G4double overStep
G4double EnergySquareSumAbs
void SetRhigh(G4double Rhigh)
G4double underTb
void SetThhighBack(G4double Thhigh)
void SetThlow(G4double Thlow)