Jpp
pmt_effective_area_update
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
software
JTrigger
JHitL0.hh
Go to the documentation of this file.
1
#ifndef __JTRIGGER__JHITL0__
2
#define __JTRIGGER__JHITL0__
3
4
#include "
km3net-dataformat/online/JDAQPMTIdentifier.hh
"
5
#include "
JGeometry3D/JAxis3D.hh
"
6
#include "
JTrigger/JHit.hh
"
7
8
9
/**
10
* \file
11
*
12
* Basic data structure for L0 hit.
13
* \author mdejong
14
*/
15
namespace
JTRIGGER {}
16
namespace
JPP {
using namespace
JTRIGGER; }
17
18
namespace
JTRIGGER {
19
20
using
KM3NETDAQ::JDAQPMTIdentifier
;
21
using
JGEOMETRY3D::JAxis3D
;
22
23
24
/**
25
* Data structure for L0 hit.
26
*/
27
class
JHitL0
:
28
public
JDAQPMTIdentifier
,
29
public
JAxis3D
,
30
public
JHit
31
{
32
public
:
33
/**
34
* Default constructor.
35
*/
36
JHitL0
() :
37
JDAQPMTIdentifier
(),
38
JAxis3D
(),
39
JHit
()
40
{}
41
42
43
/**
44
* Constructor.
45
*
46
* \param pmt PMT identifier
47
* \param axis PMT axis
48
* \param hit hit
49
*/
50
JHitL0
(
const
JDAQPMTIdentifier
& pmt,
51
const
JAxis3D
& axis,
52
const
JHit
& hit) :
53
JDAQPMTIdentifier
(pmt),
54
JAxis3D
(axis),
55
JHit
(hit)
56
{}
57
58
59
/**
60
* Get count.
61
*
62
* \return count
63
*/
64
inline
int
getN
()
const
65
{
66
return
1;
67
}
68
69
70
/**
71
* Get weight.\n
72
* The returned weight is set to one.
73
*
74
* \return 1
75
*/
76
inline
double
getW
()
const
77
{
78
return
1.0;
79
}
80
};
81
}
82
83
#endif
JTRIGGER::JHitL0::getW
double getW() const
Get weight.
Definition:
JHitL0.hh:76
JTRIGGER::JHit
Hit data structure.
Definition:
JTrigger/JHit.hh:22
JAxis3D.hh
JHit.hh
Basic data structure for time and time over threshold information of hit.
JDAQPMTIdentifier.hh
JGEOMETRY3D::JAxis3D
Axis object.
Definition:
JAxis3D.hh:38
JTRIGGER::JHitL0::JHitL0
JHitL0(const JDAQPMTIdentifier &pmt, const JAxis3D &axis, const JHit &hit)
Constructor.
Definition:
JHitL0.hh:50
KM3NETDAQ::JDAQPMTIdentifier
PMT identifier.
Definition:
JDAQPMTIdentifier.hh:20
JTRIGGER::JHitL0::getN
int getN() const
Get count.
Definition:
JHitL0.hh:64
JTRIGGER::JHitL0
Data structure for L0 hit.
Definition:
JHitL0.hh:27
JTRIGGER::JHitL0::JHitL0
JHitL0()
Default constructor.
Definition:
JHitL0.hh:36
Generated by
1.8.5