1 #ifndef __JAANET__JHIT_T__
2 #define __JAANET__JHIT_T__
15 namespace JPP {
using namespace JAANET; }
58 operator const Hit& ()
const
87 return first.
t < second.
t;
120 if (!this->empty()) {
122 sort(this->begin(), this->end());
129 while (++in != this->end()) {
131 if (out->pmt_id == in->pmt_id && in->t - out->t <= Tmax_ns) {
147 this->erase(++out, this->end());
Auxiliary class to set-up Hit.
int pmt_id
global PMT identifier as found in evt files
void merge(const double Tmax_ns)
Merge hits on same PMT that are within given time window.
int origin
track id of the track that created this hit
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
double a
hit amplitude (in p.e.)
JHit_t(const int id, const int pmt_id, const int type, const int origin, const double t, const int npe)
Constructor.
Auxiliary data structure for list of hits with hit merging capability.
friend bool operator<(const JHit_t &first, const JHit_t &second)
Less than operator for hits.
double t
hit time (from tdc+calibration or MC truth)
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 source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
int type
particle type or parametrisation used for hit (mc only)