51 aped = &
peds->endcap(hashedIndex);
52 aGain = &
gains->endcap(hashedIndex);
55 aped = &
peds->barrel(hashedIndex);
56 aGain = &
gains->barrel(hashedIndex);
59 pedVec[0] = aped->mean_x12;
69 float clockToNsConstant = 25.;
81 uncalibRecHit.
setJitter( crh.timeMax - 5 );
99 uncalibRecHit.
setJitter( crh.timeMax - 5 - 0.04 );
101 uncalibRecHit.
setJitter( crh.timeMax - 5);
T getParameter(std::string const &) const
int hashedIndex() const
get a compact index for arrays
void set(const edm::EventSetup &es)
void computeAmplitude(std::vector< double > &litudeFitParameters)
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
EcalUncalibRecHitRatioMethodAlgo< EBDataFrame > uncalibMaker_barrel_
edm::ESHandle< EcalPedestals > peds
CalculatedRecHit getCalculatedRecHit()
void computeTime(std::vector< double > &timeFitParameters, std::pair< double, double > &timeFitLimits, std::vector< double > &litudeFitParameters)
std::vector< double > EEamplitudeFitParameters_
void push_back(T const &t)
std::pair< double, double > EEtimeFitLimits_
EcalUncalibRecHitWorkerRatio(const edm::ParameterSet &)
edm::ESHandle< EcalGainRatios > gains
void setJitterError(float jitterErr)
int hashedIndex(int ieta, int iphi)
void setJitter(double jitter)
bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result)
double EEtimeConstantTerm_
std::vector< double > EEtimeFitParameters_
bool fixMGPAslew(const C &dataFrame)
void init(const C &dataFrame, const double *pedestals, const double *pedestalRMSes, const double *gainRatios)
float gain12Over6() const
double EBtimeConstantTerm_
std::pair< double, double > EBtimeFitLimits_
EcalUncalibRecHitRatioMethodAlgo< EEDataFrame > uncalibMaker_endcap_
#define DEFINE_EDM_PLUGIN(factory, type, name)
std::vector< double > EBtimeFitParameters_
std::vector< double > EBamplitudeFitParameters_
void setAmplitude(double amplitude)
Power< A, B >::type pow(const A &a, const B &b)