26 , energyDeposited(util::
kBogusF)
43 : trackID (ide.trackID>=0? ide.trackID+offset : ide.trackID-offset)
44 , energyDeposited(ide.energyDeposited)
53 , exitMomentumX (ide.exitMomentumX)
54 , exitMomentumY (ide.exitMomentumY)
55 , exitMomentumZ (ide.exitMomentumZ)
60 : fAuxDetID(
std::numeric_limits<uint32_t>::max())
61 , fAuxDetSensitiveID(
std::numeric_limits<uint32_t>::max())
67 uint32_t inputAuxDetSensitiveID)
68 : fAuxDetID(inputAuxDetID)
69 , fAuxDetSensitiveID(inputAuxDetSensitiveID)
74 const std::vector<sim::AuxDetIDE>& inputAuxDetIDEs,
75 uint32_t inputAuxDetSensitiveID)
76 : fAuxDetID(inputAuxDetID)
77 , fAuxDetSensitiveID(inputAuxDetSensitiveID)
78 , fAuxDetIDEs(inputAuxDetIDEs)
83 std::vector<sim::AuxDetIDE>&& inputAuxDetIDEs,
84 uint32_t inputAuxDetSensitiveID)
85 : fAuxDetID(inputAuxDetID)
86 , fAuxDetSensitiveID(inputAuxDetSensitiveID)
87 , fAuxDetIDEs(inputAuxDetIDEs)
95 throw std::runtime_error(
"ERROR AuxDetSimChannel Merge: Trying to merge different channels!");
97 std::pair<int,int> range_trackID(std::numeric_limits<int>::max(),
98 std::numeric_limits<int>::min());
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
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
BEGIN_PROLOG TPC Trig offset(g4 rise time) ProjectToHeight
std::pair< int, int > MergeAuxDetSimChannel(const AuxDetSimChannel &, int)
bool operator<(const AuxDetSimChannel &other) const
AuxDetSimChannel()
Default constructor (invalid, empty data)
constexpr int kBogusI
obviously bogus integer value
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
uint32_t fAuxDetID
geo->AuxDet(auxDetID), integer used to retrieve AuxDetGeo objec
std::vector< sim::AuxDetIDE > const & AuxDetIDEs() const
constexpr float kBogusF
obviously bogus float value
uint32_t AuxDetSensitiveID() const
MC truth information to make RawDigits and do back tracking.
Collection of Physical constants used in LArSoft.
bool operator==(const AuxDetSimChannel &other) const