2 #ifndef MCHITCOLLECTION_H 3 #define MCHITCOLLECTION_H 46 bool sort = (!empty() && hit < (*rbegin()));
48 std::vector<sim::MCHit>::push_back(hit);
63 {
return (*lhs) < (*rhs); }
void push_back(const MCHit &hit)
wrapper for push_back
void Reset()
Method to reset.
bool operator()(const sim::MCHitCollection *lhs, const sim::MCHitCollection *rhs)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
unsigned int fChannel
Channel number.
std::vector< evd::details::RawDigitInfo_t >::const_iterator begin(RawDigitCacheDataClass const &cache)
Detector simulation of raw signals on wires.
unsigned int Channel() const
Getter for channel number.
const unsigned int kINVALID_UINT
std::vector< evd::details::RawDigitInfo_t >::const_iterator end(RawDigitCacheDataClass const &cache)
bool operator<(const MCHitCollection &rhs) const
For sorting.
MCHitCollection(const unsigned int ch=::sim::kINVALID_UINT)
Default ctor.