Go to the documentation of this file. 1 #ifndef __JAANET__JHIT_T__
2 #define __JAANET__JHIT_T__
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());
double pure_t
photon time before pmt simultion (MC only)
int origin
track id of the track that created this hit
Auxiliary class to set-up Hit.
JHit_t(const int id, const int pmt_id, const int type, const int origin, const double t, const int npe)
Constructor.
int pmt_id
global PMT identifier as found in evt files
friend bool operator<(const JHit_t &first, const JHit_t &second)
Less than operator for hits.
void merge(const double Tmax_ns)
Merge hits on same PMT that are within given time window.
double a
hit amplitude (in p.e.)
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
double t
hit time (from calibration or MC truth)
double pure_a
amptitude before pmt simution (MC only)
Extensions to AAnet data format.
Auxiliary data structure for list of hits with hit merging capability.
int type
particle type or parametrisation used for hit (mc only)