Jpp
test_elongated_shower_pde
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
JReconstruction
JHitW0.hh
Go to the documentation of this file.
1
#ifndef __JRECONSTRUCTION__JHITW0__
2
#define __JRECONSTRUCTION__JHITW0__
3
4
#include "
JTrigger/JHitL0.hh
"
5
6
7
/**
8
* \author mdejong
9
*/
10
11
namespace
JRECONSTRUCTION {}
12
namespace
JPP {
using namespace
JRECONSTRUCTION; }
13
14
namespace
JRECONSTRUCTION {
15
16
using
JTRIGGER::JHitL0
;
17
18
/**
19
* Auxiliary class for a hit with background rate value.
20
*/
21
class
JHitW0
:
22
public
JHitL0
23
{
24
public
:
25
/**
26
* Default constructor.
27
*/
28
JHitW0
() :
29
JHitL0
(),
30
__R
(0.0)
31
{}
32
33
34
/**
35
* Constructor.
36
*
37
* \param hit hit
38
* \param R_Hz rate [Hz]
39
*/
40
JHitW0
(
const
JHitL0
& hit,
41
const
double
R_Hz) :
42
JHitL0
(hit),
43
__R
(R_Hz)
44
{}
45
46
47
/**
48
* Get rate.
49
*
50
* \return rate [Hz]
51
*/
52
inline
double
getR
()
const
53
{
54
return
__R
;
55
}
56
57
protected
:
58
double
__R
;
59
};
60
}
61
62
#endif
JRECONSTRUCTION::JHitW0::JHitW0
JHitW0()
Default constructor.
Definition:
JHitW0.hh:28
JRECONSTRUCTION::JHitW0::JHitW0
JHitW0(const JHitL0 &hit, const double R_Hz)
Constructor.
Definition:
JHitW0.hh:40
JHitL0.hh
Basic data structure for L0 hit.
JRECONSTRUCTION::JHitW0::getR
double getR() const
Get rate.
Definition:
JHitW0.hh:52
JRECONSTRUCTION::JHitW0
Auxiliary class for a hit with background rate value.
Definition:
JHitW0.hh:21
JTRIGGER::JHitL0
Data structure for L0 hit.
Definition:
JHitL0.hh:27
JRECONSTRUCTION::JHitW0::__R
double __R
Definition:
JHitW0.hh:58
Generated by
1.8.5