1#ifndef __JTRIGGER__JTIMESLICEL1__ 
    2#define __JTRIGGER__JTIMESLICEL1__ 
   35  template<
class JDAQTimeslice_t>
 
   37    public JDAQTimeslice_t
 
   62    template<
class JHit_t>
 
   66                 const double              TMaxLocal_ns) :
 
   84          double Tmin = frame->getT(*p);
 
   85          double Tmax = Tmin  +  TMaxLocal_ns;
 
   87          while (++p != frame->end() && frame->getT(*p) <= Tmax) {
 
   88            Tmax = frame->getT(*p)  +  TMaxLocal_ns;
 
   98            if (t1 >= Tmin && t1 <= Tmax) {
 
  106        this->rbegin()->add(buffer.size(), buffer.data());      
 
 
 
Direct access to module in detector data structure.
 
Data structure for time calibration.
 
Router for direct addressing of module data in detector data structure.
 
const JModule & getModule(const JObjectID &id) const
Get module parameters.
 
Data structure for a composite optical module.
 
container_type::const_iterator const_iterator
 
Auxiliary class to build JDAQTimeslice for L1 timeslice.
 
JTimesliceL1(const JTimeslice< JHit_t > ×lice, const JTimesliceRouter ×liceRouter, const JModuleRouter &moduleRouter, const double TMaxLocal_ns)
Constructor.
 
JTimesliceL1()
Default constructor.
 
Time slice with calibrated data.
 
std::vector< value_type >::const_iterator const_iterator
 
const JDAQChronometer & getDAQChronometer() const
Get DAQ chronometer.
 
const_iterator end() const
 
const_iterator begin() const
 
Data frame of one optical module.
 
JTOOLS::JRange< double > JTimeRange
Type definition for time range (unit [ns]).
 
JTimeRange getTimeRange(const JTimeRange &timeRange, const JModule &module)
Get de-calibrated time range.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
const char * getTime()
Get current local time conform ISO-8601 standard.
 
Auxiliary classes and methods for triggering.
 
JTimeRange getTimeRange(const JEvent &event)
Get time range (i.e. earlist and latest hit time) of triggered event.
 
Router for fast addressing of hits in KM3NETDAQ::JDAQTimeslice data structure as a function of the op...
 
JDAQFrameSubset getFrameSubset(const JDAQModuleIdentifier &module, const JTimeRange &timeRange) const
Get subset of frame given module identifier and range of hit times.
 
const JDAQSuperFrame & getSuperFrame(const JDAQModuleIdentifier &module) const
Get super frame.