|
Jpp 19.3.0-rc.3
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. | |
| bool | operator() (const JHit_t first, const JHit_t second) const |
| Compare time of two hits. | |
Static Public Member Functions | |
| static double | getT (const JHit_t hit) |
| Get time of hit. | |
| static double | getToT (const JHit_t &hit) |
| Get time-over-threshold of hit. | |
| static JHit | getJHit (const JHit_t hit) |
| Construct JHit. | |
| static JHit_t | getHit (const JDAQHit &hit, const JCalibration &cal) |
| Construct hit. | |
| static JHit_t | getEndMarker () |
| Get end marker. | |
| static JHit_t | getTimeDifference (const JHit_t first, const JHit_t second) |
| Get time difference between two hits. | |
| static JHit_t | join (const JHit_t &first, const JHit_t &second) |
| Join two hits. | |
Template specialisation of hit toolkit for any primitive data type.
Definition at line 369 of file JHitToolkit.hh.
|
inline |
Get toolkit.
Definition at line 376 of file JHitToolkit.hh.
|
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 |
Get end marker.
Definition at line 436 of file JHitToolkit.hh.
|
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.