Jpp
17.3.0-rc.1
the software that should make you happy
|
Template L2 builder. More...
#include <JBuildL2.hh>
Public Types | |
typedef JHit_t | value_type |
typedef JMatch< value_type > | match_type |
typedef JDAQHitSelector | selector_type |
Public Member Functions | |
JBuildL2 (const JL2Parameters ¶meters) | |
Constructor. More... | |
template<class JOutput_t > | |
void | operator() (const JSuperFrame2D< JHit_t > &inputL0, const std::vector< JHit_t > &inputL1, JOutput_t out) const |
Build hits from calibrated data. More... | |
template<class T , class JOutput_t > | |
void | operator() (T __begin, T __end, const std::vector< JHit_t > &inputL1, JOutput_t out) const |
Build hits from calibrated data. More... | |
template<class JOutput_t > | |
void | operator() (const JSuperFrame2D< JHit_t > &inputL0, JOutput_t out) const |
Build hits from calibrated data. More... | |
template<class JOutput_t > | |
void | operator() (const JDAQSuperFrame &input, const JModule &module, JOutput_t out) const |
Build hits from DAQ data. More... | |
void | reset () |
Reset L2 parameters. More... | |
bool | equals (const JL2Parameters ¶meters) const |
Equality. More... | |
bool | is_valid () const |
Check validity. More... | |
ClassDef (JL2Parameters, 1) | |
template<class JOutput_t > | |
void | operator() (typename JSuperFrame2D< JHit_t >::const_iterator __begin, typename JSuperFrame2D< JHit_t >::const_iterator __end, JOutput_t out) const |
Build hits from set of frames with calibrated data. More... | |
template<class JOutput_t > | |
void | operator() (const JSuperFrame1D< JHit_t > &input, JOutput_t out) const |
Build hits from calibrated data. More... | |
void | operator() (const JDAQTimeslice ×lice, const JModuleRouter &router, JOutput_t out) const |
Build hits from uncalibrated DAQ data. More... | |
void | operator() (const JDAQEvent &event, const JModuleRouter &router, const bool snapshot, JOutput_t out) const |
Build hits from uncalibrated DAQ data. More... | |
void | operator() (const JDAQEvent &event, const JModuleRouter &router, JOutput_t out) const |
Build hits from uncalibrated DAQ data. More... | |
void | setPreprocessor (const JPreprocessor::JOption_t option, const match_type &match) |
Set pre-processor of consecutive hits. More... | |
void | resetPreprocessor () |
Reset pre-processor of consecutive hits. More... | |
void | setDAQHitSelector (const JDAQHitSelector &selector) |
Set DAQ hit selector. More... | |
void | resetDAQHitSelector () |
Reset DAQ hit selector. More... | |
JSuperFrame2D< JHit_t > & | demultiplex (const JDAQSuperFrame &input, const JModule &module) const |
Demultiplex and pre-process DAQ super frame. More... | |
void | operator() (const JDAQTimeslice ×lice, const JModuleRouter &router, JOutput_t out) const |
Build hits from uncalibrated DAQ data. More... | |
void | operator() (const JDAQEvent &event, const JModuleRouter &router, const bool snapshot, JOutput_t out) const |
Build hits from uncalibrated DAQ data. More... | |
void | operator() (const JDAQEvent &event, const JModuleRouter &router, JOutput_t out) const |
Build hits from uncalibrated DAQ data. More... | |
Public Attributes | |
int | numberOfHits |
minimal number of hits More... | |
double | TMaxLocal_ns |
maximal time difference [ns] More... | |
double | ctMin |
minimal cosine space angle between PMT axes More... | |
double | TMax_ns |
bool | combine |
JPreprocessor::JOption_t | option |
pre-processor option More... | |
JLANG::JSharedPointer< match_type > | match |
pre-processor match criterion More... | |
JLANG::JSharedPointer < selector_type > | selector |
DAQ hit selector. More... | |
Protected Member Functions | |
bool | isL2 (const JSuperFrameClone2D< JHit_t > &clone, const JHit_t &hit) const |
Test if requirements for given hit are satisfied. More... | |
Protected Attributes | |
std::vector< JHit_t > | bufferL1 |
Template L2 builder.
An L2 hit is a local coincidence between two or more hits from different PMTs within the same optical module satisfying:
Definition at line 45 of file JBuildL2.hh.
typedef JHit_t JTRIGGER::JBuildL2< JHit_t >::value_type |
Definition at line 54 of file JBuildL2.hh.
|
inherited |
|
inherited |
|
inline |
Constructor.
parameters | L2 parameters |
Definition at line 62 of file JBuildL2.hh.
|
inline |
Build hits from calibrated data.
Only the input hits that satisfy the predefined requirements are copied from input to output.
The requirements are checked using the calibrated data of each PMT inside the same module. The input data should be time sorted. The output data are time sorted.
inputL0 | input L0 data |
inputL1 | input L1 data |
out | output L2 data |
Definition at line 81 of file JBuildL2.hh.
|
inline |
Build hits from calibrated data.
Only the input hits that satisfy the predefined requirements are copied from input to output.
The requirements are checked using the calibrated data of each PMT inside the same module. The input data should be time sorted. The output data are time sorted.
__begin | begin L0 data |
__end | end L0 data |
inputL1 | input L1 data |
out | output L2 data |
Definition at line 113 of file JBuildL2.hh.
|
inline |
Build hits from calibrated data.
The calibrated data of each PMT inside the optical module are used to build L2 coincidences. The predefined requirements are then checked using the same calibrated data of each PMT. The output data are time sorted.
inputL0 | input L0 data |
out | output L2 data |
Definition at line 143 of file JBuildL2.hh.
|
inline |
Build hits from DAQ data.
The time calibration is applied and the requirements are applied to the calibrated data. The output data are time sorted.
input | DAQ super frame |
module | module |
out | output L2 data |
Definition at line 164 of file JBuildL2.hh.
|
inlineprotected |
Test if requirements for given hit are satisfied.
The internal iterators of the cloned L0 data should be set before this test operation.
clone | L0 data |
hit | L1 hit |
Definition at line 182 of file JBuildL2.hh.
|
inlineinherited |
Reset L2 parameters.
Definition at line 72 of file JTrigger/JTriggerParameters.hh.
|
inlineinherited |
Equality.
parameters | L2 parameters |
Definition at line 86 of file JTrigger/JTriggerParameters.hh.
|
inlineinherited |
Check validity.
Definition at line 99 of file JTrigger/JTriggerParameters.hh.
|
inherited |
|
inlineinherited |
Build hits from set of frames with calibrated data.
The output data are time sorted.
__begin | begin of input L0 data |
__end | end of input L0 data |
out | output L1 data |
Definition at line 133 of file JBuildL1.hh.
|
inlineinherited |
Build hits from calibrated data.
The output data are time sorted.
input | input L0 data |
out | output L1 data |
Definition at line 150 of file JBuildL1.hh.
|
inlineinherited |
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.
|
inlineinherited |
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.
|
inlineinherited |
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.
|
inlineinherited |
Set pre-processor of consecutive hits.
option | option |
match | match criterion |
Definition at line 59 of file JBuild.hh.
|
inlineinherited |
Reset pre-processor of consecutive hits.
Definition at line 69 of file JBuild.hh.
|
inlineinherited |
Set DAQ hit selector.
selector | DAQ hit selector |
Definition at line 81 of file JBuild.hh.
|
inlineinherited |
Reset DAQ hit selector.
Definition at line 90 of file JBuild.hh.
|
inlineinherited |
Demultiplex and pre-process DAQ super frame.
input | DAQ super frame |
module | module data |
Definition at line 103 of file JBuild.hh.
|
inlineinherited |
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.
|
inlineinherited |
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.
|
inlineinherited |
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.
|
mutableprotected |
Definition at line 218 of file JBuildL2.hh.
|
inherited |
minimal number of hits
Definition at line 107 of file JTrigger/JTriggerParameters.hh.
|
inherited |
maximal time difference [ns]
Definition at line 108 of file JTrigger/JTriggerParameters.hh.
|
inherited |
minimal cosine space angle between PMT axes
Definition at line 109 of file JTrigger/JTriggerParameters.hh.
|
inherited |
Definition at line 74 of file JBuildL1.hh.
|
inherited |
Definition at line 75 of file JBuildL1.hh.
|
inherited |
|
inherited |
|
inherited |