ACTARSim
ACTAR TPC Simulation Reference Guide
Public Member Functions | Private Attributes | List of all members
ActarSimSimpleTrack Class Reference

A track simplified structure to reduce the space consumption while keeping most of the information. The (huge amount of) GEANT steps are here reduced to few "strides"

Definition at line 16 of file ActarSimSimpleTrack.hh.

Public Member Functions

 ActarSimSimpleTrack ()
 
 ~ActarSimSimpleTrack ()
 Destructor. Makes nothing. More...
 
void Reset (void)
 Clearing to defaults. More...
 
ActarSimSimpleTrackoperator= (const ActarSimSimpleTrack &right)
 Overloading the copy operator... More...
 
Double_t GetXPre ()
 
Double_t GetYPre ()
 
Double_t GetZPre ()
 
Double_t GetXPost ()
 
Double_t GetYPost ()
 
Double_t GetZPost ()
 
Double_t GetEnergyStride ()
 
Double_t GetParticleCharge ()
 
Double_t GetParticleMass ()
 
Int_t GetParticleID ()
 
Double_t GetStrideLength ()
 
Double_t GetParticleEnergy ()
 
Double_t GetTimePre ()
 
Double_t GetTimePost ()
 
Int_t GetNumberSteps ()
 
Int_t GetStrideOrdinal ()
 
Int_t GetTrackID ()
 
Int_t GetParentTrackID ()
 
Int_t GetEventID ()
 
Int_t GetRunID ()
 
void SetXPre (Double_t xc)
 
void SetYPre (Double_t yc)
 
void SetZPre (Double_t zc)
 
void SetXPost (Double_t xc)
 
void SetYPost (Double_t yc)
 
void SetZPost (Double_t zc)
 
void SetEnergyStride (Double_t energy)
 
void SetParticleCharge (Double_t parcha)
 
void SetParticleMass (Double_t pm)
 
void SetParticleID (Int_t piD)
 
void SetStrideLength (Double_t len)
 
void SetParticleEnergy (Double_t penergy)
 
void SetTimePre (Double_t te)
 
void SetTimePost (Double_t te)
 
void SetNumberSteps (Int_t num)
 
void SetStrideOrdinal (Int_t num)
 
void SetTrackID (Int_t track)
 
void SetParentTrackID (Int_t pt)
 
void SetEventID (Int_t ev)
 
void SetRunID (Int_t ev)
 

Private Attributes

Double_t xPre
 Coordinate X of the preStepPoint for the first step in the stride. More...
 
Double_t yPre
 Coordinate Y of the preStepPoint for the first step in the stride. More...
 
Double_t zPre
 Coordinate Z of the preStepPoint for the first step in the stride. More...
 
Double_t xPost
 Coordinate X of the postStepPoint for the last step in the stride. More...
 
Double_t yPost
 Coordinate Y of the postStepPoint for the last step in the stride. More...
 
Double_t zPost
 Coordinate Z of the postStepPoint for the last step in the stride. More...
 
Double_t energyStride
 Total energy on the stride (sum over all steps) More...
 
Double_t particleCharge
 Particle charge. More...
 
Double_t particleMass
 Particle mass. More...
 
Int_t particleID
 Particle ID. More...
 
Double_t strideLength
 Stride length (sum over all steps length) More...
 
Double_t particleEnergy
 Particle energy before the step and thus before the stride. More...
 
Double_t timePre
 Time of preStepPoint for the first step in the stride. More...
 
Double_t timePost
 Time of postStepPoint for the last step in the stride. More...
 
Int_t numberSteps
 Number of steps in the stride. More...
 
Int_t strideOrdinal
 Stride order. More...
 
Int_t parentTrackID
 Parent Track ID. More...
 
Int_t trackID
 Track ID. More...
 
Int_t eventID
 Event ID. More...
 
Int_t runID
 Run ID. More...
 

#include <ActarSimSimpleTrack.hh>

+ Inheritance diagram for ActarSimSimpleTrack:
+ Collaboration diagram for ActarSimSimpleTrack:

Constructor & Destructor Documentation

ActarSimSimpleTrack::ActarSimSimpleTrack ( )
ActarSimSimpleTrack::~ActarSimSimpleTrack ( )

Destructor. Makes nothing.

Definition at line 43 of file ActarSimSimpleTrack.cc.

Member Function Documentation

Double_t ActarSimSimpleTrack::GetEnergyStride ( )
inline
Int_t ActarSimSimpleTrack::GetEventID ( )
inline
Int_t ActarSimSimpleTrack::GetNumberSteps ( )
inline

Definition at line 66 of file ActarSimSimpleTrack.hh.

Int_t ActarSimSimpleTrack::GetParentTrackID ( )
inline

Definition at line 69 of file ActarSimSimpleTrack.hh.

Double_t ActarSimSimpleTrack::GetParticleCharge ( )
inline

Definition at line 59 of file ActarSimSimpleTrack.hh.

Double_t ActarSimSimpleTrack::GetParticleEnergy ( )
inline

Definition at line 63 of file ActarSimSimpleTrack.hh.

Int_t ActarSimSimpleTrack::GetParticleID ( )
inline

Definition at line 61 of file ActarSimSimpleTrack.hh.

Double_t ActarSimSimpleTrack::GetParticleMass ( )
inline

Definition at line 60 of file ActarSimSimpleTrack.hh.

Int_t ActarSimSimpleTrack::GetRunID ( )
inline
Double_t ActarSimSimpleTrack::GetStrideLength ( )
inline

Definition at line 62 of file ActarSimSimpleTrack.hh.

Referenced by driftManager::CalculatePadsWithCharge().

Int_t ActarSimSimpleTrack::GetStrideOrdinal ( )
inline

Definition at line 67 of file ActarSimSimpleTrack.hh.

Double_t ActarSimSimpleTrack::GetTimePost ( )
inline

Definition at line 65 of file ActarSimSimpleTrack.hh.

Referenced by driftManager::CalculatePositionAfterDrift().

Double_t ActarSimSimpleTrack::GetTimePre ( )
inline

Definition at line 64 of file ActarSimSimpleTrack.hh.

Referenced by driftManager::CalculatePositionAfterDrift().

Int_t ActarSimSimpleTrack::GetTrackID ( )
inline

Definition at line 68 of file ActarSimSimpleTrack.hh.

Double_t ActarSimSimpleTrack::GetXPost ( )
inline

Definition at line 54 of file ActarSimSimpleTrack.hh.

Referenced by driftManager::CalculatePositionAfterDrift().

Double_t ActarSimSimpleTrack::GetXPre ( )
inline

Definition at line 51 of file ActarSimSimpleTrack.hh.

Referenced by driftManager::CalculatePositionAfterDrift().

Double_t ActarSimSimpleTrack::GetYPost ( )
inline

Definition at line 55 of file ActarSimSimpleTrack.hh.

Referenced by driftManager::CalculatePositionAfterDrift().

Double_t ActarSimSimpleTrack::GetYPre ( )
inline

Definition at line 52 of file ActarSimSimpleTrack.hh.

Referenced by driftManager::CalculatePositionAfterDrift().

Double_t ActarSimSimpleTrack::GetZPost ( )
inline

Definition at line 56 of file ActarSimSimpleTrack.hh.

Referenced by driftManager::CalculatePositionAfterDrift().

Double_t ActarSimSimpleTrack::GetZPre ( )
inline

Definition at line 53 of file ActarSimSimpleTrack.hh.

Referenced by driftManager::CalculatePositionAfterDrift().

ActarSimSimpleTrack & ActarSimSimpleTrack::operator= ( const ActarSimSimpleTrack right)

Overloading the copy operator...

Definition at line 73 of file ActarSimSimpleTrack.cc.

void ActarSimSimpleTrack::Reset ( void  )

Clearing to defaults.

Definition at line 48 of file ActarSimSimpleTrack.cc.

Referenced by ActarSimROOTAnalGas::EndOfEventAction().

void ActarSimSimpleTrack::SetEnergyStride ( Double_t  energy)
inline

Definition at line 79 of file ActarSimSimpleTrack.hh.

Referenced by ActarSimROOTAnalGas::EndOfEventAction().

void ActarSimSimpleTrack::SetEventID ( Int_t  ev)
inline

Definition at line 91 of file ActarSimSimpleTrack.hh.

Referenced by ActarSimROOTAnalGas::EndOfEventAction().

void ActarSimSimpleTrack::SetNumberSteps ( Int_t  num)
inline

Definition at line 87 of file ActarSimSimpleTrack.hh.

Referenced by ActarSimROOTAnalGas::EndOfEventAction().

void ActarSimSimpleTrack::SetParentTrackID ( Int_t  pt)
inline

Definition at line 90 of file ActarSimSimpleTrack.hh.

Referenced by ActarSimROOTAnalGas::EndOfEventAction().

void ActarSimSimpleTrack::SetParticleCharge ( Double_t  parcha)
inline

Definition at line 80 of file ActarSimSimpleTrack.hh.

Referenced by ActarSimROOTAnalGas::EndOfEventAction().

void ActarSimSimpleTrack::SetParticleEnergy ( Double_t  penergy)
inline

Definition at line 84 of file ActarSimSimpleTrack.hh.

Referenced by ActarSimROOTAnalGas::EndOfEventAction().

void ActarSimSimpleTrack::SetParticleID ( Int_t  piD)
inline

Definition at line 82 of file ActarSimSimpleTrack.hh.

Referenced by ActarSimROOTAnalGas::EndOfEventAction().

void ActarSimSimpleTrack::SetParticleMass ( Double_t  pm)
inline

Definition at line 81 of file ActarSimSimpleTrack.hh.

Referenced by ActarSimROOTAnalGas::EndOfEventAction().

void ActarSimSimpleTrack::SetRunID ( Int_t  ev)
inline

Definition at line 92 of file ActarSimSimpleTrack.hh.

Referenced by ActarSimROOTAnalGas::EndOfEventAction().

void ActarSimSimpleTrack::SetStrideLength ( Double_t  len)
inline

Definition at line 83 of file ActarSimSimpleTrack.hh.

Referenced by ActarSimROOTAnalGas::EndOfEventAction().

void ActarSimSimpleTrack::SetStrideOrdinal ( Int_t  num)
inline

Definition at line 88 of file ActarSimSimpleTrack.hh.

Referenced by ActarSimROOTAnalGas::EndOfEventAction().

void ActarSimSimpleTrack::SetTimePost ( Double_t  te)
inline

Definition at line 86 of file ActarSimSimpleTrack.hh.

Referenced by ActarSimROOTAnalGas::EndOfEventAction().

void ActarSimSimpleTrack::SetTimePre ( Double_t  te)
inline

Definition at line 85 of file ActarSimSimpleTrack.hh.

Referenced by ActarSimROOTAnalGas::EndOfEventAction().

void ActarSimSimpleTrack::SetTrackID ( Int_t  track)
inline

Definition at line 89 of file ActarSimSimpleTrack.hh.

Referenced by ActarSimROOTAnalGas::EndOfEventAction().

void ActarSimSimpleTrack::SetXPost ( Double_t  xc)
inline

Definition at line 76 of file ActarSimSimpleTrack.hh.

Referenced by ActarSimROOTAnalGas::EndOfEventAction().

void ActarSimSimpleTrack::SetXPre ( Double_t  xc)
inline

Definition at line 73 of file ActarSimSimpleTrack.hh.

Referenced by ActarSimROOTAnalGas::EndOfEventAction().

void ActarSimSimpleTrack::SetYPost ( Double_t  yc)
inline
void ActarSimSimpleTrack::SetYPre ( Double_t  yc)
inline
void ActarSimSimpleTrack::SetZPost ( Double_t  zc)
inline
void ActarSimSimpleTrack::SetZPre ( Double_t  zc)
inline

Member Data Documentation

Double_t ActarSimSimpleTrack::energyStride
private

Total energy on the stride (sum over all steps)

Definition at line 24 of file ActarSimSimpleTrack.hh.

Referenced by GetEnergyStride(), operator=(), and Reset().

Int_t ActarSimSimpleTrack::eventID
private

Event ID.

Definition at line 40 of file ActarSimSimpleTrack.hh.

Referenced by GetEventID(), operator=(), and Reset().

Int_t ActarSimSimpleTrack::numberSteps
private

Number of steps in the stride.

Definition at line 32 of file ActarSimSimpleTrack.hh.

Referenced by GetNumberSteps(), operator=(), and Reset().

Int_t ActarSimSimpleTrack::parentTrackID
private

Parent Track ID.

Definition at line 34 of file ActarSimSimpleTrack.hh.

Referenced by GetParentTrackID(), operator=(), and Reset().

Double_t ActarSimSimpleTrack::particleCharge
private

Particle charge.

Definition at line 25 of file ActarSimSimpleTrack.hh.

Referenced by GetParticleCharge(), operator=(), and Reset().

Double_t ActarSimSimpleTrack::particleEnergy
private

Particle energy before the step and thus before the stride.

Definition at line 29 of file ActarSimSimpleTrack.hh.

Referenced by GetParticleEnergy(), operator=(), and Reset().

Int_t ActarSimSimpleTrack::particleID
private

Particle ID.

Definition at line 27 of file ActarSimSimpleTrack.hh.

Referenced by GetParticleID(), operator=(), and Reset().

Double_t ActarSimSimpleTrack::particleMass
private

Particle mass.

Definition at line 26 of file ActarSimSimpleTrack.hh.

Referenced by GetParticleMass(), operator=(), and Reset().

Int_t ActarSimSimpleTrack::runID
private

Run ID.

Definition at line 41 of file ActarSimSimpleTrack.hh.

Referenced by GetRunID(), operator=(), and Reset().

Double_t ActarSimSimpleTrack::strideLength
private

Stride length (sum over all steps length)

Definition at line 28 of file ActarSimSimpleTrack.hh.

Referenced by GetStrideLength(), operator=(), and Reset().

Int_t ActarSimSimpleTrack::strideOrdinal
private

Stride order.

Definition at line 33 of file ActarSimSimpleTrack.hh.

Referenced by GetStrideOrdinal(), operator=(), and Reset().

Double_t ActarSimSimpleTrack::timePost
private

Time of postStepPoint for the last step in the stride.

Definition at line 31 of file ActarSimSimpleTrack.hh.

Referenced by GetTimePost(), operator=(), and Reset().

Double_t ActarSimSimpleTrack::timePre
private

Time of preStepPoint for the first step in the stride.

Definition at line 30 of file ActarSimSimpleTrack.hh.

Referenced by GetTimePre(), operator=(), and Reset().

Int_t ActarSimSimpleTrack::trackID
private

Track ID.

Definition at line 39 of file ActarSimSimpleTrack.hh.

Referenced by GetTrackID(), operator=(), and Reset().

Double_t ActarSimSimpleTrack::xPost
private

Coordinate X of the postStepPoint for the last step in the stride.

Definition at line 21 of file ActarSimSimpleTrack.hh.

Referenced by GetXPost(), operator=(), and Reset().

Double_t ActarSimSimpleTrack::xPre
private

Coordinate X of the preStepPoint for the first step in the stride.

Definition at line 18 of file ActarSimSimpleTrack.hh.

Referenced by GetXPre(), operator=(), and Reset().

Double_t ActarSimSimpleTrack::yPost
private

Coordinate Y of the postStepPoint for the last step in the stride.

Definition at line 22 of file ActarSimSimpleTrack.hh.

Referenced by GetYPost(), operator=(), and Reset().

Double_t ActarSimSimpleTrack::yPre
private

Coordinate Y of the preStepPoint for the first step in the stride.

Definition at line 19 of file ActarSimSimpleTrack.hh.

Referenced by GetYPre(), operator=(), and Reset().

Double_t ActarSimSimpleTrack::zPost
private

Coordinate Z of the postStepPoint for the last step in the stride.

Definition at line 23 of file ActarSimSimpleTrack.hh.

Referenced by GetZPost(), operator=(), and Reset().

Double_t ActarSimSimpleTrack::zPre
private

Coordinate Z of the preStepPoint for the first step in the stride.

Definition at line 20 of file ActarSimSimpleTrack.hh.

Referenced by GetZPre(), operator=(), and Reset().


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