Jpp  19.1.0-rc.1
the software that should make you happy
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
1-dimensional frame with time calibrated data from one optical module.
Time slice with calibrated data.
Definition: JTimeslice.hh:29
JSuperFrame1D< JElement_t > value_type
Definition: JTimeslice.hh:32
std::vector< value_type >::const_iterator const_iterator
Definition: JTimeslice.hh:34
JTimeslice(const JDAQChronometer &chronometer)
Constructor.
Definition: JTimeslice.hh:53
JTimeslice()
Default constructor.
Definition: JTimeslice.hh:42
std::vector< value_type >::iterator iterator
Definition: JTimeslice.hh:33
std::vector< value_type >::const_reverse_iterator const_reverse_iterator
Definition: JTimeslice.hh:36
std::vector< value_type >::reverse_iterator reverse_iterator
Definition: JTimeslice.hh:35
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for triggering.
Definition: JSTDTypes.hh:14