1 #ifndef __JTRIGGER__JDAQHITTOTSELECTOR__
2 #define __JTRIGGER__JDAQHITTOTSELECTOR__
31 public JClonable<JDAQHitSelector, JDAQHitToTSelector>,
32 public JRange<JDAQHit::JTOT_t>
100 out << static_cast<int>(selector.
first);
102 out << static_cast<int>(selector.
second);
Auxiliary class to define a range between two values.
unsigned char JTOT_t
time over threshold [ns]
JTOT_t getToT() const
Get time-over-threshold.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for triggering.
Template class for object cloning.
Auxiliary class to select DAQ hits based on time-over-treshold value.
friend std::ostream & operator<<(std::ostream &out, const JDAQHitToTSelector &selector)
Write selector to output.
virtual bool operator()(const JDAQHit &hit) const override
DAQ hit selection.
JTOOLS::JRange< JTOT_t > range_type
JDAQHitToTSelector(const JTOT_t tot_min, const JTOT_t tot_max)
Constructor.
friend std::istream & operator>>(std::istream &in, JDAQHitToTSelector &selector)
Read selector from input.
JDAQHitToTSelector()
Default constructor.