Template specialisation of hit toolkit for JHitR0 class.
More...
#include <JHitToolkit.hh>
Template specialisation of hit toolkit for JHitR0 class.
Definition at line 309 of file JHitToolkit.hh.
◆ getToolkit()
Get toolkit.
- Returns
- this hit toolkit
Definition at line 317 of file JHitToolkit.hh.
318 {
319 return *this;
320 }
◆ getHit()
Construct hit.
- Parameters
-
hit | DAQ hit |
cal | calibration |
- Returns
- hit
Definition at line 330 of file JHitToolkit.hh.
331 {
333 }
Reduced data structure for L0 hit.
JPMT_t getPMT() const
Get PMT.
◆ getEndMarker()
Get end marker.
- Returns
- latest possible hit
Definition at line 341 of file JHitToolkit.hh.
◆ join() [1/2]
Join two hits.
- Parameters
-
first | first hit |
second | second hit |
- Returns
- joined hit
Definition at line 354 of file JHitToolkit.hh.
355 {
357
358 hit.join(second);
359
360 return hit;
361 }
◆ getT()
Get time of hit.
- Parameters
-
- Returns
- time of hit [ns]
Definition at line 86 of file JHitToolkit.hh.
87 {
88 return hit.getT();
89 }
◆ getToT()
Get time-over-threshold of hit.
- Parameters
-
- Returns
- time-over-threshold of hit [ns]
Definition at line 98 of file JHitToolkit.hh.
99 {
100 return hit.getToT();
101 }
◆ getJHit()
Construct JHit.
- Parameters
-
- Returns
- hit
Definition at line 110 of file JHitToolkit.hh.
111 {
112 return hit;
113 }
◆ 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() [2/2]
Join two hits.
- Parameters
-
first | first hit |
second | second hit |
- Returns
- joined hit
Definition at line 173 of file JHitToolkit.hh.
174 {
176
177 hit.join(second);
178
179 return hit;
180 }
The documentation for this struct was generated from the following file: