#include <Hit.hh>
Definition at line 7 of file Hit.hh.
◆ Hit()
Default constructor.
Definition at line 36 of file Hit.hh.
◆ read()
void Hit::read |
( |
const Hit & |
h | ) |
|
|
inline |
Read hit (useful in python).
- Parameters
-
Definition at line 46 of file Hit.hh.
◆ write()
void Hit::write |
( |
Hit & |
h | ) |
const |
|
inline |
Write hit (useful in python).
- Parameters
-
Definition at line 53 of file Hit.hh.
◆ print()
void Hit::print |
( |
std::ostream & |
out | ) |
const |
|
inline |
Print hit.
- Parameters
-
Definition at line 60 of file Hit.hh.
63 out <<
" pmt="<<
pmt_id <<
" t=" <<
t <<
" tot="<<
tot;
◆ id
Definition at line 9 of file Hit.hh.
◆ dom_id
module identifier from the data (unique in the detector).
Definition at line 12 of file Hit.hh.
◆ channel_id
unsigned int Hit::channel_id |
PMT channel id {0,1, .., 31} local to moduke.
Definition at line 13 of file Hit.hh.
◆ tdc
hit tdc (=time in ns)
Definition at line 14 of file Hit.hh.
◆ tot
tot value as stored in raw data (int for pyroot)
Definition at line 15 of file Hit.hh.
◆ trig
non-zero if the hit is a trigger hit.
Definition at line 16 of file Hit.hh.
◆ pmt_id
global PMT identifier as found in evt files
Definition at line 18 of file Hit.hh.
hit time (from calibration or MC truth)
Definition at line 21 of file Hit.hh.
hit amplitude (in p.e.)
Definition at line 22 of file Hit.hh.
◆ pos
hit position
Definition at line 23 of file Hit.hh.
◆ dir
hit direction; i.e. direction of the PMT
Definition at line 24 of file Hit.hh.
◆ pure_t
photon time before pmt simultion (MC only)
Definition at line 26 of file Hit.hh.
◆ pure_a
amptitude before pmt simution (MC only)
Definition at line 27 of file Hit.hh.
◆ type
particle type or parametrisation used for hit (mc only)
Definition at line 28 of file Hit.hh.
◆ origin
track id of the track that created this hit
Definition at line 29 of file Hit.hh.
◆ pattern_flags
unsigned Hit::pattern_flags |
some number that you can use to flag the hit
Definition at line 31 of file Hit.hh.
The documentation for this struct was generated from the following file: