60 : fAuxDetID(
std::numeric_limits<uint32_t>::
max())
61 , fAuxDetSensitiveID(
std::numeric_limits<uint32_t>::
max())
67 uint32_t inputAuxDetSensitiveID)
74 const std::vector<sim::AuxDetIDE>& inputAuxDetIDEs,
75 uint32_t inputAuxDetSensitiveID)
83 std::vector<sim::AuxDetIDE>&& inputAuxDetIDEs,
84 uint32_t inputAuxDetSensitiveID)
95 throw std::runtime_error(
"ERROR AuxDetSimChannel Merge: Trying to merge different channels!");
103 if( ide.trackID+offset < range_trackID.first )
104 range_trackID.first = ide.trackID+offset;
105 if( ide.trackID+offset > range_trackID.second )
106 range_trackID.second = ide.trackID+offset;
109 return range_trackID;
uint32_t fAuxDetSensitiveID
integer used to retrieve AuxDetSensitiveGeo object
std::vector< sim::AuxDetIDE > fAuxDetIDEs
one sim::AuxDetIDE for each G4 track id
Namespace for general, non-LArSoft-specific utilities.
std::pair< int, int > MergeAuxDetSimChannel(const AuxDetSimChannel &, int)
int trackID
Geant4 supplied track ID.
float exitMomentumZ
Exit Z-Momentum of particle.
bool operator<(const AuxDetSimChannel &other) const
AuxDetSimChannel()
Default constructor (invalid, empty data)
constexpr int kBogusI
obviously bogus integer value
float exitY
Exit position Y of particle.
Collection of particles crossing one auxiliary detector cell.
object containing MC truth information necessary for making RawDigits and doing back tracking ...
uint32_t AuxDetID() const
float entryT
Entry time of particle.
uint32_t fAuxDetID
geo->AuxDet(auxDetID), integer used to retrieve AuxDetGeo objec
float exitMomentumX
Exit X-Momentum of particle.
float exitT
Exit time of particle.
std::vector< sim::AuxDetIDE > const & AuxDetIDEs() const
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.
uint32_t AuxDetSensitiveID() const
MC truth information to make RawDigits and do back tracking.
float exitMomentumY
Exit Y-Momentum of particle.
bool operator==(const AuxDetSimChannel &other) const