1 #ifndef RecoLocalCalo_EcalRecAlgos_EcalRecHitSimpleAlgo_HH 2 #define RecoLocalCalo_EcalRecAlgos_EcalRecHitSimpleAlgo_HH 33 const float& intercalibConstant,
34 const float& timeIntercalib = 0,
35 const uint32_t&
flags = 0)
const override {
37 std::cout <<
"EcalRecHitSimpleAlgo::makeRecHit: adcToGeVConstant_ not set before calling this method!" 38 <<
" will use -1 and produce bogus rechits!" << std::endl;
41 float clockToNsConstant = 25;
43 float time = uncalibRH.
jitter() * clockToNsConstant + timeIntercalib;
bool adcToGeVConstantIsSet_
~EcalRecHitSimpleAlgo() override
EcalRecHit makeRecHit(const EcalUncalibratedRecHit &uncalibRH, const float &intercalibConstant, const float &timeIntercalib=0, const uint32_t &flags=0) const override
Compute parameters.
uint8_t jitterErrorBits() const
void setADCToGeVConstant(const float &value) override
make rechits from dataframes
bool checkFlag(Flags flag) const
float amplitudeError() const