|
| JBuildL2 (const int numberOfHits, const double Tmax_ns, const double ctMin) |
| Constructor. More...
|
|
| JBuildL2 (const JL2Parameters ¶meters) |
| Constructor. More...
|
|
template<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 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...
|
|
template<class JElement_t>
class JTRIGGER::JBuildL2< JElement_t >
Template L2 builder.
An L2 hit is a local coincidence between two or more hits from different PMTs within the same optical module satisfying:
- minimal number of hits requirement;
- maximal time difference between hits; and
- maximal space angle requirement between the PMT axes.
Definition at line 47 of file JBuildL2.hh.
template<class JElement_t>
template<template< class, class > class JContainer_t, class JAllocator_t , class JOutput_t >
void JTRIGGER::JBuildL2< JElement_t >::operator() |
( |
const JSuperFrame2D< JElement_t > & |
super_frame, |
|
|
const JContainer_t< JElement_t, JAllocator_t > & |
input, |
|
|
JOutput_t |
out |
|
) |
| const |
|
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.
- Parameters
-
super_frame | input L0 data |
input | input L1 data |
out | output L2 data |
Definition at line 96 of file JBuildL2.hh.
102 for (
typename JContainer_t<JElement_t, JAllocator_t>::const_iterator __p = input.begin(); __p != input.end(); ++__p) {
104 clone.fast_forward(*__p);
JSuperFrameClone2D< JElement_t > clone
bool isL2(const JElement_t &hit) const
Test if requirements for given hit are satisfied.