GGS(GenericGEANT4Simulation)Software  2.7.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:
28 
30  Float_t chargedTop;
32  Float_t chargedBottom;
34  Float_t chargedRight;
36  Float_t chargedLeft;
38  Float_t chargedFront;
40  Float_t chargedBack;
41 
43  Float_t neutralTop;
45  Float_t neutralBottom;
47  Float_t neutralRight;
49  Float_t neutralLeft;
51  Float_t neutralFront;
53  Float_t neutralBack;
54 
56  UInt_t nCharged;
58  UInt_t nNeutrals;
59 
61  Int_t energyType;
62 
64  void Reset();
65 
70  Float_t GetTotal() const;
71 
76  Float_t GetTotalCharged() const;
77 
82  Float_t GetTotalNeutral() const;
83 
84  ClassDef(GGSTLostEnergyInfo, 2)
85 };
86 
87 #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.