Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RecoLocalCalo
HcalRecAlgos
interface
HcalPipelinePedestalAndGain.h
Go to the documentation of this file.
1
#ifndef RecoLocalCalo_HcalRecAlgos_HcalPipelinePedestalAndGain_h_
2
#define RecoLocalCalo_HcalRecAlgos_HcalPipelinePedestalAndGain_h_
3
4
// HB/HE channel information stored for each pipeline "capacitor id"
5
class
HcalPipelinePedestalAndGain
{
6
public
:
7
inline
HcalPipelinePedestalAndGain
()
8
:
pedestal_
(0.
f
),
pedestalWidth_
(0.
f
),
effPedestal_
(0.
f
),
effPedestalWidth_
(0.
f
),
gain_
(0.
f
),
gainWidth_
(0.
f
) {}
9
10
inline
HcalPipelinePedestalAndGain
(
const
float
i_pedestal,
11
const
float
i_pedestalWidth,
12
const
float
i_effPedestal,
13
const
float
i_effPedestalWidth,
14
const
float
i_gain,
15
const
float
i_gainWidth)
16
:
pedestal_
(i_pedestal),
17
pedestalWidth_
(i_pedestalWidth),
18
effPedestal_
(i_effPedestal),
19
effPedestalWidth_
(i_effPedestalWidth),
20
gain_
(i_gain),
21
gainWidth_
(i_gainWidth) {}
22
23
inline
float
pedestal
(
const
bool
useEffectivePeds)
const
{
return
useEffectivePeds ?
effPedestal_
:
pedestal_
; }
24
25
inline
float
pedestalWidth
(
const
bool
useEffectivePeds)
const
{
26
return
useEffectivePeds ?
effPedestalWidth_
:
pedestalWidth_
;
27
}
28
29
inline
float
gain
()
const
{
return
gain_
; }
30
inline
float
gainWidth
()
const
{
return
gainWidth_
; }
31
32
private
:
33
float
pedestal_
;
34
float
pedestalWidth_
;
35
float
effPedestal_
;
36
float
effPedestalWidth_
;
37
float
gain_
;
38
float
gainWidth_
;
39
};
40
41
#endif // RecoLocalCalo_HcalRecAlgos_HcalPipelinePedestalAndGain_h_
HcalPipelinePedestalAndGain
Definition:
HcalPipelinePedestalAndGain.h:5
HcalPipelinePedestalAndGain::gain_
float gain_
Definition:
HcalPipelinePedestalAndGain.h:37
HcalPipelinePedestalAndGain::gainWidth_
float gainWidth_
Definition:
HcalPipelinePedestalAndGain.h:38
HcalPipelinePedestalAndGain::pedestalWidth
float pedestalWidth(const bool useEffectivePeds) const
Definition:
HcalPipelinePedestalAndGain.h:25
HcalPipelinePedestalAndGain::effPedestalWidth_
float effPedestalWidth_
Definition:
HcalPipelinePedestalAndGain.h:36
HcalPipelinePedestalAndGain::HcalPipelinePedestalAndGain
HcalPipelinePedestalAndGain()
Definition:
HcalPipelinePedestalAndGain.h:7
HcalPipelinePedestalAndGain::HcalPipelinePedestalAndGain
HcalPipelinePedestalAndGain(const float i_pedestal, const float i_pedestalWidth, const float i_effPedestal, const float i_effPedestalWidth, const float i_gain, const float i_gainWidth)
Definition:
HcalPipelinePedestalAndGain.h:10
HcalPipelinePedestalAndGain::effPedestal_
float effPedestal_
Definition:
HcalPipelinePedestalAndGain.h:35
HcalPipelinePedestalAndGain::pedestal_
float pedestal_
Definition:
HcalPipelinePedestalAndGain.h:33
HcalPipelinePedestalAndGain::pedestal
float pedestal(const bool useEffectivePeds) const
Definition:
HcalPipelinePedestalAndGain.h:23
HcalPipelinePedestalAndGain::gain
float gain() const
Definition:
HcalPipelinePedestalAndGain.h:29
HcalPipelinePedestalAndGain::gainWidth
float gainWidth() const
Definition:
HcalPipelinePedestalAndGain.h:30
validate-o2o-wbm.f
tuple f
Definition:
validate-o2o-wbm.py:27
HcalPipelinePedestalAndGain::pedestalWidth_
float pedestalWidth_
Definition:
HcalPipelinePedestalAndGain.h:34
Generated for CMSSW Reference Manual by
1.8.5