2 #ifndef MCWIRECOLLECTION_H 3 #define MCWIRECOLLECTION_H 44 bool sort = (!empty() && wire < (*rbegin()));
46 std::vector<sim::MCWire>::push_back(wire);
61 {
return (*lhs) < (*rhs); }
void push_back(const MCWire &wire)
wrapper for push_back
unsigned int Channel() const
Getter for channel number.
MCWireCollection(const unsigned int ch=sim::kINVALID_UINT)
Default ctor.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
bool operator<(const MCWireCollection &rhs) const
For sorting.
std::vector< evd::details::RawDigitInfo_t >::const_iterator begin(RawDigitCacheDataClass const &cache)
const unsigned int kINVALID_UINT
std::vector< evd::details::RawDigitInfo_t >::const_iterator end(RawDigitCacheDataClass const &cache)
bool operator()(const sim::MCWireCollection *lhs, const sim::MCWireCollection *rhs)