CMS 3D CMS Logo

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

#include <HcalHardcodeParameters.h>

Public Member Functions

const double darkCurrent (unsigned index, double intlumi) const
 
const double gain (unsigned index) const
 
const double gainWidth (unsigned index) const
 
 HcalHardcodeParameters ()
 
 HcalHardcodeParameters (double pedestal, double pedestalWidth, const std::vector< double > &gain, const std::vector< double > &gainWidth, int zsThreshold, int qieType, const std::vector< double > &qieOffset, const std::vector< double > &qieSlope, int mcShape, int recoShape, double photoelectronsToAnalog, const std::vector< double > &darkCurrent, const std::vector< double > &noiseCorrelation)
 
 HcalHardcodeParameters (const edm::ParameterSet &p)
 
const int mcShape () const
 
const double noiseCorrelation (unsigned index) const
 
const double pedestal () const
 
const double pedestalWidth () const
 
const double photoelectronsToAnalog () const
 
const double qieOffset (unsigned range) const
 
const double qieSlope (unsigned range) const
 
const int qieType () const
 
const int recoShape () const
 
const int zsThreshold () const
 
virtual ~HcalHardcodeParameters ()
 

Private Attributes

std::vector< double > darkCurrent_
 
bool doSipmRadiationDamage_
 
std::vector< double > gain_
 
std::vector< double > gainWidth_
 
int mcShape_
 
std::vector< double > noiseCorrelation_
 
double pedestal_
 
double pedestalWidth_
 
double photoelectronsToAnalog_
 
std::vector< double > qieOffset_
 
std::vector< double > qieSlope_
 
int qieType_
 
int recoShape_
 
HcalSiPMRadiationDamage sipmRadiationDamage_
 
int zsThreshold_
 

Detailed Description

Definition at line 9 of file HcalHardcodeParameters.h.

Constructor & Destructor Documentation

◆ HcalHardcodeParameters() [1/3]

HcalHardcodeParameters::HcalHardcodeParameters ( )
inline

Definition at line 12 of file HcalHardcodeParameters.h.

12 {}

◆ HcalHardcodeParameters() [2/3]

HcalHardcodeParameters::HcalHardcodeParameters ( double  pedestal,
double  pedestalWidth,
const std::vector< double > &  gain,
const std::vector< double > &  gainWidth,
int  zsThreshold,
int  qieType,
const std::vector< double > &  qieOffset,
const std::vector< double > &  qieSlope,
int  mcShape,
int  recoShape,
double  photoelectronsToAnalog,
const std::vector< double > &  darkCurrent,
const std::vector< double > &  noiseCorrelation 
)

Definition at line 3 of file HcalHardcodeParameters.cc.

18  gain_(gain),
29  doSipmRadiationDamage_(false) {}
const double pedestalWidth() const
std::vector< double > qieSlope_
const double darkCurrent(unsigned index, double intlumi) const
std::vector< double > gainWidth_
const double gainWidth(unsigned index) const
const double qieOffset(unsigned range) const
std::vector< double > noiseCorrelation_
std::vector< double > darkCurrent_
std::vector< double > gain_
const double noiseCorrelation(unsigned index) const
const double photoelectronsToAnalog() const
const double qieSlope(unsigned range) const
std::vector< double > qieOffset_
const double gain(unsigned index) const
const double pedestal() const

◆ HcalHardcodeParameters() [3/3]

HcalHardcodeParameters::HcalHardcodeParameters ( const edm::ParameterSet p)

Definition at line 31 of file HcalHardcodeParameters.cc.

References darkCurrent_, doSipmRadiationDamage_, AlCaHLTBitMon_ParallelJobs::p, and sipmRadiationDamage_.

32  : pedestal_(p.getParameter<double>("pedestal")),
33  pedestalWidth_(p.getParameter<double>("pedestalWidth")),
34  gain_(p.getParameter<std::vector<double>>("gain")),
35  gainWidth_(p.getParameter<std::vector<double>>("gainWidth")),
36  zsThreshold_(p.getParameter<int>("zsThreshold")),
37  qieType_(p.getParameter<int>("qieType")),
38  qieOffset_(p.getParameter<std::vector<double>>("qieOffset")),
39  qieSlope_(p.getParameter<std::vector<double>>("qieSlope")),
40  mcShape_(p.getParameter<int>("mcShape")),
41  recoShape_(p.getParameter<int>("recoShape")),
42  photoelectronsToAnalog_(p.getParameter<double>("photoelectronsToAnalog")),
43  darkCurrent_(p.getParameter<std::vector<double>>("darkCurrent")),
44  noiseCorrelation_(p.getParameter<std::vector<double>>("noiseCorrelation")),
45  doSipmRadiationDamage_(p.getParameter<bool>("doRadiationDamage")) {
48 }
std::vector< double > qieSlope_
std::vector< double > gainWidth_
HcalSiPMRadiationDamage sipmRadiationDamage_
std::vector< double > noiseCorrelation_
std::vector< double > darkCurrent_
std::vector< double > gain_
std::vector< double > qieOffset_

◆ ~HcalHardcodeParameters()

virtual HcalHardcodeParameters::~HcalHardcodeParameters ( )
inlinevirtual

Definition at line 31 of file HcalHardcodeParameters.h.

31 {}

Member Function Documentation

◆ darkCurrent()

const double HcalHardcodeParameters::darkCurrent ( unsigned  index,
double  intlumi 
) const

◆ gain()

const double HcalHardcodeParameters::gain ( unsigned  index) const
inline

Definition at line 37 of file HcalHardcodeParameters.h.

References gain_.

Referenced by HcalDbHardcode::makeGain().

37 { return gain_.at(index); }
std::vector< double > gain_

◆ gainWidth()

const double HcalHardcodeParameters::gainWidth ( unsigned  index) const
inline

Definition at line 38 of file HcalHardcodeParameters.h.

References gainWidth_.

Referenced by HcalDbHardcode::makeGainWidth().

◆ mcShape()

const int HcalHardcodeParameters::mcShape ( ) const
inline

Definition at line 43 of file HcalHardcodeParameters.h.

References mcShape_.

Referenced by HcalDbHardcode::makeMCParam().

◆ noiseCorrelation()

const double HcalHardcodeParameters::noiseCorrelation ( unsigned  index) const

◆ pedestal()

const double HcalHardcodeParameters::pedestal ( ) const
inline

Definition at line 35 of file HcalHardcodeParameters.h.

References pedestal_.

Referenced by HcalDbHardcode::makePedestal().

35 { return pedestal_; }

◆ pedestalWidth()

const double HcalHardcodeParameters::pedestalWidth ( ) const
inline

Definition at line 36 of file HcalHardcodeParameters.h.

References pedestalWidth_.

Referenced by HcalDbHardcode::makePedestalWidth().

◆ photoelectronsToAnalog()

const double HcalHardcodeParameters::photoelectronsToAnalog ( ) const
inline

◆ qieOffset()

const double HcalHardcodeParameters::qieOffset ( unsigned  range) const
inline

Definition at line 41 of file HcalHardcodeParameters.h.

References qieOffset_, and FastTimerService_cff::range.

◆ qieSlope()

const double HcalHardcodeParameters::qieSlope ( unsigned  range) const
inline

Definition at line 42 of file HcalHardcodeParameters.h.

References qieSlope_, and FastTimerService_cff::range.

42 { return qieSlope_.at(range); }
std::vector< double > qieSlope_

◆ qieType()

const int HcalHardcodeParameters::qieType ( ) const
inline

Definition at line 40 of file HcalHardcodeParameters.h.

References qieType_.

Referenced by HcalDbHardcode::makeQIEType().

◆ recoShape()

const int HcalHardcodeParameters::recoShape ( ) const
inline

Definition at line 44 of file HcalHardcodeParameters.h.

References recoShape_.

Referenced by HcalDbHardcode::makeRecoParam().

◆ zsThreshold()

const int HcalHardcodeParameters::zsThreshold ( ) const
inline

Definition at line 39 of file HcalHardcodeParameters.h.

References zsThreshold_.

Referenced by HcalDbHardcode::makeZSThreshold().

Member Data Documentation

◆ darkCurrent_

std::vector<double> HcalHardcodeParameters::darkCurrent_
private

Definition at line 58 of file HcalHardcodeParameters.h.

Referenced by darkCurrent(), and HcalHardcodeParameters().

◆ doSipmRadiationDamage_

bool HcalHardcodeParameters::doSipmRadiationDamage_
private

Definition at line 60 of file HcalHardcodeParameters.h.

Referenced by darkCurrent(), and HcalHardcodeParameters().

◆ gain_

std::vector<double> HcalHardcodeParameters::gain_
private

Definition at line 52 of file HcalHardcodeParameters.h.

Referenced by gain().

◆ gainWidth_

std::vector<double> HcalHardcodeParameters::gainWidth_
private

Definition at line 52 of file HcalHardcodeParameters.h.

Referenced by gainWidth().

◆ mcShape_

int HcalHardcodeParameters::mcShape_
private

Definition at line 56 of file HcalHardcodeParameters.h.

Referenced by mcShape().

◆ noiseCorrelation_

std::vector<double> HcalHardcodeParameters::noiseCorrelation_
private

Definition at line 59 of file HcalHardcodeParameters.h.

Referenced by noiseCorrelation().

◆ pedestal_

double HcalHardcodeParameters::pedestal_
private

Definition at line 51 of file HcalHardcodeParameters.h.

Referenced by pedestal().

◆ pedestalWidth_

double HcalHardcodeParameters::pedestalWidth_
private

Definition at line 51 of file HcalHardcodeParameters.h.

Referenced by pedestalWidth().

◆ photoelectronsToAnalog_

double HcalHardcodeParameters::photoelectronsToAnalog_
private

Definition at line 57 of file HcalHardcodeParameters.h.

Referenced by photoelectronsToAnalog().

◆ qieOffset_

std::vector<double> HcalHardcodeParameters::qieOffset_
private

Definition at line 55 of file HcalHardcodeParameters.h.

Referenced by qieOffset().

◆ qieSlope_

std::vector<double> HcalHardcodeParameters::qieSlope_
private

Definition at line 55 of file HcalHardcodeParameters.h.

Referenced by qieSlope().

◆ qieType_

int HcalHardcodeParameters::qieType_
private

Definition at line 54 of file HcalHardcodeParameters.h.

Referenced by qieType().

◆ recoShape_

int HcalHardcodeParameters::recoShape_
private

Definition at line 56 of file HcalHardcodeParameters.h.

Referenced by recoShape().

◆ sipmRadiationDamage_

HcalSiPMRadiationDamage HcalHardcodeParameters::sipmRadiationDamage_
private

Definition at line 61 of file HcalHardcodeParameters.h.

Referenced by darkCurrent(), and HcalHardcodeParameters().

◆ zsThreshold_

int HcalHardcodeParameters::zsThreshold_
private

Definition at line 53 of file HcalHardcodeParameters.h.

Referenced by zsThreshold().