59 : fAuxDetID(
std::numeric_limits<uint32_t>::max())
60 , fAuxDetSensitiveID(
std::numeric_limits<uint32_t>::max())
70 const std::vector<sim::AuxDetIDE>& inputAuxDetIDEs,
71 uint32_t inputAuxDetSensitiveID)
79 std::vector<sim::AuxDetIDE>&& inputAuxDetIDEs,
80 uint32_t inputAuxDetSensitiveID)
91 throw std::runtime_error(
"ERROR AuxDetSimChannel Merge: Trying to merge different channels!");
93 std::pair<int, int> range_trackID(std::numeric_limits<int>::max(),
94 std::numeric_limits<int>::min());
99 auto tid =
std::abs(ide.trackID) + offset;
101 if (tid < range_trackID.first) range_trackID.first = tid;
102 if (tid > range_trackID.second) range_trackID.second = tid;
105 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
constexpr auto abs(T v)
Returns the absolute value of the argument.
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.
Collection of Physical constants used in LArSoft.
bool operator==(const AuxDetSimChannel &other) const