52 DetId detid(itdg->id());
61 aped = &
peds->endcap(hashedIndex);
62 aGain = &
gains->endcap(hashedIndex);
65 aped = &
peds->barrel(hashedIndex);
66 aGain = &
gains->barrel(hashedIndex);
79 float clockToNsConstant = 25.;
93 uncalibRecHit.
setJitter( crh.timeMax - 5 );
116 uncalibRecHit.
setJitter( crh.timeMax - 5 - 0.04 );
118 uncalibRecHit.
setJitter( crh.timeMax - 5);
134 std::vector<double> dSet1 = {-2.390548,3.553628,-17.62341,67.67538,-133.213,140.7432,-75.41106,16.20277};
135 std::vector<double> dSet2 = {-2.015452, 3.130702, -12.3473, 41.88921, -82.83944, 91.01147, -50.35761, 11.05621};
T getParameter(std::string const &) const
int hashedIndex() const
get a compact index for arrays
void set(const edm::EventSetup &es)
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
EcalUncalibRecHitRatioMethodAlgo< EBDataFrame > uncalibMaker_barrel_
void setJitter(float jitter)
edm::ESHandle< EcalPedestals > peds
EcalUncalibRecHitWorkerRatio()
CalculatedRecHit getCalculatedRecHit()
std::vector< double > EEamplitudeFitParameters_
void push_back(T const &t)
ParameterDescriptionNode * addNode(ParameterDescriptionNode const &node)
std::pair< double, double > EEtimeFitLimits_
edm::ESHandle< EcalGainRatios > gains
void setJitterError(float jitterErr)
edm::ESHandle< EcalSampleMask > sampleMaskHand_
int hashedIndex(int ieta, int iphi)
EcalUncalibratedRecHit makeRecHit(const C &dataFrame, const EcalSampleMask &sampleMask, const double *pedestals, const double *pedestalRMSes, const double *gainRatios, std::vector< double > &timeFitParameters, std::vector< double > &litudeFitParameters, std::pair< double, double > &timeFitLimits)
bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result)
double EEtimeConstantTerm_
std::vector< double > EEtimeFitParameters_
bool fixMGPAslew(const C &dataFrame)
T const * product() const
float gain12Over6() const
double EBtimeConstantTerm_
std::pair< double, double > EBtimeFitLimits_
EcalUncalibRecHitRatioMethodAlgo< EEDataFrame > uncalibMaker_endcap_
#define DEFINE_EDM_PLUGIN(factory, type, name)
void setAmplitude(float amplitude)
std::vector< double > EBtimeFitParameters_
edm::ParameterSetDescription getAlgoDescription()
std::vector< double > EBamplitudeFitParameters_
Power< A, B >::type pow(const A &a, const B &b)