Jpp
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
software
JTrigger
JFrameClone.hh
Go to the documentation of this file.
1
2
#ifndef __JTRIGGER__JFRAMECLONE__
3
#define __JTRIGGER__JFRAMECLONE__
4
5
#include <algorithm>
6
7
#include "
JTrigger/JPMTHeader.hh
"
8
#include "
JTrigger/JClone.hh
"
9
#include "
JTrigger/JFrame.hh
"
10
11
12
/**
13
* \author mdejong
14
*/
15
16
namespace
JTRIGGER {}
17
namespace
JPP {
using namespace
JTRIGGER; }
18
19
namespace
JTRIGGER {
20
21
/**
22
* Clone of JFrame.
23
*/
24
template
<
class
JElement_t>
25
class
JFrameClone
:
26
public
JPMTHeader
,
27
public
JClone
< JFrame<JElement_t> >
28
{
29
public
:
30
/**
31
* Default constructor.
32
*/
33
JFrameClone
() :
34
JPMTHeader
(),
35
JClone
<
JFrame
<JElement_t> >()
36
{}
37
38
39
/**
40
* Constructor.
41
*
42
* \param frame JFrame
43
*/
44
JFrameClone
(
const
JFrame<JElement_t>
& frame) :
45
JPMTHeader
(frame.
getPMTHeader
()),
46
JClone
<
JFrame
<JElement_t> >(frame)
47
{}
48
};
49
}
50
51
#endif
JTRIGGER::JPMTHeader::getPMTHeader
const JPMTHeader & getPMTHeader() const
Get PMT header.
Definition:
JPMTHeader.hh:62
JTRIGGER::JFrameClone::JFrameClone
JFrameClone()
Default constructor.
Definition:
JFrameClone.hh:33
JTRIGGER::JPMTHeader
Header for PMT.
Definition:
JPMTHeader.hh:26
JClone.hh
JPMTHeader.hh
JFrame.hh
JTRIGGER::JFrame
Data frame for calibrated hits of one PMT.
Definition:
JFrame.hh:31
JTRIGGER::JFrameClone
Clone of JFrame.
Definition:
JFrameClone.hh:25
JTRIGGER::JFrameClone::JFrameClone
JFrameClone(const JFrame< JElement_t > &frame)
Constructor.
Definition:
JFrameClone.hh:44
JTRIGGER::JClone
Clone of a container.
Definition:
JClone.hh:38
Generated by
1.8.5