2 #ifndef MCHITCOLLECTION_H
3 #define MCHITCOLLECTION_H
26 std::vector<sim::MCHit>::clear();
46 bool sort = (!
empty() && hit < (*rbegin()));
48 std::vector<sim::MCHit>::push_back(hit);
59 class less<sim::MCHitCollection*>
63 {
return (*lhs) < (*rhs); }
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
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.
auto end(FixedBins< T, C > const &) noexcept
unsigned int Channel() const
Getter for channel number.
auto begin(FixedBins< T, C > const &) noexcept
const unsigned int kINVALID_UINT
bool operator<(const MCHitCollection &rhs) const
For sorting.
MCHitCollection(const unsigned int ch=::sim::kINVALID_UINT)
Default ctor.
bool empty(FixedBins< T, C > const &) noexcept