Template specialisation of hit toolkit for JHit class.
More...
#include <JHitToolkit.hh>
template<>
struct JTRIGGER::JHitToolkit< JHit, false >
Template specialisation of hit toolkit for JHit class.
Definition at line 67 of file JHitToolkit.hh.
◆ getToolkit()
Get toolkit.
- Returns
- this hit toolkit
Definition at line 74 of file JHitToolkit.hh.
◆ getT()
Get time of hit.
- Parameters
-
- Returns
- time of hit [ns]
Definition at line 86 of file JHitToolkit.hh.
◆ getToT()
Get time-over-threshold of hit.
- Parameters
-
- Returns
- time-over-threshold of hit [ns]
Definition at line 98 of file JHitToolkit.hh.
◆ getJHit()
◆ getHit()
Construct hit.
- Parameters
-
hit | DAQ hit |
cal | calibration |
- Returns
- hit
Definition at line 123 of file JHitToolkit.hh.
◆ getEndMarker()
Get end marker.
- Returns
- latest possible hit
Definition at line 134 of file JHitToolkit.hh.
136 return JHit(std::numeric_limits<double>::max());
◆ getTimeDifference()
Get time difference between two hits.
- Parameters
-
first | first hit |
second | second hit |
- Returns
- time second hit - time first hit [ns]
Definition at line 147 of file JHitToolkit.hh.
◆ operator()()
Compare time of two hits.
- Parameters
-
first | first hit |
second | second hit |
- Returns
- true if second hit later; else false
Definition at line 160 of file JHitToolkit.hh.
◆ join()
Join two hits.
- Parameters
-
first | first hit |
second | second hit |
- Returns
- joined hit
Definition at line 173 of file JHitToolkit.hh.
The documentation for this struct was generated from the following file: