GGS(GenericGEANT4Simulation)Software  2.6.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
GGSTLostEnergyInfo.h
1 /*
2  * GGSTLostEnergyInfo.h
3  *
4  * Created on: 16 Jun 2011
5  * Author: Nicola Mori
6  */
7 
8 #ifndef GGSTLOSTENERGYINFO_H_
9 #define GGSTLOSTENERGYINFO_H_
10 
11 #include "TObject.h"
12 #include "TString.h"
13 
23 class GGSTLostEnergyInfo: public TObject {
24 
25 public:
26 
29 
31  Float_t chargedTop;
33  Float_t chargedBottom;
35  Float_t chargedRight;
37  Float_t chargedLeft;
39  Float_t chargedFront;
41  Float_t chargedBack;
42 
44  Float_t neutralTop;
46  Float_t neutralBottom;
48  Float_t neutralRight;
50  Float_t neutralLeft;
52  Float_t neutralFront;
54  Float_t neutralBack;
55 
57  UInt_t nCharged;
59  UInt_t nNeutrals;
60 
62  Int_t energyType;
63 
65  void Reset();
66 
71  Float_t GetTotal() const;
72 
77  Float_t GetTotalCharged() const;
78 
83  Float_t GetTotalNeutral() const;
84 
85 ClassDef(GGSTLostEnergyInfo,2)
86 
87 };
88 
89 #endif /* GGSTLOSTENERGYINFO_H_ */
void Reset()
Resets all the members.
Float_t chargedRight
Energy lost due to charged particles escaping the world volume from right (positive Y)...
A simple class to carry informations about lost energy.
Float_t GetTotalCharged() const
Get the total lost energy due to escaping charged particles.
Float_t GetTotal() const
Get the total lost energy.
Float_t neutralBack
Energy lost due to neutral particles escaping the world volume from back (negative X)...
Float_t neutralBottom
Energy lost due to neutral particles escaping the world volume from bottom (negative Z)...
Int_t energyType
Type of lost energy: 0 = total, 1 = kinetic.
Float_t chargedLeft
Energy lost due to charged particles escaping the world volume from left (negative Y)...
Float_t neutralRight
Energy lost due to neutral particles escaping the world volume from right (positive Y)...
Float_t neutralTop
Energy lost due to neutral particles escaping the world volume from top (positive Z)...
GGSTLostEnergyInfo()
Constructor.
Float_t chargedBack
Energy lost due to charged particles escaping the world volume from back (negative X)...
UInt_t nCharged
Total number of escaped charged particles.
Float_t GetTotalNeutral() const
Get the total lost energy due to escaping neutral particles.
Float_t chargedFront
Energy lost due to charged particles escaping the world volume from front (positive X)...
Float_t neutralLeft
Energy lost due to neutral particles escaping the world volume from left (negative Y)...
Float_t chargedBottom
Energy lost due to charged particles escaping the world volume from bottom (negative Z)...
Float_t chargedTop
Energy lost due to charged particles escaping the world volume from top (positive Z)...
Float_t neutralFront
Energy lost due to neutral particles escaping the world volume from front (positive X)...
UInt_t nNeutrals
Total number of escaped neutral particles.