117 pedVec[0] = aped->mean_x12;
118 pedVec[1] = aped->mean_x6;
119 pedVec[2] = aped->mean_x1;
127 float clockToNsConstant = 25.;
142 uncalibRecHit.
setJitter(crh.timeMax - 5);
163 uncalibRecHit.
setJitter(crh.timeMax - 5 - 0.04);
165 uncalibRecHit.
setJitter(crh.timeMax - 5);
170 result.push_back(uncalibRecHit);
177 std::vector<double> dSet1 = {-2.390548, 3.553628, -17.62341, 67.67538, -133.213, 140.7432, -75.41106, 16.20277};
178 std::vector<double> dSet2 = {-2.015452, 3.130702, -12.3473, 41.88921, -82.83944, 91.01147, -50.35761, 11.05621};
200 "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_