Reduced data structure for L0 hit.
More...
#include <JHitR0.hh>
Reduced data structure for L0 hit.
Definition at line 25 of file JHitR0.hh.
◆ JPMT_t
PMT channel in FPGA.
Definition at line 30 of file JHitR0.hh.
◆ JHitR0() [1/2]
JTRIGGER::JHitR0::JHitR0 |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 36 of file JHitR0.hh.
◆ JHitR0() [2/2]
JTRIGGER::JHitR0::JHitR0 |
( |
const JPMT_t & |
id, |
|
|
const JHit & |
hit |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
Definition at line 48 of file JHitR0.hh.
◆ getPMT()
JPMT_t JTRIGGER::JHitR0::getPMT |
( |
| ) |
const |
|
inline |
Get PMT.
- Returns
- PMT
Definition at line 60 of file JHitR0.hh.
◆ getW()
double JTRIGGER::JHitR0::getW |
( |
| ) |
const |
|
inline |
Get weight.
The returned weight is set to one.
- Returns
- 1
Definition at line 72 of file JHitR0.hh.
◆ getHit()
const JHit& JTRIGGER::JHit::getHit |
( |
| ) |
const |
|
inlineinherited |
Get hit.
- Returns
- hit
Definition at line 99 of file JHit.hh.
101 return static_cast<const JHit&>(*
this);
◆ getSlewing()
static bool JTRIGGER::JHit::getSlewing |
( |
| ) |
|
|
inlinestaticinherited |
Get slewing option.
- Returns
- slewing option
Definition at line 110 of file JHit.hh.
◆ setSlewing()
static void JTRIGGER::JHit::setSlewing |
( |
const bool |
slewing | ) |
|
|
inlinestaticinherited |
Set slewing option.
- Parameters
-
Definition at line 121 of file JHit.hh.
◆ operator double()
JTRIGGER::JHit::operator double |
( |
| ) |
const |
|
inlineinherited |
Type conversion.
- Returns
- time [ns]
Definition at line 132 of file JHit.hh.
◆ getT()
double JTRIGGER::JHit::getT |
( |
| ) |
const |
|
inlineinherited |
Get calibrated time of hit.
- Returns
- time [ns]
Definition at line 143 of file JHit.hh.
◆ getToT()
double JTRIGGER::JHit::getToT |
( |
| ) |
const |
|
inlineinherited |
Get calibrated time over threshold of hit.
- Returns
- time over threshold [ns]
Definition at line 157 of file JHit.hh.
◆ getT1()
double JTRIGGER::JHit::getT1 |
( |
| ) |
const |
|
inlineinherited |
Get leading edge of hit.
Note that no slewing correction is applied.
- Returns
- time [ns]
Definition at line 170 of file JHit.hh.
◆ getT2()
double JTRIGGER::JHit::getT2 |
( |
| ) |
const |
|
inlineinherited |
Get trailing edge of hit.
Note that no slewing correction is applied.
- Returns
- time [ns]
Definition at line 183 of file JHit.hh.
◆ join()
void JTRIGGER::JHit::join |
( |
const JHit & |
hit | ) |
|
|
inlineinherited |
Join hit.
Note that:
- leading edge of this hit is maintained;
- time over threshold of this hit is set to the difference between the trailing edge of given hit and leading edge of this hit;
- Parameters
-
Definition at line 198 of file JHit.hh.
◆ get_slewing()
static bool& JTRIGGER::JHit::get_slewing |
( |
| ) |
|
|
inlinestaticprotectedinherited |
Get reference to slewing parameter.
- Returns
- reference to slewing parameter
Definition at line 213 of file JHit.hh.
215 static bool slewing =
true;
◆ pmt
PMT readout channel in FPGA.
Definition at line 78 of file JHitR0.hh.
time of leading edge [ns]
Definition at line 204 of file JHit.hh.
◆ tot
double JTRIGGER::JHit::tot |
|
protectedinherited |
time-ver-threshold [ns]
Definition at line 205 of file JHit.hh.
The documentation for this class was generated from the following file: