Jpp
JTimeslice.hh
Go to the documentation of this file.
1 #ifndef __JTRIGGER__JTIMESLICE__
2 #define __JTRIGGER__JTIMESLICE__
3 
4 #include <vector>
5 
8 
9 
10 /**
11  * \author mdejong
12  */
13 
14 namespace JTRIGGER {}
15 namespace JPP { using namespace JTRIGGER; }
16 
17 namespace JTRIGGER {
18 
20 
21 
22  /**
23  * Time slice with calibrated data.
24  */
25  template<class JElement_t>
26  class JTimeslice :
27  public JDAQChronometer,
28  public std::vector< JSuperFrame1D<JElement_t> >
29  {
30  public:
31 
37 
38 
39  /**
40  * Default constructor.
41  */
44  std::vector< JSuperFrame1D<JElement_t> >()
45  {}
46 
47 
48  /**
49  * Constructor.
50  *
51  * \param chronometer DAQ chronometer
52  */
53  JTimeslice(const JDAQChronometer& chronometer) :
54  JDAQChronometer(chronometer),
55  std::vector< JSuperFrame1D<JElement_t> >()
56  {}
57  };
58 }
59 
60 #endif
JTRIGGER::JTimeslice::const_reverse_iterator
std::vector< value_type >::const_reverse_iterator const_reverse_iterator
Definition: JTimeslice.hh:36
JTRIGGER::JSuperFrame1D< JElement_t >
std::vector
Definition: JSTDTypes.hh:12
JDAQChronometer.hh
JPP
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Definition: JAAnetToolkit.hh:37
JTRIGGER::JTimeslice::JTimeslice
JTimeslice(const JDAQChronometer &chronometer)
Constructor.
Definition: JTimeslice.hh:53
JTRIGGER::JTimeslice
Time slice with calibrated data.
Definition: JTimeslice.hh:26
JTRIGGER::JTimeslice::JTimeslice
JTimeslice()
Default constructor.
Definition: JTimeslice.hh:42
JTRIGGER::JTimeslice::const_iterator
std::vector< value_type >::const_iterator const_iterator
Definition: JTimeslice.hh:34
JTRIGGER::JTimeslice::iterator
std::vector< value_type >::iterator iterator
Definition: JTimeslice.hh:33
JSuperFrame1D.hh
std
Definition: jaanetDictionary.h:36
JTRIGGER::JTimeslice::reverse_iterator
std::vector< value_type >::reverse_iterator reverse_iterator
Definition: JTimeslice.hh:35
JTRIGGER
Checksum.
Definition: JSupport/JSupport.hh:35
JTRIGGER::JTimeslice::value_type
JSuperFrame1D< JElement_t > value_type
Definition: JTimeslice.hh:32
KM3NETDAQ::JDAQChronometer
DAQ chronometer.
Definition: JDAQChronometer.hh:21