2 #ifndef MCWIRECOLLECTION_H
3 #define MCWIRECOLLECTION_H
23 std::vector<sim::MCWire>::clear();
44 bool sort = (!
empty() && wire < (*rbegin()));
46 std::vector<sim::MCWire>::push_back(wire);
57 class less<sim::MCWireCollection*>
61 {
return (*lhs) < (*rhs); }
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
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.
auto end(FixedBins< T, C > const &) noexcept
auto begin(FixedBins< T, C > const &) noexcept
const unsigned int kINVALID_UINT
bool empty(FixedBins< T, C > const &) noexcept
bool operator()(const sim::MCWireCollection *lhs, const sim::MCWireCollection *rhs)