Go to the documentation of this file. 1 #ifndef HIT_HH_INCLUDED
2 #define HIT_HH_INCLUDED
60 void print( std::ostream& out )
const
63 out <<
" pmt="<<
pmt_id <<
" t=" <<
t <<
" tot="<<
tot;
double pure_t
photon time before pmt simultion (MC only)
unsigned int tdc
hit tdc (=time in ns)
int origin
track id of the track that created this hit
int pmt_id
global PMT identifier as found in evt files
void read(const Hit &h)
Read hit (useful in python).
double a
hit amplitude (in p.e.)
double t
hit time (from calibration or MC truth)
void write(Hit &h) const
Write hit (useful in python).
unsigned int tot
tot value as stored in raw data (int for pyroot)
int dom_id
module identifier from the data (unique in the detector).
Vec dir
hit direction; i.e. direction of the PMT
double pure_a
amptitude before pmt simution (MC only)
int trig
non-zero if the hit is a trigger hit.
Hit()
Default constructor.
#define ClassDefNV(name, version)
unsigned pattern_flags
some number that you can use to flag the hit
void print(std::ostream &out) const
Print hit.
The Vec class is a straightforward 3-d vector, which also works in pyroot.
unsigned int channel_id
PMT channel id {0,1, .., 31} local to moduke.
int type
particle type or parametrisation used for hit (mc only)
void print(std::ostream &out=std::cout) const
Print vector.