Public Types | Public Member Functions | Public Attributes | Friends | List of all members
TG4HitSegment Class Reference

#include <TG4HitSegment.h>

Inheritance diagram for TG4HitSegment:

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
 

Detailed Description

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.

Member Typedef Documentation

Definition at line 31 of file TG4HitSegment.h.

Constructor & Destructor Documentation

TG4HitSegment::TG4HitSegment ( )
inline

Definition at line 33 of file TG4HitSegment.h.

35  TrackLength(0), Start(0,0,0,0), Stop(0,0,0,0) {}
Float_t TrackLength
TLorentzVector Stop
The stopping position of the segment.
Float_t EnergyDeposit
The total energy deposit in this hit.
Definition: TG4HitSegment.h:90
Float_t SecondaryDeposit
TLorentzVector Start
The starting position of the segment.
virtual TG4HitSegment::~TG4HitSegment ( )
virtual

Member Function Documentation

TG4HitSegment::ClassDef ( TG4HitSegment  ,
 
)
double TG4HitSegment::GetEnergyDeposit ( ) const
inline

The total energy deposit in this hit.

Definition at line 43 of file TG4HitSegment.h.

43 {return EnergyDeposit;}
Float_t EnergyDeposit
The total energy deposit in this hit.
Definition: TG4HitSegment.h:90
int TG4HitSegment::GetPrimaryId ( ) const
inline

The track id of the most important particle associated with this hit segment.

Definition at line 40 of file TG4HitSegment.h.

40 {return PrimaryId;}
double TG4HitSegment::GetSecondaryDeposit ( ) const
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.

54 {return SecondaryDeposit;}
Float_t SecondaryDeposit
const TLorentzVector& TG4HitSegment::GetStart ( ) const
inline

The starting position of the segment.

Definition at line 62 of file TG4HitSegment.h.

62 {return Start;}
TLorentzVector Start
The starting position of the segment.
const TLorentzVector& TG4HitSegment::GetStop ( ) const
inline

The stopping position of the segment.

Definition at line 65 of file TG4HitSegment.h.

65 {return Stop;}
TLorentzVector Stop
The stopping position of the segment.
double TG4HitSegment::GetTrackLength ( ) const
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.

59 {return TrackLength;}
Float_t TrackLength

Friends And Related Function Documentation

friend class EDepSim::PersistencyManager
friend

Definition at line 29 of file TG4HitSegment.h.

Member Data Documentation

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.


The documentation for this class was generated from the following file: