58 aped = &
peds->endcap(hashedIndex);
59 aGain = &
gains->endcap(hashedIndex);
62 aped = &
peds->barrel(hashedIndex);
63 aGain = &
gains->barrel(hashedIndex);
76 float clockToNsConstant = 25.;
90 uncalibRecHit.
setJitter( crh.timeMax - 5 );
113 uncalibRecHit.
setJitter( crh.timeMax - 5 - 0.04 );
115 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)
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
EcalUncalibRecHitRatioMethodAlgo< EBDataFrame > uncalibMaker_barrel_
void setJitter(float jitter)
edm::ESHandle< EcalPedestals > peds
CalculatedRecHit getCalculatedRecHit()
std::vector< double > EEamplitudeFitParameters_
void push_back(T const &t)
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)
EcalUncalibRecHitWorkerRatio(const edm::ParameterSet &, edm::ConsumesCollector &c)
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_
std::vector< double > EBamplitudeFitParameters_
Power< A, B >::type pow(const A &a, const B &b)