Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JFrameClone.hh
Go to the documentation of this file.
1#ifndef __JTRIGGER__JFRAMECLONE__
2#define __JTRIGGER__JFRAMECLONE__
3
5#include "JTrigger/JClone.hh"
6#include "JTrigger/JFrame.hh"
7
8
9/**
10 * \author mdejong
11 */
12
13namespace JTRIGGER {}
14namespace JPP { using namespace JTRIGGER; }
15
16namespace JTRIGGER {
17
18 /**
19 * Clone of JFrame.
20 */
21 template<class JElement_t, class JAllocator_t = std::allocator<JElement_t> >
23 public JPMTHeader,
24 public JClone< JFrame<JElement_t, JAllocator_t> >
25 {
26 public:
27 /**
28 * Default constructor.
29 */
31 JPMTHeader(),
32 JClone< JFrame<JElement_t, JAllocator_t> >()
33 {}
34
35
36 /**
37 * Constructor.
38 *
39 * \param frame JFrame
40 */
42 JPMTHeader(frame.getPMTHeader()),
43 JClone< JFrame<JElement_t, JAllocator_t> >(frame)
44 {}
45 };
46}
47
48#endif
Clone of a container.
Definition JClone.hh:40
Clone of JFrame.
JFrameClone()
Default constructor.
JFrameClone(const JFrame< JElement_t, JAllocator_t > &frame)
Constructor.
Data frame for calibrated hits of one PMT.
Definition JFrame.hh:38
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for triggering.
Header for PMT.
Definition JPMTHeader.hh:30
const JPMTHeader & getPMTHeader() const
Get PMT header.
Definition JPMTHeader.hh:62