#ifndef __JTRIGGER__JTIMESLICE__ #define __JTRIGGER__JTIMESLICE__ #include #include "km3net-dataformat/online/JDAQChronometer.hh" #include "JTrigger/JSuperFrame1D.hh" /** * \author mdejong */ namespace JTRIGGER {} namespace JPP { using namespace JTRIGGER; } namespace JTRIGGER { using KM3NETDAQ::JDAQChronometer; /** * Time slice with calibrated data. */ template class JTimeslice : public JDAQChronometer, public std::vector< JSuperFrame1D > { public: typedef JSuperFrame1D value_type; typedef typename std::vector::iterator iterator; typedef typename std::vector::const_iterator const_iterator; typedef typename std::vector::reverse_iterator reverse_iterator; typedef typename std::vector::const_reverse_iterator const_reverse_iterator; /** * Default constructor. */ JTimeslice() : JDAQChronometer(), std::vector< JSuperFrame1D >() {} /** * Constructor. * * \param chronometer DAQ chronometer */ JTimeslice(const JDAQChronometer& chronometer) : JDAQChronometer(chronometer), std::vector< JSuperFrame1D >() {} }; } #endif