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