44 DetId detid(itdg->id());
61 pedVec[0] = aped->mean_x12;
71 float clockToNsConstant = 25.;
107 uncalibRecHit.
setJitter(crh.timeMax - 5 - 0.04);
109 uncalibRecHit.
setJitter(crh.timeMax - 5);
114 result.push_back(uncalibRecHit);
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};
144 "EcalUncalibRecHitWorkerRatio");
T getParameter(std::string const &) const
bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result) override
EcalUncalibRecHitRatioMethodAlgo< EBDataFrame > uncalibMaker_barrel_
void setJitter(float jitter)
edm::ESHandle< EcalPedestals > peds
edm::ESGetToken< EcalSampleMask, EcalSampleMaskRcd > sampleMaskToken_
EcalUncalibRecHitWorkerRatio()
CalculatedRecHit getCalculatedRecHit()
std::vector< double > EEamplitudeFitParameters_
ParameterDescriptionNode * addNode(ParameterDescriptionNode const &node)
edm::ESHandle< EcalGainRatios > gains
void setJitterError(float jitterErr)
edm::ESHandle< EcalSampleMask > sampleMaskHand_
edm::ESGetToken< EcalGainRatios, EcalGainRatiosRcd > gainsToken_
edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > pedsToken_
int hashedIndex(int ieta, int iphi)
T const * product() const
EcalGainRatioMap EcalGainRatios
void set(const edm::EventSetup &es) override
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)
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
edm::ParameterSetDescription getAlgoDescription() override
double EEtimeConstantTerm_
float gain12Over6() const
EcalPedestalsMap EcalPedestals
std::vector< double > EEtimeFitParameters_
bool fixMGPAslew(const C &dataFrame)
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
double EBtimeConstantTerm_
EcalUncalibRecHitRatioMethodAlgo< EEDataFrame > uncalibMaker_endcap_
int hashedIndex() const
get a compact index for arrays
std::pair< double, double > EBtimeFitLimits_
#define DEFINE_EDM_PLUGIN(factory, type, name)
void setAmplitude(float amplitude)
std::vector< double > EBtimeFitParameters_
std::vector< double > EBamplitudeFitParameters_
Power< A, B >::type pow(const A &a, const B &b)
std::pair< double, double > EEtimeFitLimits_