#include <TG4HitSegment.h>
Public Types | |
typedef std::vector< Int_t > | Contributors |
Public Member Functions | |
TG4HitSegment () | |
virtual | ~TG4HitSegment () |
int | GetPrimaryId () const |
double | GetEnergyDeposit () const |
The total energy deposit in this hit. More... | |
double | GetSecondaryDeposit () const |
double | GetTrackLength () const |
const TLorentzVector & | GetStart () const |
The starting position of the segment. More... | |
const TLorentzVector & | GetStop () const |
The stopping position of the segment. More... | |
ClassDef (TG4HitSegment, 1) | |
Public Attributes | |
Contributors | Contrib |
Int_t | PrimaryId |
Float_t | EnergyDeposit |
The total energy deposit in this hit. More... | |
Float_t | SecondaryDeposit |
Float_t | TrackLength |
TLorentzVector | Start |
The starting position of the segment. More... | |
TLorentzVector | Stop |
The stopping position of the segment. More... | |
Friends | |
class | EDepSim::PersistencyManager |
Save the amount and location of energy deposition. It contains the global position of the starting point and stopping point of the track segment that created the hit. The energy should be assumed to be deposited uniformly between the two points (the length of the segment can, and should, be limited in G4, so that shouldn't be a bad assumption). Both the total and secondary energy deposition is saved. The definition of the secondary energy depends on the configuration of the simulation, but generally, it refers to the amount of energy going into scintillation.
Definition at line 28 of file TG4HitSegment.h.
typedef std::vector<Int_t> TG4HitSegment::Contributors |
Definition at line 31 of file TG4HitSegment.h.
|
inline |
Definition at line 33 of file TG4HitSegment.h.
|
virtual |
TG4HitSegment::ClassDef | ( | TG4HitSegment | , |
1 | |||
) |
|
inline |
The total energy deposit in this hit.
Definition at line 43 of file TG4HitSegment.h.
|
inline |
The track id of the most important particle associated with this hit segment.
Definition at line 40 of file TG4HitSegment.h.
|
inline |
The "secondary" energy deposit in this hit. Generally, this is used to help simulate the amount of energy emitted as scintillation light, i.e. opticalphotons, and is part of the total energy deposit. The remaining energy will be deposited as ionization. In this model (in argon), the mean number of quanta created will be <N_q> = (fEnergyDeposit)/(19.5*eV), N_q should be fluctuated around <N_q>, N_ph = N_q*fSecondaryDeposit/fEnergyDeposit, and N_e = N_q - N_ph. Thd fSecondaryDeposit value already includes the binomial fluctuation, so don't fluctuate N_ph or N_e.
Definition at line 54 of file TG4HitSegment.h.
|
inline |
The starting position of the segment.
Definition at line 62 of file TG4HitSegment.h.
|
inline |
The stopping position of the segment.
Definition at line 65 of file TG4HitSegment.h.
|
inline |
The total charged track length in this hit. This includes the contribution from all of the secondary particles (e.g. delta-rays) that are included in this hit.
Definition at line 59 of file TG4HitSegment.h.
|
friend |
Definition at line 29 of file TG4HitSegment.h.
Contributors TG4HitSegment::Contrib |
The TrackId for each trajectory that contributed to this hit. This could contain the TrackId of the primary particle, but not necessarily.
Definition at line 70 of file TG4HitSegment.h.
Float_t TG4HitSegment::EnergyDeposit |
The total energy deposit in this hit.
Definition at line 90 of file TG4HitSegment.h.
Int_t TG4HitSegment::PrimaryId |
The track id of the most important particle associated with this hit segment.
Definition at line 87 of file TG4HitSegment.h.
Float_t TG4HitSegment::SecondaryDeposit |
The "secondary" energy deposit in this hit. Generally, this is used to help simulate the amount of energy emitted as scintillation light, i.e. opticalphotons, and is part of the total energy deposit. The remaining energy will be deposited as ionization. In this model (in argon), the mean number of quanta created will be <N_q> = (fEnergyDeposit)/(19.5*eV), N_q should be fluctuated around <N_q>, N_ph = N_q*fSecondaryDeposit/fEnergyDeposit, and N_e = N_q - N_ph. Thd fSecondaryDeposit value already includes the binomial fluctuation, so don't fluctuate N_ph or N_e.
Definition at line 101 of file TG4HitSegment.h.
TLorentzVector TG4HitSegment::Start |
The starting position of the segment.
Definition at line 109 of file TG4HitSegment.h.
TLorentzVector TG4HitSegment::Stop |
The stopping position of the segment.
Definition at line 112 of file TG4HitSegment.h.
Float_t TG4HitSegment::TrackLength |
The total charged track length in this hit. This includes the contribution from all of the secondary particles (e.g. delta-rays) that are included in this hit.
Definition at line 106 of file TG4HitSegment.h.