Jpp
17.3.2
the software that should make you happy
|
Template specialisation of hit toolkit for any primitive data type. More...
#include <JHitToolkit.hh>
Public Member Functions | |
const JHitToolkit< JHit_t, true > & | getToolkit () const |
Get toolkit. More... | |
bool | operator() (const JHit_t first, const JHit_t second) const |
Compare time of two hits. More... | |
Static Public Member Functions | |
static double | getT (const JHit_t hit) |
Get time of hit. More... | |
static double | getToT (const JHit_t &hit) |
Get time-over-threshold of hit. More... | |
static JHit | getJHit (const JHit_t hit) |
Construct JHit. More... | |
static JHit_t | getHit (const JDAQHit &hit, const JCalibration &cal) |
Construct hit. More... | |
static JHit_t | getEndMarker () |
Get end marker. More... | |
static JHit_t | getTimeDifference (const JHit_t first, const JHit_t second) |
Get time difference between two hits. More... | |
static JHit_t | join (const JHit_t &first, const JHit_t &second) |
Join two hits. More... | |
Template specialisation of hit toolkit for any primitive data type.
Definition at line 369 of file JHitToolkit.hh.
|
inline |
|
inlinestatic |
Get time of hit.
hit | hit |
Definition at line 388 of file JHitToolkit.hh.
|
inlinestatic |
Get time-over-threshold of hit.
hit | hit |
Definition at line 400 of file JHitToolkit.hh.
|
inlinestatic |
Construct JHit.
hit | hit |
Definition at line 412 of file JHitToolkit.hh.
|
inlinestatic |
Construct hit.
hit | DAQ hit |
cal | calibration |
Definition at line 425 of file JHitToolkit.hh.
|
inlinestatic |
|
inlinestatic |
Get time difference between two hits.
first | first hit |
second | second hit |
Definition at line 449 of file JHitToolkit.hh.
|
inline |
Compare time of two hits.
first | first value [ns] |
second | second value [ns] |
Definition at line 462 of file JHitToolkit.hh.
|
inlinestatic |
Join two hits.
Note that this method returns the first hit as-is.
first | first hit |
second | second hit |
Definition at line 477 of file JHitToolkit.hh.