1 #ifndef __JTRIGGER__JDAQHITTOTSELECTOR__
2 #define __JTRIGGER__JDAQHITTOTSELECTOR__
20 namespace JPP {
using namespace JTRIGGER; }
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);
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.
JTOT_t getToT() const
Get time-over-threshold.
friend std::ostream & operator<<(std::ostream &out, const JDAQHitToTSelector &selector)
Write selector to output.
unsigned char JTOT_t
time over threshold [ns]
Template class for object cloning.
JTOOLS::JRange< JTOT_t > range_type
virtual bool operator()(const JDAQHit &hit) const override
DAQ hit selection.
Auxiliary class to define a range between two values.
Auxiliary class to select DAQ hits based on time-over-treshold value.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in