|
Jpp
17.3.0-rc.2
the software that should make you happy
|
Auxiliary class to extend hit building functionality to all DAQ data types. More...
#include <JBuildHelper.hh>
Public Member Functions | |
| template<class JOutput_t > | |
| void | operator() (const JDAQTimeslice ×lice, const JModuleRouter &router, JOutput_t out) const |
| Build hits from uncalibrated DAQ data. More... | |
| template<class JOutput_t > | |
| void | operator() (const JDAQEvent &event, const JModuleRouter &router, const bool snapshot, JOutput_t out) const |
| Build hits from uncalibrated DAQ data. More... | |
| template<class JOutput_t > | |
| void | operator() (const JDAQEvent &event, const JModuleRouter &router, JOutput_t out) const |
| Build hits from uncalibrated DAQ data. More... | |
Auxiliary class to extend hit building functionality to all DAQ data types.
The implementation of this functionality is based on a static cast of the given template parameter (known as "curiously recurring template pattern").
The template parameter should refer to a class which provides for an implementation of the following operator:
template<class JOutput_t>
void operator()(const JDAQSuperFrame& super_frame,
const JModule& module,
JOutput_t out) const
where out refers to an STL compatible output iterator.
The data type of the JBuild_t class corresponds to the pointed-to element of the output iterator.
Definition at line 44 of file JBuildHelper.hh.
|
inline |
Build hits from uncalibrated DAQ data.
The time calibration is applied. Note that the output data are not time sorted.
| timeslice | DAQ time slice |
| router | module router |
| out | output data |
Definition at line 57 of file JBuildHelper.hh.
|
inline |
Build hits from uncalibrated DAQ data.
The time calibration is applied. Note that the output data are not time sorted.
| event | DAQ event |
| router | module router |
| snapshot | use shapshot hits (else use triggered hits) |
| out | output data |
Definition at line 81 of file JBuildHelper.hh.
|
inline |
Build hits from uncalibrated DAQ data.
The snapshot data of the DAQ event are used. The time calibration is applied. Note that the output data are not time sorted.
| event | DAQ event |
| router | module router |
| out | output data |
Definition at line 102 of file JBuildHelper.hh.
1.8.5