CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HcalPipelinePedestalAndGain Class Reference

#include <HcalPipelinePedestalAndGain.h>

Public Member Functions

float gain () const
 
float gainWidth () const
 
 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)
 
float pedestal (const bool useEffectivePeds) const
 
float pedestalWidth (const bool useEffectivePeds) const
 

Private Attributes

float effPedestal_
 
float effPedestalWidth_
 
float gain_
 
float gainWidth_
 
float pedestal_
 
float pedestalWidth_
 

Detailed Description

Definition at line 5 of file HcalPipelinePedestalAndGain.h.

Constructor & Destructor Documentation

◆ HcalPipelinePedestalAndGain() [1/2]

HcalPipelinePedestalAndGain::HcalPipelinePedestalAndGain ( )
inline

Definition at line 7 of file HcalPipelinePedestalAndGain.h.

◆ HcalPipelinePedestalAndGain() [2/2]

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 
)
inline

Definition at line 10 of file HcalPipelinePedestalAndGain.h.

16  : pedestal_(i_pedestal),
17  pedestalWidth_(i_pedestalWidth),
18  effPedestal_(i_effPedestal),
19  effPedestalWidth_(i_effPedestalWidth),
20  gain_(i_gain),
21  gainWidth_(i_gainWidth) {}

Member Function Documentation

◆ gain()

float HcalPipelinePedestalAndGain::gain ( ) const
inline

Definition at line 29 of file HcalPipelinePedestalAndGain.h.

29 { return gain_; }

References gain_.

◆ gainWidth()

float HcalPipelinePedestalAndGain::gainWidth ( ) const
inline

Definition at line 30 of file HcalPipelinePedestalAndGain.h.

30 { return gainWidth_; }

References gainWidth_.

◆ pedestal()

float HcalPipelinePedestalAndGain::pedestal ( const bool  useEffectivePeds) const
inline

Definition at line 23 of file HcalPipelinePedestalAndGain.h.

23 { return useEffectivePeds ? effPedestal_ : pedestal_; }

References effPedestal_, and pedestal_.

◆ pedestalWidth()

float HcalPipelinePedestalAndGain::pedestalWidth ( const bool  useEffectivePeds) const
inline

Definition at line 25 of file HcalPipelinePedestalAndGain.h.

25  {
26  return useEffectivePeds ? effPedestalWidth_ : pedestalWidth_;
27  }

References effPedestalWidth_, and pedestalWidth_.

Member Data Documentation

◆ effPedestal_

float HcalPipelinePedestalAndGain::effPedestal_
private

Definition at line 35 of file HcalPipelinePedestalAndGain.h.

Referenced by pedestal().

◆ effPedestalWidth_

float HcalPipelinePedestalAndGain::effPedestalWidth_
private

Definition at line 36 of file HcalPipelinePedestalAndGain.h.

Referenced by pedestalWidth().

◆ gain_

float HcalPipelinePedestalAndGain::gain_
private

Definition at line 37 of file HcalPipelinePedestalAndGain.h.

Referenced by gain().

◆ gainWidth_

float HcalPipelinePedestalAndGain::gainWidth_
private

Definition at line 38 of file HcalPipelinePedestalAndGain.h.

Referenced by gainWidth().

◆ pedestal_

float HcalPipelinePedestalAndGain::pedestal_
private

Definition at line 33 of file HcalPipelinePedestalAndGain.h.

Referenced by pedestal().

◆ pedestalWidth_

float HcalPipelinePedestalAndGain::pedestalWidth_
private

Definition at line 34 of file HcalPipelinePedestalAndGain.h.

Referenced by pedestalWidth().

f
double f[11][100]
Definition: MuScleFitUtils.cc:78
HcalPipelinePedestalAndGain::gain_
float gain_
Definition: HcalPipelinePedestalAndGain.h:37
HcalPipelinePedestalAndGain::effPedestalWidth_
float effPedestalWidth_
Definition: HcalPipelinePedestalAndGain.h:36
HcalPipelinePedestalAndGain::effPedestal_
float effPedestal_
Definition: HcalPipelinePedestalAndGain.h:35
HcalPipelinePedestalAndGain::pedestalWidth_
float pedestalWidth_
Definition: HcalPipelinePedestalAndGain.h:34
HcalPipelinePedestalAndGain::pedestal_
float pedestal_
Definition: HcalPipelinePedestalAndGain.h:33
HcalPipelinePedestalAndGain::gainWidth_
float gainWidth_
Definition: HcalPipelinePedestalAndGain.h:38