Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
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
14namespace JTRIGGER {}
15namespace JPP { using namespace JTRIGGER; }
16
17namespace 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
34 typedef typename std::vector<value_type>::const_iterator const_iterator;
36 typedef typename std::vector<value_type>::const_reverse_iterator const_reverse_iterator;
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
std::vector< value_type >::iterator iterator
Definition JTimeslice.hh:33
std::vector< value_type >::const_reverse_iterator const_reverse_iterator
Definition JTimeslice.hh:36
JSuperFrame1D< JElement_t > value_type
Definition JTimeslice.hh:32
JTimeslice(const JDAQChronometer &chronometer)
Constructor.
Definition JTimeslice.hh:53
std::vector< value_type >::reverse_iterator reverse_iterator
Definition JTimeslice.hh:35
std::vector< value_type >::const_iterator const_iterator
Definition JTimeslice.hh:34
JTimeslice()
Default constructor.
Definition JTimeslice.hh:42
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for triggering.