Identify and fill the pmts with data.
More...
#include <pmt.h>
Identify and fill the pmts with data.
- a pmt is defined by its ID number between 0 and 30
- it is derived from the classes dom and event
- it can return signals (see signal class)
- an offset can be add to the time in order to reproduce the time transit
- additionnally, we can get the number of hit
- Note
- We suggest you to clear the data before each plots
- Author
- Alexandre Creusot
- Version
- 1.4
- Date
- Tue Jun 17 2014
Contact: creus.nosp@m.ot@a.nosp@m.pc.un.nosp@m.iv-p.nosp@m.aris7.nosp@m..fr
Created on: Wed Feb 27 2013
Definition at line 34 of file pmt.h.
| pmt::pmt |
( |
const int |
pmtId, |
|
|
const int |
offset |
|
) |
| |
|
inline |
Definition at line 37 of file pmt.h.
| void pmt::ClearSignalData |
( |
| ) |
|
|
inline |
clear the pmt signal before to fill it again
Definition at line 58 of file pmt.h.
| const int pmt::GetHitNumber |
( |
| ) |
const |
|
inline |
get the number of hit detected by the pmt (one hit can be several photons!!!)
Definition at line 56 of file pmt.h.
| const int pmt::GetPmtId |
( |
| ) |
const |
|
inline |
get the identity of the pmt (from 0 to 30)
Definition at line 42 of file pmt.h.
| const int pmt::GetPmtOffset |
( |
| ) |
const |
|
inline |
get the time offset of the pmt (due to the time transit???)
Definition at line 52 of file pmt.h.
| const std::vector<signal> pmt::GetSignal |
( |
| ) |
const |
|
inline |
get the signal measured by the pmt (see signal.h for the format)
Definition at line 48 of file pmt.h.
| const bool pmt::HasSignal |
( |
| ) |
const |
|
inline |
test if one pmt has signal during the slice reading
Definition at line 46 of file pmt.h.
| void pmt::SetPmtId |
( |
const int |
id | ) |
|
|
inline |
set the identity of the pmt (shoud be careful with this one)
Definition at line 44 of file pmt.h.
| void pmt::SetPmtOffset |
( |
const int |
offset | ) |
|
|
inline |
set the offset of the pmt
Definition at line 54 of file pmt.h.
| void pmt::SetSignal |
( |
std::vector< signal > |
list | ) |
|
|
inline |
set the signal of the pmt (to use only when reading the binary)
Definition at line 50 of file pmt.h.
The documentation for this class was generated from the following file:
- /home/alex/Work/Research/Km3NeT/PPM-DU/ppm-du-v2.3/pmt.h