LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
sim::AuxDetIDE Class Reference

MC truth information to make RawDigits and do back tracking. More...

#include "AuxDetSimChannel.h"

Public Member Functions

 AuxDetIDE ()
 
 AuxDetIDE (AuxDetIDE const &, int)
 
bool operator< (const AuxDetIDE &other) const
 
bool operator== (const AuxDetIDE &other) const
 

Public Attributes

int trackID
 Geant4 supplied track ID. More...
 
float energyDeposited
 total energy deposited for this track ID and time More...
 
float entryX
 Entry position X of particle. More...
 
float entryY
 Entry position Y of particle. More...
 
float entryZ
 Entry position Z of particle. More...
 
float entryT
 Entry time of particle. More...
 
float exitX
 Exit position X of particle. More...
 
float exitY
 Exit position Y of particle. More...
 
float exitZ
 Exit position Z of particle. More...
 
float exitT
 Exit time of particle. More...
 
float exitMomentumX
 Exit X-Momentum of particle. More...
 
float exitMomentumY
 Exit Y-Momentum of particle. More...
 
float exitMomentumZ
 Exit Z-Momentum of particle. More...
 

Detailed Description

MC truth information to make RawDigits and do back tracking.

This structure describes the true position of momentum of a MC particle entering and exiting a scintillator cell (channel) of an auxiliary scintillator detector.

Definition at line 27 of file AuxDetSimChannel.h.

Constructor & Destructor Documentation

sim::AuxDetIDE::AuxDetIDE ( )

Definition at line 23 of file AuxDetSimChannel.cxx.

37  {}
int trackID
Geant4 supplied track ID.
float exitMomentumZ
Exit Z-Momentum of particle.
constexpr int kBogusI
obviously bogus integer value
float exitY
Exit position Y of particle.
float entryT
Entry time of particle.
float exitMomentumX
Exit X-Momentum of particle.
float exitT
Exit time of particle.
float exitZ
Exit position Z of particle.
float entryZ
Entry position Z of particle.
float exitX
Exit position X of particle.
float energyDeposited
total energy deposited for this track ID and time
constexpr float kBogusF
obviously bogus float value
float entryX
Entry position X of particle.
float entryY
Entry position Y of particle.
float exitMomentumY
Exit Y-Momentum of particle.
sim::AuxDetIDE::AuxDetIDE ( AuxDetIDE const &  ide,
int  offset 
)

Definition at line 41 of file AuxDetSimChannel.cxx.

42  : trackID(ide.trackID >= 0 ? ide.trackID + offset : ide.trackID - offset)
43  , energyDeposited(ide.energyDeposited)
44  , entryX(ide.entryX)
45  , entryY(ide.entryY)
46  , entryZ(ide.entryZ)
47  , entryT(ide.entryT)
48  , exitX(ide.exitX)
49  , exitY(ide.exitY)
50  , exitZ(ide.exitZ)
51  , exitT(ide.exitT)
52  , exitMomentumX(ide.exitMomentumX)
53  , exitMomentumY(ide.exitMomentumY)
54  , exitMomentumZ(ide.exitMomentumZ)
55  {}
int trackID
Geant4 supplied track ID.
float exitMomentumZ
Exit Z-Momentum of particle.
float exitY
Exit position Y of particle.
float entryT
Entry time of particle.
float exitMomentumX
Exit X-Momentum of particle.
float exitT
Exit time of particle.
float exitZ
Exit position Z of particle.
float entryZ
Entry position Z of particle.
float exitX
Exit position X of particle.
float energyDeposited
total energy deposited for this track ID and time
float entryX
Entry position X of particle.
float entryY
Entry position Y of particle.
float exitMomentumY
Exit Y-Momentum of particle.

Member Function Documentation

bool sim::AuxDetIDE::operator< ( const AuxDetIDE other) const
inline

Definition at line 103 of file AuxDetSimChannel.h.

References trackID.

104 {
105  return trackID < other.trackID;
106 }
int trackID
Geant4 supplied track ID.
bool sim::AuxDetIDE::operator== ( const AuxDetIDE other) const
inline

Definition at line 107 of file AuxDetSimChannel.h.

References trackID.

108 {
109  return other.trackID == trackID;
110 }
int trackID
Geant4 supplied track ID.

Member Data Documentation

float sim::AuxDetIDE::energyDeposited

total energy deposited for this track ID and time

Definition at line 36 of file AuxDetSimChannel.h.

Referenced by larg4::AuxDetReadout::AddParticleStep(), and sim::GenericCRTUtility::toAuxDetIDE().

float sim::AuxDetIDE::entryT

Entry time of particle.

Definition at line 40 of file AuxDetSimChannel.h.

Referenced by larg4::AuxDetReadout::AddParticleStep(), and sim::GenericCRTUtility::toAuxDetIDE().

float sim::AuxDetIDE::entryX

Entry position X of particle.

Definition at line 37 of file AuxDetSimChannel.h.

Referenced by larg4::AuxDetReadout::AddParticleStep(), and sim::GenericCRTUtility::toAuxDetIDE().

float sim::AuxDetIDE::entryY

Entry position Y of particle.

Definition at line 38 of file AuxDetSimChannel.h.

Referenced by larg4::AuxDetReadout::AddParticleStep(), and sim::GenericCRTUtility::toAuxDetIDE().

float sim::AuxDetIDE::entryZ

Entry position Z of particle.

Definition at line 39 of file AuxDetSimChannel.h.

Referenced by larg4::AuxDetReadout::AddParticleStep(), and sim::GenericCRTUtility::toAuxDetIDE().

float sim::AuxDetIDE::exitMomentumX

Exit X-Momentum of particle.

Definition at line 45 of file AuxDetSimChannel.h.

Referenced by larg4::AuxDetReadout::AddParticleStep(), and sim::GenericCRTUtility::toAuxDetIDE().

float sim::AuxDetIDE::exitMomentumY

Exit Y-Momentum of particle.

Definition at line 46 of file AuxDetSimChannel.h.

Referenced by larg4::AuxDetReadout::AddParticleStep(), and sim::GenericCRTUtility::toAuxDetIDE().

float sim::AuxDetIDE::exitMomentumZ

Exit Z-Momentum of particle.

Definition at line 47 of file AuxDetSimChannel.h.

Referenced by larg4::AuxDetReadout::AddParticleStep(), and sim::GenericCRTUtility::toAuxDetIDE().

float sim::AuxDetIDE::exitT

Exit time of particle.

Definition at line 44 of file AuxDetSimChannel.h.

Referenced by larg4::AuxDetReadout::AddParticleStep(), and sim::GenericCRTUtility::toAuxDetIDE().

float sim::AuxDetIDE::exitX

Exit position X of particle.

Definition at line 41 of file AuxDetSimChannel.h.

Referenced by larg4::AuxDetReadout::AddParticleStep(), and sim::GenericCRTUtility::toAuxDetIDE().

float sim::AuxDetIDE::exitY

Exit position Y of particle.

Definition at line 42 of file AuxDetSimChannel.h.

Referenced by larg4::AuxDetReadout::AddParticleStep(), and sim::GenericCRTUtility::toAuxDetIDE().

float sim::AuxDetIDE::exitZ

Exit position Z of particle.

Definition at line 43 of file AuxDetSimChannel.h.

Referenced by larg4::AuxDetReadout::AddParticleStep(), and sim::GenericCRTUtility::toAuxDetIDE().

int sim::AuxDetIDE::trackID

Geant4 supplied track ID.

Definition at line 35 of file AuxDetSimChannel.h.

Referenced by larg4::AuxDetReadout::AddParticleStep(), operator<(), operator==(), and sim::GenericCRTUtility::toAuxDetIDE().


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