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 (const edm::ParameterSet &p)
 
 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 int mcShape () 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_
 
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 
)

◆ HcalHardcodeParameters() [3/3]

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

Definition at line 29 of file HcalHardcodeParameters.cc.

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

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

◆ ~HcalHardcodeParameters()

virtual HcalHardcodeParameters::~HcalHardcodeParameters ( )
inlinevirtual

Definition at line 30 of file HcalHardcodeParameters.h.

30 {}

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 36 of file HcalHardcodeParameters.h.

36 { return gain_.at(index); }

References gain_.

Referenced by HcalDbHardcode::makeGain().

◆ gainWidth()

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

Definition at line 37 of file HcalHardcodeParameters.h.

37 { return gainWidth_.at(index); }

References gainWidth_.

Referenced by HcalDbHardcode::makeGainWidth().

◆ mcShape()

const int HcalHardcodeParameters::mcShape ( ) const
inline

Definition at line 42 of file HcalHardcodeParameters.h.

42 { return mcShape_; }

References mcShape_.

Referenced by HcalDbHardcode::makeMCParam().

◆ pedestal()

const double HcalHardcodeParameters::pedestal ( ) const
inline

Definition at line 34 of file HcalHardcodeParameters.h.

34 { return pedestal_; }

References pedestal_.

Referenced by HcalDbHardcode::makePedestal().

◆ pedestalWidth()

const double HcalHardcodeParameters::pedestalWidth ( ) const
inline

Definition at line 35 of file HcalHardcodeParameters.h.

35 { return pedestalWidth_; }

References pedestalWidth_.

Referenced by HcalDbHardcode::makePedestalWidth().

◆ photoelectronsToAnalog()

const double HcalHardcodeParameters::photoelectronsToAnalog ( ) const
inline

Definition at line 44 of file HcalHardcodeParameters.h.

44 { return photoelectronsToAnalog_; }

References photoelectronsToAnalog_.

Referenced by HcalDbHardcode::makeHardcodeSiPMParameter().

◆ qieOffset()

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

Definition at line 40 of file HcalHardcodeParameters.h.

40 { return qieOffset_.at(range); }

References qieOffset_, and FastTimerService_cff::range.

◆ qieSlope()

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

Definition at line 41 of file HcalHardcodeParameters.h.

41 { return qieSlope_.at(range); }

References qieSlope_, and FastTimerService_cff::range.

◆ qieType()

const int HcalHardcodeParameters::qieType ( ) const
inline

Definition at line 39 of file HcalHardcodeParameters.h.

39 { return qieType_; }

References qieType_.

Referenced by HcalDbHardcode::makeQIEType().

◆ recoShape()

const int HcalHardcodeParameters::recoShape ( ) const
inline

Definition at line 43 of file HcalHardcodeParameters.h.

43 { return recoShape_; }

References recoShape_.

Referenced by HcalDbHardcode::makeRecoParam().

◆ zsThreshold()

const int HcalHardcodeParameters::zsThreshold ( ) const
inline

Definition at line 38 of file HcalHardcodeParameters.h.

38 { return zsThreshold_; }

References zsThreshold_.

Referenced by HcalDbHardcode::makeZSThreshold().

Member Data Documentation

◆ darkCurrent_

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

Definition at line 56 of file HcalHardcodeParameters.h.

Referenced by darkCurrent(), and HcalHardcodeParameters().

◆ doSipmRadiationDamage_

bool HcalHardcodeParameters::doSipmRadiationDamage_
private

Definition at line 57 of file HcalHardcodeParameters.h.

Referenced by darkCurrent(), and HcalHardcodeParameters().

◆ gain_

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

Definition at line 50 of file HcalHardcodeParameters.h.

Referenced by gain().

◆ gainWidth_

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

Definition at line 50 of file HcalHardcodeParameters.h.

Referenced by gainWidth().

◆ mcShape_

int HcalHardcodeParameters::mcShape_
private

Definition at line 54 of file HcalHardcodeParameters.h.

Referenced by mcShape().

◆ pedestal_

double HcalHardcodeParameters::pedestal_
private

Definition at line 49 of file HcalHardcodeParameters.h.

Referenced by pedestal().

◆ pedestalWidth_

double HcalHardcodeParameters::pedestalWidth_
private

Definition at line 49 of file HcalHardcodeParameters.h.

Referenced by pedestalWidth().

◆ photoelectronsToAnalog_

double HcalHardcodeParameters::photoelectronsToAnalog_
private

Definition at line 55 of file HcalHardcodeParameters.h.

Referenced by photoelectronsToAnalog().

◆ qieOffset_

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

Definition at line 53 of file HcalHardcodeParameters.h.

Referenced by qieOffset().

◆ qieSlope_

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

Definition at line 53 of file HcalHardcodeParameters.h.

Referenced by qieSlope().

◆ qieType_

int HcalHardcodeParameters::qieType_
private

Definition at line 52 of file HcalHardcodeParameters.h.

Referenced by qieType().

◆ recoShape_

int HcalHardcodeParameters::recoShape_
private

Definition at line 54 of file HcalHardcodeParameters.h.

Referenced by recoShape().

◆ sipmRadiationDamage_

HcalSiPMRadiationDamage HcalHardcodeParameters::sipmRadiationDamage_
private

Definition at line 58 of file HcalHardcodeParameters.h.

Referenced by darkCurrent(), and HcalHardcodeParameters().

◆ zsThreshold_

int HcalHardcodeParameters::zsThreshold_
private

Definition at line 51 of file HcalHardcodeParameters.h.

Referenced by zsThreshold().

FastTimerService_cff.range
range
Definition: FastTimerService_cff.py:34
HcalHardcodeParameters::pedestalWidth_
double pedestalWidth_
Definition: HcalHardcodeParameters.h:49
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
HcalHardcodeParameters::pedestal
const double pedestal() const
Definition: HcalHardcodeParameters.h:34
HcalHardcodeParameters::gainWidth
const double gainWidth(unsigned index) const
Definition: HcalHardcodeParameters.h:37
HcalHardcodeParameters::qieType
const int qieType() const
Definition: HcalHardcodeParameters.h:39
HcalHardcodeParameters::doSipmRadiationDamage_
bool doSipmRadiationDamage_
Definition: HcalHardcodeParameters.h:57
HcalHardcodeParameters::pedestal_
double pedestal_
Definition: HcalHardcodeParameters.h:49
HcalSiPMRadiationDamage::getDarkCurrent
double getDarkCurrent(double intlumi, unsigned index) const
Definition: HcalSiPMRadiationDamage.cc:20
HcalHardcodeParameters::gain
const double gain(unsigned index) const
Definition: HcalHardcodeParameters.h:36
HcalHardcodeParameters::photoelectronsToAnalog_
double photoelectronsToAnalog_
Definition: HcalHardcodeParameters.h:55
HcalHardcodeParameters::recoShape_
int recoShape_
Definition: HcalHardcodeParameters.h:54
HcalHardcodeParameters::sipmRadiationDamage_
HcalSiPMRadiationDamage sipmRadiationDamage_
Definition: HcalHardcodeParameters.h:58
HcalHardcodeParameters::qieSlope
const double qieSlope(unsigned range) const
Definition: HcalHardcodeParameters.h:41
HcalHardcodeParameters::darkCurrent
const double darkCurrent(unsigned index, double intlumi) const
Definition: HcalHardcodeParameters.cc:47
HcalHardcodeParameters::gainWidth_
std::vector< double > gainWidth_
Definition: HcalHardcodeParameters.h:50
HcalHardcodeParameters::qieSlope_
std::vector< double > qieSlope_
Definition: HcalHardcodeParameters.h:53
HcalHardcodeParameters::zsThreshold_
int zsThreshold_
Definition: HcalHardcodeParameters.h:51
edm::ParameterSet
Definition: ParameterSet.h:47
HcalHardcodeParameters::gain_
std::vector< double > gain_
Definition: HcalHardcodeParameters.h:50
HcalHardcodeParameters::mcShape
const int mcShape() const
Definition: HcalHardcodeParameters.h:42
HcalHardcodeParameters::recoShape
const int recoShape() const
Definition: HcalHardcodeParameters.h:43
HcalHardcodeParameters::zsThreshold
const int zsThreshold() const
Definition: HcalHardcodeParameters.h:38
HcalHardcodeParameters::darkCurrent_
std::vector< double > darkCurrent_
Definition: HcalHardcodeParameters.h:56
HcalHardcodeParameters::qieType_
int qieType_
Definition: HcalHardcodeParameters.h:52
HcalSiPMRadiationDamage
Definition: HcalSiPMRadiationDamage.h:14
HcalHardcodeParameters::qieOffset_
std::vector< double > qieOffset_
Definition: HcalHardcodeParameters.h:53
HcalHardcodeParameters::pedestalWidth
const double pedestalWidth() const
Definition: HcalHardcodeParameters.h:35
HcalHardcodeParameters::photoelectronsToAnalog
const double photoelectronsToAnalog() const
Definition: HcalHardcodeParameters.h:44
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
HcalHardcodeParameters::qieOffset
const double qieOffset(unsigned range) const
Definition: HcalHardcodeParameters.h:40
HcalHardcodeParameters::mcShape_
int mcShape_
Definition: HcalHardcodeParameters.h:54