GGS(GenericGEANT4Simulation)Software  2.6.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
GGSTLostEnergyInfo.cpp
Go to the documentation of this file.
1 /*
2  * GGSTLostEnergyInfo.cpp
3  *
4  * Created on: 16 Jun 2011
5  * Author: Nicola Mori
6  */
7 
10 #include "montecarlo/dataobjs/GGSTLostEnergyInfo.h"
11 
12 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
13 
14 ClassImp(GGSTLostEnergyInfo)
15 
16 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
17 
19 }
20 
21 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
22 
24  chargedTop = 0.;
25  chargedBottom = 0.;
26  chargedLeft = 0.;
27  chargedRight = 0.;
28  chargedFront = 0.;
29  chargedBack = 0.;
30 
31  neutralTop = 0.;
32  neutralBottom = 0.;
33  neutralLeft = 0.;
34  neutralRight = 0.;
35  neutralFront = 0.;
36  neutralBack = 0.;
37 
38  nCharged = 0;
39  nNeutrals = 0;
40 }
41 
42 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
44  return GetTotalCharged() + GetTotalNeutral();
45 }
46 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
49 }
50 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
53 }
54 
55 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
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)...
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)...
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.