1 #ifndef __JAANET__JHIT_T__
2 #define __JAANET__JHIT_T__
15 namespace JPP {
using namespace JAANET; }
58 operator const Hit& ()
const
89 return first.
t < second.
t;
122 if (!this->empty()) {
124 sort(this->begin(), this->end());
131 while (++in != this->end()) {
133 if (out->pmt_id == in->pmt_id && in->t - out->t <= Tmax_ns) {
149 this->erase(++out, this->end());
Auxiliary class to set-up Hit.
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
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 pure_t
photon time before pmt simultion (MC only)
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.
double pure_a
amptitude before pmt simution (MC only)
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 calibration or MC truth)
int type
particle type or parametrisation used for hit (mc only)