Jpp
|
Template specialisation of L2 builder for JHitR1 data type. More...
#include <JBuildL2.hh>
Public Types | |
typedef JHitR2 | value_type |
Public Member Functions | |
JBuildL2 (const int numberOfHits, const double Tmax_ns, const double ctMin) | |
Constructor. More... | |
JBuildL2 (const JL2Parameters ¶meters) | |
Constructor. More... | |
template<class JElement_t , template< class, class > class JContainer_t, class JAllocator_t , class JOutput_t > | |
void | operator() (const JSuperFrame2D< JElement_t > &super_frame, const JContainer_t< JElement_t, JAllocator_t > &input, JOutput_t out) const |
Build hits from calibrated data. More... | |
template<class JElement_t , class JOutput_t > | |
void | operator() (const JSuperFrame2D< JElement_t > &input, 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) | |
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, 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... | |
Template specialisation of L2 builder for JHitR1 data type.
An L2 hit is a local coincidence between two or more hits from different PMTs within the same optical module satisfying:
Definition at line 346 of file JBuildL2.hh.
typedef JHitR2 JTRIGGER::JBuildL2< JHitR2 >::value_type |
Definition at line 354 of file JBuildL2.hh.
|
inline |
Constructor.
numberOfHits | minimal number of hits |
Tmax_ns | maximal time difference [ns] |
ctMin | minimal cosine space angle between PMT axes |
Definition at line 364 of file JBuildL2.hh.
|
inline |
Constructor.
parameters | L2 parameters |
Definition at line 376 of file JBuildL2.hh.
|
inline |
Build hits from calibrated data.
Only the input hits that satify 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.
super_frame | input L0 data |
input | input L1 data |
out | output L2 data |
Definition at line 394 of file JBuildL2.hh.
|
inline |
Build hits from calibrated data.
The calibrated data of each PMT inside the optical module are used to build L1 coincidences. The predefined requirements are then checked using the same calibrated data of each PMT. The output data are time sorted.
input | input L0 data |
out | output L1 data |
Definition at line 442 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 466 of file JBuildL2.hh.
|
inlineinherited |
Reset L2 parameters.
Definition at line 71 of file JTriggerParameters.hh.
|
inlineinherited |
Equality.
parameters | L2 parameters |
Definition at line 85 of file JTriggerParameters.hh.
|
inlineinherited |
Check validity.
Definition at line 98 of file JTriggerParameters.hh.
|
inherited |
|
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.
|
inherited |
minimal number of hits
Definition at line 106 of file JTriggerParameters.hh.
|
inherited |
maximal time difference [ns]
Definition at line 107 of file JTriggerParameters.hh.
|
inherited |
minimal cosine space angle between PMT axes
Definition at line 108 of file JTriggerParameters.hh.