22 : trackID (
std::numeric_limits<
int >::
min())
23 , energyDeposited(
std::numeric_limits<
float>::
min())
58 : fAuxDetID(
std::numeric_limits<uint32_t>::
max())
59 , fAuxDetSensitiveID(
std::numeric_limits<uint32_t>::
max())
65 uint32_t inputAuxDetSensitiveID)
72 std::vector<sdp::AuxDetIDE>
const& inputAuxDetIDEs,
73 uint32_t inputAuxDetSensitiveID)
81 std::vector<sdp::AuxDetIDE>&& inputAuxDetIDEs,
82 uint32_t inputAuxDetSensitiveID)
94 throw std::runtime_error(
"ERROR AuxDetSimChannel Merge: Trying to merge different channels!");
102 if( ide.trackID+offset < range_trackID.first ) range_trackID.first = ide.trackID+offset;
103 if( ide.trackID+offset > range_trackID.second ) range_trackID.second = ide.trackID+offset;
106 return range_trackID;
std::vector< sdp::AuxDetIDE > const & AuxDetIDEs() const
float entryZ
Entry position Z of particle.
bool operator<(const AuxDetSimChannel &other) const
float exitT
Exit time of particle.
uint32_t fAuxDetSensitiveID
integer used to retrieve AuxDetSensitiveGeo object
float exitMomentumX
Exit X-Momentum of particle.
float entryT
Entry time of particle.
float entryY
Entry position Y of particle.
uint32_t AuxDetID() const
AuxDetSimChannel()
Default constructor (invalid, empty data)
float exitY
Exit position Y of particle.
std::vector< sdp::AuxDetIDE > fAuxDetIDEs
one sdp::AuxDetIDE for each G4 track id
uint32_t fAuxDetID
geo->AuxDet(auxDetID), integer used to retrieve AuxDetGeo objec
bool operator==(const AuxDetSimChannel &other) const
float entryX
Entry position X of particle.
uint32_t AuxDetSensitiveID() const
static int max(int a, int b)
float exitMomentumZ
Exit Z-Momentum of particle.
General GArSoft Utilities.
float exitMomentumY
Exit Y-Momentum of particle.
T min(sqlite3 *const db, std::string const &table_name, std::string const &column_name)
float exitX
Exit position X of particle.
MC truth information to make RawDigits and do back tracking.
float energyDeposited
total energy deposited for this track ID and time
float exitZ
Exit position Z of particle.
Collection of particles crossing one auxiliary detector cell.
int trackID
Geant4 supplied track ID.
std::pair< int, int > MergeAuxDetSimChannel(const AuxDetSimChannel &, int)