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

#include "AuxDetHit.h"

Public Member Functions

 AuxDetHit ()
 
bool operator< (const AuxDetHit &other) const
 
bool operator== (const AuxDetHit &other) const
 
 AuxDetHit (unsigned int ID, unsigned int trackID, float energyDeposited, float entryX, float entryY, float entryZ, float entryT, float exitX, float exitY, float exitZ, float exitT, float exitMomentumX, float exitMomentumY, float exitMomentumZ)
 
void SetExitMomentumZ (float exitMomentumZ)
 
float GetExitMomentumZ () const
 
void SetExitMomentumY (float exitMomentumY)
 
float GetExitMomentumY () const
 
void SetExitMomentumX (float exitMomentumX)
 
float GetExitMomentumX () const
 
void SetExitT (float exitT)
 
float GetExitT () const
 
void SetExitZ (float exitZ)
 
float GetExitZ () const
 
void SetExitY (float exitY)
 
float GetExitY () const
 
void SetExitX (float exitX)
 
float GetExitX () const
 
void SetEntryT (float entryT)
 
float GetEntryT () const
 
void SetEntryZ (float entryZ)
 
float GetEntryZ () const
 
void SetEntryY (float entryY)
 
float GetEntryY () const
 
void SetEntryX (float entryX)
 
float GetEntryX () const
 
void SetEnergyDeposited (float energyDeposited)
 
float GetEnergyDeposited () const
 
void SetTrackID (unsigned int trackID)
 
unsigned int GetTrackID () const
 
void SetID (unsigned int ID)
 
unsigned int GetID () const
 

Private Attributes

unsigned int ID
 Geant4 copy ID. More...
 
unsigned 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

Definition at line 15 of file AuxDetHit.h.

Constructor & Destructor Documentation

sim::AuxDetHit::AuxDetHit ( )
inline

Definition at line 34 of file AuxDetHit.h.

References operator<(), operator==(), and fhicl::other.

34 {}
sim::AuxDetHit::AuxDetHit ( unsigned int  ID,
unsigned int  trackID,
float  energyDeposited,
float  entryX,
float  entryY,
float  entryZ,
float  entryT,
float  exitX,
float  exitY,
float  exitZ,
float  exitT,
float  exitMomentumX,
float  exitMomentumY,
float  exitMomentumZ 
)
inline

Definition at line 39 of file AuxDetHit.h.

53  : ID(ID)
54  , trackID(trackID)
56  , entryX(entryX)
57  , entryY(entryY)
58  , entryZ(entryZ)
59  , entryT(entryT)
60  , exitX(exitX)
61  , exitY(exitY)
62  , exitZ(exitZ)
63  , exitT(exitT)
67  {}
float entryY
Entry position Y of particle.
Definition: AuxDetHit.h:21
float exitMomentumX
Exit X-Momentum of particle.
Definition: AuxDetHit.h:28
float exitY
Exit position Y of particle.
Definition: AuxDetHit.h:25
float exitZ
Exit position Z of particle.
Definition: AuxDetHit.h:26
float entryT
Entry time of particle.
Definition: AuxDetHit.h:23
unsigned int trackID
Geant4 supplied track ID.
Definition: AuxDetHit.h:18
float exitT
Exit time of particle.
Definition: AuxDetHit.h:27
float entryZ
Entry position Z of particle.
Definition: AuxDetHit.h:22
float entryX
Entry position X of particle.
Definition: AuxDetHit.h:20
float exitX
Exit position X of particle.
Definition: AuxDetHit.h:24
float energyDeposited
total energy deposited for this track ID and time
Definition: AuxDetHit.h:19
float exitMomentumZ
Exit Z-Momentum of particle.
Definition: AuxDetHit.h:30
float exitMomentumY
Exit Y-Momentum of particle.
Definition: AuxDetHit.h:29
unsigned int ID
Geant4 copy ID.
Definition: AuxDetHit.h:17

Member Function Documentation

float sim::AuxDetHit::GetEnergyDeposited ( ) const
inline

Definition at line 115 of file AuxDetHit.h.

References energyDeposited.

Referenced by sim::MergeSimSourcesUtility::offsetAuxDetHitTrackID(), and sim::GenericCRTUtility::toAuxDetIDE().

115 { return energyDeposited; }
float energyDeposited
total energy deposited for this track ID and time
Definition: AuxDetHit.h:19
float sim::AuxDetHit::GetEntryT ( ) const
inline

Definition at line 99 of file AuxDetHit.h.

References entryT.

Referenced by sim::MergeSimSourcesUtility::offsetAuxDetHitTrackID(), and sim::GenericCRTUtility::toAuxDetIDE().

99 { return entryT; }
float entryT
Entry time of particle.
Definition: AuxDetHit.h:23
float sim::AuxDetHit::GetEntryX ( ) const
inline

Definition at line 111 of file AuxDetHit.h.

References entryX.

Referenced by sim::MergeSimSourcesUtility::offsetAuxDetHitTrackID(), and sim::GenericCRTUtility::toAuxDetIDE().

111 { return entryX; }
float entryX
Entry position X of particle.
Definition: AuxDetHit.h:20
float sim::AuxDetHit::GetEntryY ( ) const
inline

Definition at line 107 of file AuxDetHit.h.

References entryY.

Referenced by sim::MergeSimSourcesUtility::offsetAuxDetHitTrackID(), and sim::GenericCRTUtility::toAuxDetIDE().

107 { return entryY; }
float entryY
Entry position Y of particle.
Definition: AuxDetHit.h:21
float sim::AuxDetHit::GetEntryZ ( ) const
inline

Definition at line 103 of file AuxDetHit.h.

References entryZ.

Referenced by sim::MergeSimSourcesUtility::offsetAuxDetHitTrackID(), and sim::GenericCRTUtility::toAuxDetIDE().

103 { return entryZ; }
float entryZ
Entry position Z of particle.
Definition: AuxDetHit.h:22
float sim::AuxDetHit::GetExitMomentumX ( ) const
inline

Definition at line 79 of file AuxDetHit.h.

References exitMomentumX.

Referenced by sim::MergeSimSourcesUtility::offsetAuxDetHitTrackID(), and sim::GenericCRTUtility::toAuxDetIDE().

79 { return exitMomentumX; }
float exitMomentumX
Exit X-Momentum of particle.
Definition: AuxDetHit.h:28
float sim::AuxDetHit::GetExitMomentumY ( ) const
inline

Definition at line 75 of file AuxDetHit.h.

References exitMomentumY.

Referenced by sim::MergeSimSourcesUtility::offsetAuxDetHitTrackID(), and sim::GenericCRTUtility::toAuxDetIDE().

75 { return exitMomentumY; }
float exitMomentumY
Exit Y-Momentum of particle.
Definition: AuxDetHit.h:29
float sim::AuxDetHit::GetExitMomentumZ ( ) const
inline

Definition at line 71 of file AuxDetHit.h.

References exitMomentumZ.

Referenced by sim::MergeSimSourcesUtility::offsetAuxDetHitTrackID(), and sim::GenericCRTUtility::toAuxDetIDE().

71 { return exitMomentumZ; }
float exitMomentumZ
Exit Z-Momentum of particle.
Definition: AuxDetHit.h:30
float sim::AuxDetHit::GetExitT ( ) const
inline

Definition at line 83 of file AuxDetHit.h.

References exitT.

Referenced by sim::MergeSimSourcesUtility::offsetAuxDetHitTrackID(), and sim::GenericCRTUtility::toAuxDetIDE().

83 { return exitT; }
float exitT
Exit time of particle.
Definition: AuxDetHit.h:27
float sim::AuxDetHit::GetExitX ( ) const
inline

Definition at line 95 of file AuxDetHit.h.

References exitX.

Referenced by sim::MergeSimSourcesUtility::offsetAuxDetHitTrackID(), and sim::GenericCRTUtility::toAuxDetIDE().

95 { return exitX; }
float exitX
Exit position X of particle.
Definition: AuxDetHit.h:24
float sim::AuxDetHit::GetExitY ( ) const
inline

Definition at line 91 of file AuxDetHit.h.

References exitY.

Referenced by sim::MergeSimSourcesUtility::offsetAuxDetHitTrackID(), and sim::GenericCRTUtility::toAuxDetIDE().

91 { return exitY; }
float exitY
Exit position Y of particle.
Definition: AuxDetHit.h:25
float sim::AuxDetHit::GetExitZ ( ) const
inline

Definition at line 87 of file AuxDetHit.h.

References exitZ.

Referenced by sim::MergeSimSourcesUtility::offsetAuxDetHitTrackID(), and sim::GenericCRTUtility::toAuxDetIDE().

87 { return exitZ; }
float exitZ
Exit position Z of particle.
Definition: AuxDetHit.h:26
unsigned int sim::AuxDetHit::GetID ( ) const
inline

Definition at line 123 of file AuxDetHit.h.

References ID.

Referenced by sim::MergeSimSourcesUtility::offsetAuxDetHitTrackID().

123 { return ID; }
unsigned int ID
Geant4 copy ID.
Definition: AuxDetHit.h:17
unsigned int sim::AuxDetHit::GetTrackID ( ) const
inline

Definition at line 119 of file AuxDetHit.h.

References trackID.

Referenced by sim::MergeSimSourcesUtility::offsetAuxDetHitTrackID(), and sim::GenericCRTUtility::toAuxDetIDE().

119 { return trackID; }
unsigned int trackID
Geant4 supplied track ID.
Definition: AuxDetHit.h:18
bool sim::AuxDetHit::operator< ( const AuxDetHit other) const
inline

Definition at line 127 of file AuxDetHit.h.

References trackID.

Referenced by AuxDetHit().

128  {
129  return trackID < other.trackID;
130  }
unsigned int trackID
Geant4 supplied track ID.
Definition: AuxDetHit.h:18
bool sim::AuxDetHit::operator== ( const AuxDetHit other) const
inline

Definition at line 131 of file AuxDetHit.h.

References trackID.

Referenced by AuxDetHit().

132  {
133  return other.trackID == trackID;
134  }
unsigned int trackID
Geant4 supplied track ID.
Definition: AuxDetHit.h:18
void sim::AuxDetHit::SetEnergyDeposited ( float  energyDeposited)
inline

Definition at line 113 of file AuxDetHit.h.

References energyDeposited.

113 { this->energyDeposited = energyDeposited; }
float energyDeposited
total energy deposited for this track ID and time
Definition: AuxDetHit.h:19
void sim::AuxDetHit::SetEntryT ( float  entryT)
inline

Definition at line 97 of file AuxDetHit.h.

References entryT.

97 { this->entryT = entryT; }
float entryT
Entry time of particle.
Definition: AuxDetHit.h:23
void sim::AuxDetHit::SetEntryX ( float  entryX)
inline

Definition at line 109 of file AuxDetHit.h.

References entryX.

109 { this->entryX = entryX; }
float entryX
Entry position X of particle.
Definition: AuxDetHit.h:20
void sim::AuxDetHit::SetEntryY ( float  entryY)
inline

Definition at line 105 of file AuxDetHit.h.

References entryY.

105 { this->entryY = entryY; }
float entryY
Entry position Y of particle.
Definition: AuxDetHit.h:21
void sim::AuxDetHit::SetEntryZ ( float  entryZ)
inline

Definition at line 101 of file AuxDetHit.h.

References entryZ.

101 { this->entryZ = entryZ; }
float entryZ
Entry position Z of particle.
Definition: AuxDetHit.h:22
void sim::AuxDetHit::SetExitMomentumX ( float  exitMomentumX)
inline

Definition at line 77 of file AuxDetHit.h.

References exitMomentumX.

77 { this->exitMomentumX = exitMomentumX; }
float exitMomentumX
Exit X-Momentum of particle.
Definition: AuxDetHit.h:28
void sim::AuxDetHit::SetExitMomentumY ( float  exitMomentumY)
inline

Definition at line 73 of file AuxDetHit.h.

References exitMomentumY.

73 { this->exitMomentumY = exitMomentumY; }
float exitMomentumY
Exit Y-Momentum of particle.
Definition: AuxDetHit.h:29
void sim::AuxDetHit::SetExitMomentumZ ( float  exitMomentumZ)
inline

Definition at line 69 of file AuxDetHit.h.

References exitMomentumZ.

69 { this->exitMomentumZ = exitMomentumZ; }
float exitMomentumZ
Exit Z-Momentum of particle.
Definition: AuxDetHit.h:30
void sim::AuxDetHit::SetExitT ( float  exitT)
inline

Definition at line 81 of file AuxDetHit.h.

References exitT.

81 { this->exitT = exitT; }
float exitT
Exit time of particle.
Definition: AuxDetHit.h:27
void sim::AuxDetHit::SetExitX ( float  exitX)
inline

Definition at line 93 of file AuxDetHit.h.

References exitX.

93 { this->exitX = exitX; }
float exitX
Exit position X of particle.
Definition: AuxDetHit.h:24
void sim::AuxDetHit::SetExitY ( float  exitY)
inline

Definition at line 89 of file AuxDetHit.h.

References exitY.

89 { this->exitY = exitY; }
float exitY
Exit position Y of particle.
Definition: AuxDetHit.h:25
void sim::AuxDetHit::SetExitZ ( float  exitZ)
inline

Definition at line 85 of file AuxDetHit.h.

References exitZ.

85 { this->exitZ = exitZ; }
float exitZ
Exit position Z of particle.
Definition: AuxDetHit.h:26
void sim::AuxDetHit::SetID ( unsigned int  ID)
inline

Definition at line 121 of file AuxDetHit.h.

References ID.

121 { this->ID = ID; }
unsigned int ID
Geant4 copy ID.
Definition: AuxDetHit.h:17
void sim::AuxDetHit::SetTrackID ( unsigned int  trackID)
inline

Definition at line 117 of file AuxDetHit.h.

References trackID.

117 { this->trackID = trackID; }
unsigned int trackID
Geant4 supplied track ID.
Definition: AuxDetHit.h:18

Member Data Documentation

float sim::AuxDetHit::energyDeposited
private

total energy deposited for this track ID and time

Definition at line 19 of file AuxDetHit.h.

Referenced by GetEnergyDeposited(), and SetEnergyDeposited().

float sim::AuxDetHit::entryT
private

Entry time of particle.

Definition at line 23 of file AuxDetHit.h.

Referenced by GetEntryT(), and SetEntryT().

float sim::AuxDetHit::entryX
private

Entry position X of particle.

Definition at line 20 of file AuxDetHit.h.

Referenced by GetEntryX(), and SetEntryX().

float sim::AuxDetHit::entryY
private

Entry position Y of particle.

Definition at line 21 of file AuxDetHit.h.

Referenced by GetEntryY(), and SetEntryY().

float sim::AuxDetHit::entryZ
private

Entry position Z of particle.

Definition at line 22 of file AuxDetHit.h.

Referenced by GetEntryZ(), and SetEntryZ().

float sim::AuxDetHit::exitMomentumX
private

Exit X-Momentum of particle.

Definition at line 28 of file AuxDetHit.h.

Referenced by GetExitMomentumX(), and SetExitMomentumX().

float sim::AuxDetHit::exitMomentumY
private

Exit Y-Momentum of particle.

Definition at line 29 of file AuxDetHit.h.

Referenced by GetExitMomentumY(), and SetExitMomentumY().

float sim::AuxDetHit::exitMomentumZ
private

Exit Z-Momentum of particle.

Definition at line 30 of file AuxDetHit.h.

Referenced by GetExitMomentumZ(), and SetExitMomentumZ().

float sim::AuxDetHit::exitT
private

Exit time of particle.

Definition at line 27 of file AuxDetHit.h.

Referenced by GetExitT(), and SetExitT().

float sim::AuxDetHit::exitX
private

Exit position X of particle.

Definition at line 24 of file AuxDetHit.h.

Referenced by GetExitX(), and SetExitX().

float sim::AuxDetHit::exitY
private

Exit position Y of particle.

Definition at line 25 of file AuxDetHit.h.

Referenced by GetExitY(), and SetExitY().

float sim::AuxDetHit::exitZ
private

Exit position Z of particle.

Definition at line 26 of file AuxDetHit.h.

Referenced by GetExitZ(), and SetExitZ().

unsigned int sim::AuxDetHit::ID
private

Geant4 copy ID.

Definition at line 17 of file AuxDetHit.h.

Referenced by GetID(), and SetID().

unsigned int sim::AuxDetHit::trackID
private

Geant4 supplied track ID.

Definition at line 18 of file AuxDetHit.h.

Referenced by GetTrackID(), operator<(), operator==(), and SetTrackID().


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