#include <Hit.hh>
|
int | id |
|
int | dom_id |
| module identifier from the data (unique in the detector). More...
|
|
unsigned int | channel_id |
| PMT channel id {0,1, .., 30} local to moduke. More...
|
|
unsigned int | tdc |
| hit tdc (=time in ns) More...
|
|
unsigned int | tot |
| tot value as stored in raw data (int for pyroot) More...
|
|
ULong64_t | trig |
| non-zero if the hit is a trigger hit. More...
|
|
int | pmt_id |
| global PMT identifier as found in evt files More...
|
|
double | t |
| hit time (from tdc+calibration or MC truth) More...
|
|
double | a |
| hit amplitude (in p.e.) More...
|
|
Vec | pos |
| hit position More...
|
|
Vec | dir |
| hit direction; i.e. direction of the PMT More...
|
|
int | type |
| particle type or parametrisation used for hit (mc only) More...
|
|
int | origin |
| track id of the track that created this hit (mc only) More...
|
|
unsigned | pattern_flags |
| some number that you can use to flag the hit More...
|
|
Definition at line 8 of file Hit.hh.
Default constructor.
Definition at line 36 of file Hit.hh.
int pmt_id
global PMT identifier as found in evt files
unsigned int tdc
hit tdc (=time in ns)
int origin
track id of the track that created this hit (mc only)
double a
hit amplitude (in p.e.)
unsigned pattern_flags
some number that you can use to flag the hit
ULong64_t trig
non-zero if the hit is a trigger hit.
double t
hit time (from tdc+calibration or MC truth)
int dom_id
module identifier from the data (unique in the detector).
unsigned int tot
tot value as stored in raw data (int for pyroot)
unsigned int channel_id
PMT channel id {0,1, .., 30} local to moduke.
int type
particle type or parametrisation used for hit (mc only)
void Hit::read |
( |
const Hit & |
h | ) |
|
|
inline |
Read hit (useful in python).
- Parameters
-
Definition at line 46 of file Hit.hh.
void Hit::write |
( |
Hit & |
h | ) |
const |
|
inline |
Write hit (useful in python).
- Parameters
-
Definition at line 53 of file Hit.hh.
void Hit::print |
( |
std::ostream & |
out = std::cout | ) |
const |
|
inline |
Print hit.
- Parameters
-
Definition at line 60 of file Hit.hh.
63 out <<
" pmt=" <<
pmt_id <<
" t=" <<
t <<
" tot=" <<
tot;
int pmt_id
global PMT identifier as found in evt files
Vec dir
hit direction; i.e. direction of the PMT
double t
hit time (from tdc+calibration or MC truth)
int dom_id
module identifier from the data (unique in the detector).
unsigned int tot
tot value as stored in raw data (int for pyroot)
void print(std::ostream &out=std::cout) const
Print vector.
unsigned int channel_id
PMT channel id {0,1, .., 30} local to moduke.
module identifier from the data (unique in the detector).
Definition at line 14 of file Hit.hh.
unsigned int Hit::channel_id |
PMT channel id {0,1, .., 30} local to moduke.
Definition at line 15 of file Hit.hh.
hit tdc (=time in ns)
Definition at line 16 of file Hit.hh.
tot value as stored in raw data (int for pyroot)
Definition at line 17 of file Hit.hh.
non-zero if the hit is a trigger hit.
Definition at line 18 of file Hit.hh.
global PMT identifier as found in evt files
Definition at line 20 of file Hit.hh.
hit time (from tdc+calibration or MC truth)
Definition at line 23 of file Hit.hh.
hit amplitude (in p.e.)
Definition at line 24 of file Hit.hh.
hit position
Definition at line 25 of file Hit.hh.
hit direction; i.e. direction of the PMT
Definition at line 26 of file Hit.hh.
particle type or parametrisation used for hit (mc only)
Definition at line 28 of file Hit.hh.
track id of the track that created this hit (mc only)
Definition at line 29 of file Hit.hh.
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: