CMS 3D CMS Logo

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

#include <HcalHardcodeParameters.h>

Public Member Functions

double darkCurrent (unsigned index, double intlumi) const
 
double gain (unsigned index) 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, double noiseThreshold, double seedThreshold)
 
 HcalHardcodeParameters (const edm::ParameterSet &p)
 
int mcShape () const
 
double noiseCorrelation (unsigned index) const
 
double noiseThreshold () const
 
double pedestal () const
 
double pedestalWidth () const
 
double photoelectronsToAnalog () const
 
double qieOffset (unsigned range) const
 
double qieSlope (unsigned range) const
 
int qieType () const
 
int recoShape () const
 
double seedThreshold () 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 noiseThreshold_
 
double pedestal_
 
double pedestalWidth_
 
double photoelectronsToAnalog_
 
std::vector< double > qieOffset_
 
std::vector< double > qieSlope_
 
int qieType_
 
int recoShape_
 
double seedThreshold_
 
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,
double  noiseThreshold,
double  seedThreshold 
)

Definition at line 3 of file HcalHardcodeParameters.cc.

20  gain_(gain),
32  noiseThreshold_(noiseTh),
33  seedThreshold_(seedTh) {}
double photoelectronsToAnalog() const
std::vector< double > qieSlope_
double darkCurrent(unsigned index, double intlumi) const
double noiseCorrelation(unsigned index) const
std::vector< double > gainWidth_
std::vector< double > noiseCorrelation_
double gain(unsigned index) const
std::vector< double > darkCurrent_
std::vector< double > gain_
double qieOffset(unsigned range) const
double qieSlope(unsigned range) const
double gainWidth(unsigned index) const
std::vector< double > qieOffset_

◆ HcalHardcodeParameters() [3/3]

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

Definition at line 35 of file HcalHardcodeParameters.cc.

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

36  : pedestal_(p.getParameter<double>("pedestal")),
37  pedestalWidth_(p.getParameter<double>("pedestalWidth")),
38  gain_(p.getParameter<std::vector<double>>("gain")),
39  gainWidth_(p.getParameter<std::vector<double>>("gainWidth")),
40  zsThreshold_(p.getParameter<int>("zsThreshold")),
41  qieType_(p.getParameter<int>("qieType")),
42  qieOffset_(p.getParameter<std::vector<double>>("qieOffset")),
43  qieSlope_(p.getParameter<std::vector<double>>("qieSlope")),
44  mcShape_(p.getParameter<int>("mcShape")),
45  recoShape_(p.getParameter<int>("recoShape")),
46  photoelectronsToAnalog_(p.getParameter<double>("photoelectronsToAnalog")),
47  darkCurrent_(p.getParameter<std::vector<double>>("darkCurrent")),
48  noiseCorrelation_(p.getParameter<std::vector<double>>("noiseCorrelation")),
49  doSipmRadiationDamage_(p.getParameter<bool>("doRadiationDamage")),
50  noiseThreshold_(p.getParameter<double>("noiseThreshold")),
51  seedThreshold_(p.getParameter<double>("seedThreshold")) {
54 }
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 35 of file HcalHardcodeParameters.h.

35 {}

Member Function Documentation

◆ darkCurrent()

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

◆ gain()

double HcalHardcodeParameters::gain ( unsigned  index) const
inline

Definition at line 41 of file HcalHardcodeParameters.h.

References gain_.

Referenced by HcalDbHardcode::makeGain().

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

◆ gainWidth()

double HcalHardcodeParameters::gainWidth ( unsigned  index) const
inline

Definition at line 42 of file HcalHardcodeParameters.h.

References gainWidth_.

Referenced by HcalDbHardcode::makeGainWidth().

◆ mcShape()

int HcalHardcodeParameters::mcShape ( ) const
inline

Definition at line 47 of file HcalHardcodeParameters.h.

References mcShape_.

Referenced by HcalDbHardcode::makeMCParam().

◆ noiseCorrelation()

double HcalHardcodeParameters::noiseCorrelation ( unsigned  index) const

◆ noiseThreshold()

double HcalHardcodeParameters::noiseThreshold ( ) const
inline

Definition at line 52 of file HcalHardcodeParameters.h.

References noiseThreshold_.

Referenced by HcalDbHardcode::makePFCut().

◆ pedestal()

double HcalHardcodeParameters::pedestal ( ) const
inline

Definition at line 39 of file HcalHardcodeParameters.h.

References pedestal_.

Referenced by HcalDbHardcode::makePedestal().

39 { return pedestal_; }

◆ pedestalWidth()

double HcalHardcodeParameters::pedestalWidth ( ) const
inline

Definition at line 40 of file HcalHardcodeParameters.h.

References pedestalWidth_.

Referenced by HcalDbHardcode::makePedestalWidth().

◆ photoelectronsToAnalog()

double HcalHardcodeParameters::photoelectronsToAnalog ( ) const
inline

◆ qieOffset()

double HcalHardcodeParameters::qieOffset ( unsigned  range) const
inline

Definition at line 45 of file HcalHardcodeParameters.h.

References qieOffset_, and FastTimerService_cff::range.

◆ qieSlope()

double HcalHardcodeParameters::qieSlope ( unsigned  range) const
inline

Definition at line 46 of file HcalHardcodeParameters.h.

References qieSlope_, and FastTimerService_cff::range.

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

◆ qieType()

int HcalHardcodeParameters::qieType ( ) const
inline

Definition at line 44 of file HcalHardcodeParameters.h.

References qieType_.

Referenced by HcalDbHardcode::makeQIEType().

◆ recoShape()

int HcalHardcodeParameters::recoShape ( ) const
inline

Definition at line 48 of file HcalHardcodeParameters.h.

References recoShape_.

Referenced by HcalDbHardcode::makeRecoParam().

◆ seedThreshold()

double HcalHardcodeParameters::seedThreshold ( ) const
inline

Definition at line 53 of file HcalHardcodeParameters.h.

References seedThreshold_.

Referenced by HcalDbHardcode::makePFCut().

◆ zsThreshold()

int HcalHardcodeParameters::zsThreshold ( ) const
inline

Definition at line 43 of file HcalHardcodeParameters.h.

References zsThreshold_.

Referenced by HcalDbHardcode::makeZSThreshold().

Member Data Documentation

◆ darkCurrent_

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

Definition at line 64 of file HcalHardcodeParameters.h.

Referenced by darkCurrent(), and HcalHardcodeParameters().

◆ doSipmRadiationDamage_

bool HcalHardcodeParameters::doSipmRadiationDamage_
private

Definition at line 66 of file HcalHardcodeParameters.h.

Referenced by darkCurrent(), and HcalHardcodeParameters().

◆ gain_

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

Definition at line 58 of file HcalHardcodeParameters.h.

Referenced by gain().

◆ gainWidth_

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

Definition at line 58 of file HcalHardcodeParameters.h.

Referenced by gainWidth().

◆ mcShape_

int HcalHardcodeParameters::mcShape_
private

Definition at line 62 of file HcalHardcodeParameters.h.

Referenced by mcShape().

◆ noiseCorrelation_

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

Definition at line 65 of file HcalHardcodeParameters.h.

Referenced by noiseCorrelation().

◆ noiseThreshold_

double HcalHardcodeParameters::noiseThreshold_
private

Definition at line 68 of file HcalHardcodeParameters.h.

Referenced by noiseThreshold().

◆ pedestal_

double HcalHardcodeParameters::pedestal_
private

Definition at line 57 of file HcalHardcodeParameters.h.

Referenced by pedestal().

◆ pedestalWidth_

double HcalHardcodeParameters::pedestalWidth_
private

Definition at line 57 of file HcalHardcodeParameters.h.

Referenced by pedestalWidth().

◆ photoelectronsToAnalog_

double HcalHardcodeParameters::photoelectronsToAnalog_
private

Definition at line 63 of file HcalHardcodeParameters.h.

Referenced by photoelectronsToAnalog().

◆ qieOffset_

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

Definition at line 61 of file HcalHardcodeParameters.h.

Referenced by qieOffset().

◆ qieSlope_

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

Definition at line 61 of file HcalHardcodeParameters.h.

Referenced by qieSlope().

◆ qieType_

int HcalHardcodeParameters::qieType_
private

Definition at line 60 of file HcalHardcodeParameters.h.

Referenced by qieType().

◆ recoShape_

int HcalHardcodeParameters::recoShape_
private

Definition at line 62 of file HcalHardcodeParameters.h.

Referenced by recoShape().

◆ seedThreshold_

double HcalHardcodeParameters::seedThreshold_
private

Definition at line 68 of file HcalHardcodeParameters.h.

Referenced by seedThreshold().

◆ sipmRadiationDamage_

HcalSiPMRadiationDamage HcalHardcodeParameters::sipmRadiationDamage_
private

Definition at line 67 of file HcalHardcodeParameters.h.

Referenced by darkCurrent(), and HcalHardcodeParameters().

◆ zsThreshold_

int HcalHardcodeParameters::zsThreshold_
private

Definition at line 59 of file HcalHardcodeParameters.h.

Referenced by zsThreshold().