DAQ key hit.
More...
#include <JDAQKeyHit.hh>
|
typedef unsigned char | JPMT_t |
| PMT channel in FPGA.
|
|
typedef unsigned int | JTDC_t |
| leading edge [ns]
|
|
typedef unsigned char | JTOT_t |
| time over threshold [ns]
|
|
DAQ key hit.
Definition at line 19 of file JDAQKeyHit.hh.
◆ JPMT_t
PMT channel in FPGA.
Definition at line 38 of file JDAQHit.hh.
◆ JTDC_t
◆ JTOT_t
time over threshold [ns]
Definition at line 40 of file JDAQHit.hh.
◆ JDAQKeyHit() [1/2]
KM3NETDAQ::JDAQKeyHit::JDAQKeyHit |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 32 of file JDAQKeyHit.hh.
32 :
35 {}
JDAQHit()
Default constructor.
JDAQModuleIdentifier()
Default constructor.
◆ JDAQKeyHit() [2/2]
Constructor.
- Parameters
-
id | module identifier |
hit | PMT hit |
Definition at line 44 of file JDAQKeyHit.hh.
◆ ~JDAQKeyHit()
virtual KM3NETDAQ::JDAQKeyHit::~JDAQKeyHit |
( |
| ) |
|
|
inlinevirtual |
◆ operator JDAQPMTIdentifier()
Type conversion operator.
- Returns
- axis
Definition at line 63 of file JDAQKeyHit.hh.
64 {
66 }
JPMT_t getPMT() const
Get PMT.
int getModuleID() const
Get module identifier.
◆ ClassDef()
KM3NETDAQ::JDAQKeyHit::ClassDef |
( |
JDAQKeyHit | , |
|
|
1 | ) |
◆ getModuleIdentifier()
Get Module identifier.
- Returns
- Module identifier
Definition at line 50 of file JDAQModuleIdentifier.hh.
51 {
52 return *this;
53 }
◆ setModuleIdentifier()
◆ getModuleID()
int KM3NETDAQ::JDAQModuleIdentifier::getModuleID |
( |
| ) |
const |
|
inlineinherited |
◆ ClassDefNV() [1/2]
◆ getPMT()
JPMT_t KM3NETDAQ::JDAQHit::getPMT |
( |
| ) |
const |
|
inlineinherited |
Get PMT.
- Returns
- PMT
Definition at line 75 of file JDAQHit.hh.
76 {
78 }
JPMT_t pmt
PMT readout channel in FPGA.
◆ getT()
JTDC_t KM3NETDAQ::JDAQHit::getT |
( |
| ) |
const |
|
inlineinherited |
Get time.
- Returns
- time [ns]
Definition at line 86 of file JDAQHit.hh.
87 {
89 }
JTDC_t tdc
leading edge [ns]
◆ getToT()
JTOT_t KM3NETDAQ::JDAQHit::getToT |
( |
| ) |
const |
|
inlineinherited |
Get time-over-threshold.
- Returns
- time-over-threshold [ns]
Definition at line 97 of file JDAQHit.hh.
98 {
100 }
JTOT_t tot
time over threshold [ns]
◆ getMaximalToT()
static JTOT_t KM3NETDAQ::JDAQHit::getMaximalToT |
( |
| ) |
|
|
inlinestaticinherited |
Get maximal time-over-threshold.
- Returns
- time-over-threshold [ns]
Definition at line 108 of file JDAQHit.hh.
109 {
110 return 0xFF;
111 }
◆ ClassDefNV() [2/2]
KM3NETDAQ::JDAQHit::ClassDefNV |
( |
JDAQHit | , |
|
|
2 | ) |
|
inherited |
◆ getSizeof
Definition of method to get size of data type.
This method should be specialised for each desired data type with fixed length.
- Returns
- number of bytes
◆ operator>>
◆ operator<<
Write JDAQKeyHit to output.
- Parameters
-
- Returns
- JWriter
Definition at line 52 of file JDAQKeyHitIO.hh.
53 {
54 out << static_cast<const JDAQModuleIdentifier&>(hit);
55 out << static_cast<const JDAQHit&> (hit);
56
57 return out;
58 }
◆ id
int KM3NETDAQ::JDAQModuleIdentifier::id |
|
protectedinherited |
◆ pmt
JPMT_t KM3NETDAQ::JDAQHit::pmt |
|
protectedinherited |
PMT readout channel in FPGA.
Definition at line 158 of file JDAQHit.hh.
◆ tdc
JTDC_t KM3NETDAQ::JDAQHit::tdc |
|
protectedinherited |
◆ tot
JTOT_t KM3NETDAQ::JDAQHit::tot |
|
protectedinherited |
time over threshold [ns]
Definition at line 160 of file JDAQHit.hh.
The documentation for this class was generated from the following file: