CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
EcalUncalibRecHitWorkerRatio Class Reference

#include <EcalUncalibRecHitWorkerRatio.h>

Inheritance diagram for EcalUncalibRecHitWorkerRatio:
EcalUncalibRecHitWorkerRunOneDigiBase EcalUncalibRecHitWorkerBaseClass

Public Member Functions

 EcalUncalibRecHitWorkerRatio ()
 
 EcalUncalibRecHitWorkerRatio (const edm::ParameterSet &, edm::ConsumesCollector &c)
 
edm::ParameterSetDescription getAlgoDescription () override
 
bool run (const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result) override
 
void set (const edm::EventSetup &es) override
 
 ~EcalUncalibRecHitWorkerRatio () override
 
- Public Member Functions inherited from EcalUncalibRecHitWorkerRunOneDigiBase
 EcalUncalibRecHitWorkerRunOneDigiBase ()
 
 EcalUncalibRecHitWorkerRunOneDigiBase (const edm::ParameterSet &p)
 
 EcalUncalibRecHitWorkerRunOneDigiBase (const edm::ParameterSet &p, edm::ConsumesCollector &c)
 
void run (const edm::Event &evt, const EcalDigiCollection &digis, EcalUncalibratedRecHitCollection &result) override
 
 ~EcalUncalibRecHitWorkerRunOneDigiBase () override
 
- Public Member Functions inherited from EcalUncalibRecHitWorkerBaseClass
 EcalUncalibRecHitWorkerBaseClass ()
 
 EcalUncalibRecHitWorkerBaseClass (const edm::ParameterSet &)
 
 EcalUncalibRecHitWorkerBaseClass (const edm::ParameterSet &, edm::ConsumesCollector &c)
 
virtual void set (const edm::Event &evt)
 
virtual ~EcalUncalibRecHitWorkerBaseClass ()
 

Protected Attributes

std::vector< double > EBamplitudeFitParameters_
 
double EBtimeConstantTerm_
 
std::pair< double, double > EBtimeFitLimits_
 
std::vector< double > EBtimeFitParameters_
 
std::vector< double > EEamplitudeFitParameters_
 
double EEtimeConstantTerm_
 
std::pair< double, double > EEtimeFitLimits_
 
std::vector< double > EEtimeFitParameters_
 
double gainRatios [3]
 
edm::ESHandle< EcalGainRatiosgains
 
edm::ESGetToken< EcalGainRatios, EcalGainRatiosRcdgainsToken_
 
double pedRMSVec [3]
 
edm::ESHandle< EcalPedestalspeds
 
edm::ESGetToken< EcalPedestals, EcalPedestalsRcdpedsToken_
 
double pedVec [3]
 
edm::ESHandle< EcalSampleMasksampleMaskHand_
 
edm::ESGetToken< EcalSampleMask, EcalSampleMaskRcdsampleMaskToken_
 
EcalUncalibRecHitRatioMethodAlgo< EBDataFrameuncalibMaker_barrel_
 
EcalUncalibRecHitRatioMethodAlgo< EEDataFrameuncalibMaker_endcap_
 

Detailed Description

Definition at line 29 of file EcalUncalibRecHitWorkerRatio.h.

Constructor & Destructor Documentation

◆ EcalUncalibRecHitWorkerRatio() [1/2]

EcalUncalibRecHitWorkerRatio::EcalUncalibRecHitWorkerRatio ( const edm::ParameterSet ps,
edm::ConsumesCollector c 
)

Definition at line 11 of file EcalUncalibRecHitWorkerRatio.cc.

13  EBtimeFitParameters_ = ps.getParameter<std::vector<double>>("EBtimeFitParameters");
14  EEtimeFitParameters_ = ps.getParameter<std::vector<double>>("EEtimeFitParameters");
15 
16  EBamplitudeFitParameters_ = ps.getParameter<std::vector<double>>("EBamplitudeFitParameters");
17  EEamplitudeFitParameters_ = ps.getParameter<std::vector<double>>("EEamplitudeFitParameters");
18 
19  EBtimeFitLimits_.first = ps.getParameter<double>("EBtimeFitLimits_Lower");
20  EBtimeFitLimits_.second = ps.getParameter<double>("EBtimeFitLimits_Upper");
21 
22  EEtimeFitLimits_.first = ps.getParameter<double>("EEtimeFitLimits_Lower");
23  EEtimeFitLimits_.second = ps.getParameter<double>("EEtimeFitLimits_Upper");
24 
25  EBtimeConstantTerm_ = ps.getParameter<double>("EBtimeConstantTerm");
26  EEtimeConstantTerm_ = ps.getParameter<double>("EEtimeConstantTerm");
27 
28  pedsToken_ = c.esConsumes<EcalPedestals, EcalPedestalsRcd>();
31 }

References HltBtagPostValidation_cff::c, EBamplitudeFitParameters_, EBtimeConstantTerm_, EBtimeFitLimits_, EBtimeFitParameters_, EEamplitudeFitParameters_, EEtimeConstantTerm_, EEtimeFitLimits_, EEtimeFitParameters_, gainsToken_, edm::ParameterSet::getParameter(), pedsToken_, and sampleMaskToken_.

◆ EcalUncalibRecHitWorkerRatio() [2/2]

EcalUncalibRecHitWorkerRatio::EcalUncalibRecHitWorkerRatio ( )
inline

Definition at line 32 of file EcalUncalibRecHitWorkerRatio.h.

32 {};

◆ ~EcalUncalibRecHitWorkerRatio()

EcalUncalibRecHitWorkerRatio::~EcalUncalibRecHitWorkerRatio ( )
inlineoverride

Definition at line 33 of file EcalUncalibRecHitWorkerRatio.h.

33 {};

Member Function Documentation

◆ getAlgoDescription()

edm::ParameterSetDescription EcalUncalibRecHitWorkerRatio::getAlgoDescription ( )
overridevirtual

Implements EcalUncalibRecHitWorkerBaseClass.

Definition at line 119 of file EcalUncalibRecHitWorkerRatio.cc.

119  {
121  std::vector<double> dSet1 = {-2.390548, 3.553628, -17.62341, 67.67538, -133.213, 140.7432, -75.41106, 16.20277};
122  std::vector<double> dSet2 = {-2.015452, 3.130702, -12.3473, 41.88921, -82.83944, 91.01147, -50.35761, 11.05621};
123 
124  psd.addNode(edm::ParameterDescription<double>("EEtimeFitLimits_Upper", 1.4, true) and
125  edm::ParameterDescription<double>("EEtimeConstantTerm", 0.18, true) and
126  edm::ParameterDescription<double>("EBtimeFitLimits_Lower", 0.2, true) and
127  edm::ParameterDescription<double>("EBtimeConstantTerm", 0.26, true) and
128  edm::ParameterDescription<double>("EEtimeFitLimits_Lower", 0.2, true) and
129  edm::ParameterDescription<std::vector<double>>("EEtimeFitParameters", dSet1, true) and
130  edm::ParameterDescription<std::vector<double>>("EEamplitudeFitParameters", {1.89, 1.4}, true) and
131  edm::ParameterDescription<double>("EBtimeFitLimits_Upper", 1.4, true) and
132  edm::ParameterDescription<std::vector<double>>("EBamplitudeFitParameters", {1.138, 1.652}, true) and
133  edm::ParameterDescription<std::vector<double>>("EBtimeFitParameters", dSet2, true));
134 
135  return psd;
136 }

References edm::ParameterSetDescription::addNode().

◆ run()

bool EcalUncalibRecHitWorkerRatio::run ( const edm::Event evt,
const EcalDigiCollection::const_iterator digi,
EcalUncalibratedRecHitCollection result 
)
overridevirtual

Implements EcalUncalibRecHitWorkerRunOneDigiBase.

Definition at line 41 of file EcalUncalibRecHitWorkerRatio.cc.

43  {
44  DetId detid(itdg->id());
45 
46  const EcalSampleMask* sampleMask_ = sampleMaskHand_.product();
47 
48  const EcalPedestals::Item* aped = nullptr;
49  const EcalMGPAGainRatio* aGain = nullptr;
50 
51  if (detid.subdetId() == EcalEndcap) {
52  unsigned int hashedIndex = EEDetId(detid).hashedIndex();
53  aped = &peds->endcap(hashedIndex);
54  aGain = &gains->endcap(hashedIndex);
55  } else {
56  unsigned int hashedIndex = EBDetId(detid).hashedIndex();
57  aped = &peds->barrel(hashedIndex);
58  aGain = &gains->barrel(hashedIndex);
59  }
60 
61  pedVec[0] = aped->mean_x12;
62  pedVec[1] = aped->mean_x6;
63  pedVec[2] = aped->mean_x1;
64  pedRMSVec[0] = aped->rms_x12;
65  pedRMSVec[1] = aped->rms_x6;
66  pedRMSVec[2] = aped->rms_x1;
67  gainRatios[0] = 1.;
68  gainRatios[1] = aGain->gain12Over6();
69  gainRatios[2] = aGain->gain6Over1() * aGain->gain12Over6();
70 
71  float clockToNsConstant = 25.;
72  EcalUncalibratedRecHit uncalibRecHit;
73 
74  if (detid.subdetId() == EcalEndcap) {
75  uncalibRecHit = uncalibMaker_endcap_.makeRecHit(*itdg,
76  *sampleMask_,
77  pedVec,
78  pedRMSVec,
79  gainRatios,
82  EEtimeFitLimits_); //GF pass mask here
83 
85  uncalibRecHit.setAmplitude(crh.amplitudeMax);
86  uncalibRecHit.setJitter(crh.timeMax - 5);
87  uncalibRecHit.setJitterError(
88  std::sqrt(pow(crh.timeError, 2) + std::pow(EEtimeConstantTerm_, 2) / std::pow(clockToNsConstant, 2)));
89 
90  } else {
91  bool gainSwitch = uncalibMaker_barrel_.fixMGPAslew(*itdg);
92 
93  uncalibRecHit = uncalibMaker_barrel_.makeRecHit(*itdg,
94  *sampleMask_,
95  pedVec,
96  pedRMSVec,
97  gainRatios,
100  EBtimeFitLimits_); //GF pass mask here
101 
103 
104  uncalibRecHit.setAmplitude(crh.amplitudeMax);
105  if (gainSwitch) {
106  // introduce additional 1ns shift
107  uncalibRecHit.setJitter(crh.timeMax - 5 - 0.04);
108  } else {
109  uncalibRecHit.setJitter(crh.timeMax - 5);
110  }
111  uncalibRecHit.setJitterError(
112  std::sqrt(pow(crh.timeError, 2) + std::pow(EBtimeConstantTerm_, 2) / std::pow(clockToNsConstant, 2)));
113  }
114  result.push_back(uncalibRecHit);
115 
116  return true;
117 }

References EBamplitudeFitParameters_, EBtimeConstantTerm_, EBtimeFitLimits_, EBtimeFitParameters_, EcalEndcap, EEamplitudeFitParameters_, EEtimeConstantTerm_, EEtimeFitLimits_, EEtimeFitParameters_, EcalUncalibRecHitRatioMethodAlgo< C >::fixMGPAslew(), EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), gainRatios, gains, EcalUncalibRecHitRatioMethodAlgo< C >::getCalculatedRecHit(), ecalpyutils::hashedIndex(), EBDetId::hashedIndex(), EEDetId::hashedIndex(), EcalUncalibRecHitRatioMethodAlgo< C >::makeRecHit(), pedRMSVec, peds, pedVec, funct::pow(), edm::ESHandle< T >::product(), mps_fire::result, sampleMaskHand_, EcalUncalibratedRecHit::setAmplitude(), EcalUncalibratedRecHit::setJitter(), EcalUncalibratedRecHit::setJitterError(), mathSSE::sqrt(), uncalibMaker_barrel_, and uncalibMaker_endcap_.

◆ set()

void EcalUncalibRecHitWorkerRatio::set ( const edm::EventSetup es)
overridevirtual

Implements EcalUncalibRecHitWorkerBaseClass.

Definition at line 33 of file EcalUncalibRecHitWorkerRatio.cc.

33  {
34  // which of the samples need be used
36 
39 }

References gains, gainsToken_, edm::EventSetup::getHandle(), peds, pedsToken_, sampleMaskHand_, and sampleMaskToken_.

Member Data Documentation

◆ EBamplitudeFitParameters_

std::vector<double> EcalUncalibRecHitWorkerRatio::EBamplitudeFitParameters_
protected

Definition at line 59 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by EcalUncalibRecHitWorkerRatio(), and run().

◆ EBtimeConstantTerm_

double EcalUncalibRecHitWorkerRatio::EBtimeConstantTerm_
protected

Definition at line 65 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by EcalUncalibRecHitWorkerRatio(), and run().

◆ EBtimeFitLimits_

std::pair<double, double> EcalUncalibRecHitWorkerRatio::EBtimeFitLimits_
protected

Definition at line 62 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by EcalUncalibRecHitWorkerRatio(), and run().

◆ EBtimeFitParameters_

std::vector<double> EcalUncalibRecHitWorkerRatio::EBtimeFitParameters_
protected

Definition at line 56 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by EcalUncalibRecHitWorkerRatio(), and run().

◆ EEamplitudeFitParameters_

std::vector<double> EcalUncalibRecHitWorkerRatio::EEamplitudeFitParameters_
protected

Definition at line 60 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by EcalUncalibRecHitWorkerRatio(), and run().

◆ EEtimeConstantTerm_

double EcalUncalibRecHitWorkerRatio::EEtimeConstantTerm_
protected

Definition at line 66 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by EcalUncalibRecHitWorkerRatio(), and run().

◆ EEtimeFitLimits_

std::pair<double, double> EcalUncalibRecHitWorkerRatio::EEtimeFitLimits_
protected

Definition at line 63 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by EcalUncalibRecHitWorkerRatio(), and run().

◆ EEtimeFitParameters_

std::vector<double> EcalUncalibRecHitWorkerRatio::EEtimeFitParameters_
protected

Definition at line 57 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by EcalUncalibRecHitWorkerRatio(), and run().

◆ gainRatios

double EcalUncalibRecHitWorkerRatio::gainRatios[3]
protected

Definition at line 54 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by run().

◆ gains

edm::ESHandle<EcalGainRatios> EcalUncalibRecHitWorkerRatio::gains
protected

Definition at line 49 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by run(), and set().

◆ gainsToken_

edm::ESGetToken<EcalGainRatios, EcalGainRatiosRcd> EcalUncalibRecHitWorkerRatio::gainsToken_
protected

Definition at line 50 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by EcalUncalibRecHitWorkerRatio(), and set().

◆ pedRMSVec

double EcalUncalibRecHitWorkerRatio::pedRMSVec[3]
protected

Definition at line 53 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by run().

◆ peds

edm::ESHandle<EcalPedestals> EcalUncalibRecHitWorkerRatio::peds
protected

Definition at line 47 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by run(), and set().

◆ pedsToken_

edm::ESGetToken<EcalPedestals, EcalPedestalsRcd> EcalUncalibRecHitWorkerRatio::pedsToken_
protected

Definition at line 48 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by EcalUncalibRecHitWorkerRatio(), and set().

◆ pedVec

double EcalUncalibRecHitWorkerRatio::pedVec[3]
protected

Definition at line 52 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by run().

◆ sampleMaskHand_

edm::ESHandle<EcalSampleMask> EcalUncalibRecHitWorkerRatio::sampleMaskHand_
protected

Definition at line 44 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by run(), and set().

◆ sampleMaskToken_

edm::ESGetToken<EcalSampleMask, EcalSampleMaskRcd> EcalUncalibRecHitWorkerRatio::sampleMaskToken_
protected

Definition at line 45 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by EcalUncalibRecHitWorkerRatio(), and set().

◆ uncalibMaker_barrel_

EcalUncalibRecHitRatioMethodAlgo<EBDataFrame> EcalUncalibRecHitWorkerRatio::uncalibMaker_barrel_
protected

Definition at line 68 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by run().

◆ uncalibMaker_endcap_

EcalUncalibRecHitRatioMethodAlgo<EEDataFrame> EcalUncalibRecHitWorkerRatio::uncalibMaker_endcap_
protected

Definition at line 69 of file EcalUncalibRecHitWorkerRatio.h.

Referenced by run().

EBDetId::hashedIndex
int hashedIndex() const
get a compact index for arrays
Definition: EBDetId.h:82
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
EcalUncalibRecHitWorkerRatio::pedVec
double pedVec[3]
Definition: EcalUncalibRecHitWorkerRatio.h:52
EcalUncalibRecHitWorkerRatio::sampleMaskHand_
edm::ESHandle< EcalSampleMask > sampleMaskHand_
Definition: EcalUncalibRecHitWorkerRatio.h:44
EBDetId
Definition: EBDetId.h:17
EcalSampleMask
Definition: EcalSampleMask.h:16
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
EcalUncalibRecHitWorkerRatio::EBtimeConstantTerm_
double EBtimeConstantTerm_
Definition: EcalUncalibRecHitWorkerRatio.h:65
EcalUncalibRecHitRatioMethodAlgo::getCalculatedRecHit
CalculatedRecHit getCalculatedRecHit()
Definition: EcalUncalibRecHitRatioMethodAlgo.h:75
EcalUncalibRecHitWorkerRatio::uncalibMaker_endcap_
EcalUncalibRecHitRatioMethodAlgo< EEDataFrame > uncalibMaker_endcap_
Definition: EcalUncalibRecHitWorkerRatio.h:69
EcalGainRatios
EcalGainRatioMap EcalGainRatios
Definition: EcalGainRatios.h:12
EcalUncalibRecHitWorkerRatio::EEtimeConstantTerm_
double EEtimeConstantTerm_
Definition: EcalUncalibRecHitWorkerRatio.h:66
DetId
Definition: DetId.h:17
EcalUncalibRecHitWorkerRatio::EEtimeFitLimits_
std::pair< double, double > EEtimeFitLimits_
Definition: EcalUncalibRecHitWorkerRatio.h:63
EcalUncalibRecHitWorkerRatio::EBamplitudeFitParameters_
std::vector< double > EBamplitudeFitParameters_
Definition: EcalUncalibRecHitWorkerRatio.h:59
EcalUncalibRecHitWorkerRatio::gainRatios
double gainRatios[3]
Definition: EcalUncalibRecHitWorkerRatio.h:54
EcalUncalibRecHitWorkerRatio::EEtimeFitParameters_
std::vector< double > EEtimeFitParameters_
Definition: EcalUncalibRecHitWorkerRatio.h:57
EcalUncalibRecHitWorkerRatio::peds
edm::ESHandle< EcalPedestals > peds
Definition: EcalUncalibRecHitWorkerRatio.h:47
EcalSampleMaskRcd
Definition: EcalSampleMaskRcd.h:5
EcalUncalibRecHitWorkerRatio::EBtimeFitLimits_
std::pair< double, double > EBtimeFitLimits_
Definition: EcalUncalibRecHitWorkerRatio.h:62
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
EcalUncalibRecHitWorkerRatio::EEamplitudeFitParameters_
std::vector< double > EEamplitudeFitParameters_
Definition: EcalUncalibRecHitWorkerRatio.h:60
EcalUncalibratedRecHit::setJitter
void setJitter(float jitter)
Definition: EcalUncalibratedRecHit.h:43
EcalMGPAGainRatio::gain12Over6
float gain12Over6() const
Definition: EcalMGPAGainRatio.h:19
EEDetId
Definition: EEDetId.h:14
EcalGainRatiosRcd
Definition: EcalGainRatiosRcd.h:5
EcalPedestals
EcalPedestalsMap EcalPedestals
Definition: EcalPedestals.h:50
EcalUncalibRecHitRatioMethodAlgo
Definition: EcalUncalibRecHitRatioMethodAlgo.h:32
EcalEndcap
Definition: EcalSubdetector.h:10
EcalUncalibratedRecHit::setAmplitude
void setAmplitude(float amplitude)
Definition: EcalUncalibratedRecHit.h:40
EcalUncalibRecHitWorkerRatio::EBtimeFitParameters_
std::vector< double > EBtimeFitParameters_
Definition: EcalUncalibRecHitWorkerRatio.h:56
EcalUncalibRecHitWorkerRatio::gainsToken_
edm::ESGetToken< EcalGainRatios, EcalGainRatiosRcd > gainsToken_
Definition: EcalUncalibRecHitWorkerRatio.h:50
EcalCondObjectContainer::Item
T Item
Definition: EcalCondObjectContainer.h:15
EcalUncalibRecHitWorkerRatio::pedRMSVec
double pedRMSVec[3]
Definition: EcalUncalibRecHitWorkerRatio.h:53
EEDetId::hashedIndex
int hashedIndex() const
Definition: EEDetId.h:183
edm::EventSetup::getHandle
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:148
EcalUncalibRecHitWorkerRunOneDigiBase::EcalUncalibRecHitWorkerRunOneDigiBase
EcalUncalibRecHitWorkerRunOneDigiBase()
Definition: EcalUncalibRecHitWorkerRunOneDigiBase.h:15
edm::ParameterSetDescription::addNode
ParameterDescriptionNode * addNode(ParameterDescriptionNode const &node)
Definition: ParameterSetDescription.cc:41
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
EcalUncalibRecHitWorkerRatio::gains
edm::ESHandle< EcalGainRatios > gains
Definition: EcalUncalibRecHitWorkerRatio.h:49
EcalUncalibratedRecHit
Definition: EcalUncalibratedRecHit.h:8
EcalUncalibratedRecHit::setJitterError
void setJitterError(float jitterErr)
Definition: EcalUncalibratedRecHit.cc:45
EcalUncalibRecHitWorkerRatio::uncalibMaker_barrel_
EcalUncalibRecHitRatioMethodAlgo< EBDataFrame > uncalibMaker_barrel_
Definition: EcalUncalibRecHitWorkerRatio.h:68
EcalUncalibRecHitWorkerRatio::sampleMaskToken_
edm::ESGetToken< EcalSampleMask, EcalSampleMaskRcd > sampleMaskToken_
Definition: EcalUncalibRecHitWorkerRatio.h:45
EcalMGPAGainRatio::gain6Over1
float gain6Over1() const
Definition: EcalMGPAGainRatio.h:20
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
EcalUncalibRecHitRatioMethodAlgo::fixMGPAslew
bool fixMGPAslew(const C &dataFrame)
Definition: EcalUncalibRecHitRatioMethodAlgo.h:179
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
mps_fire.result
result
Definition: mps_fire.py:311
EcalUncalibRecHitWorkerRatio::pedsToken_
edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > pedsToken_
Definition: EcalUncalibRecHitWorkerRatio.h:48
EcalPedestalsRcd
Definition: EcalPedestalsRcd.h:5
EcalUncalibRecHitRatioMethodAlgo::makeRecHit
EcalUncalibratedRecHit makeRecHit(const C &dataFrame, const EcalSampleMask &sampleMask, const double *pedestals, const double *pedestalRMSes, const double *gainRatios, std::vector< double > &timeFitParameters, std::vector< double > &amplitudeFitParameters, std::pair< double, double > &timeFitLimits)
Definition: EcalUncalibRecHitRatioMethodAlgo.h:584
ecalpyutils::hashedIndex
int hashedIndex(int ieta, int iphi)
Definition: EcalPyUtils.cc:38
edm::ParameterDescription
Definition: ParameterDescription.h:110
EcalMGPAGainRatio
Definition: EcalMGPAGainRatio.h:13