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 auto tid =
std::abs(ide.trackID)+offset;
105 if( tid < range_trackID.first )
106 range_trackID.first = tid;
107 if( tid > range_trackID.second )
108 range_trackID.second = tid;
111 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.
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.
static int max(int a, int b)
Code to link reconstructed objects back to the MC truth information.
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
T min(sqlite3 *const db, std::string const &table_name, std::string const &column_name)
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.
Collection of Physical constants used in LArSoft.
bool operator==(const AuxDetSimChannel &other) const