Jpp
software
JFit
JHitW0.hh
Go to the documentation of this file.
1
#ifndef __JFIT__JHITW0__
2
#define __JFIT__JHITW0__
3
4
#include "
JTrigger/JHitL0.hh
"
5
6
7
/**
8
* \author mdejong
9
*/
10
11
namespace
JFIT
{}
12
namespace
JPP
{
using namespace
JFIT
; }
13
14
namespace
JFIT
{
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
JFIT::JHitW0
Auxiliary class for a hit with background rate value.
Definition:
JHitW0.hh:21
JFIT
Auxiliary classes and methods for linear and iterative data regression.
Definition:
JEnergy.hh:15
JPP
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Definition:
JAAnetToolkit.hh:37
JFIT::JHitW0::getR
double getR() const
Get rate.
Definition:
JHitW0.hh:52
JFIT::JHitW0::JHitW0
JHitW0(const JHitL0 &hit, const double R_Hz)
Constructor.
Definition:
JHitW0.hh:40
JFIT::JHitW0::__R
double __R
Definition:
JHitW0.hh:58
JFIT::JHitW0::JHitW0
JHitW0()
Default constructor.
Definition:
JHitW0.hh:28
JTRIGGER::JHitL0
Data structure for L0 hit.
Definition:
JHitL0.hh:27
JHitL0.hh
Generated by
1.8.16