1 #ifndef RecoLocalCalo_EcalRecAlgos_EcalRecHitSimpleAlgo_HH 2 #define RecoLocalCalo_EcalRecAlgos_EcalRecHitSimpleAlgo_HH 34 const float& intercalibConstant,
35 const float& timeIntercalib = 0,
36 const uint32_t&
flags = 0)
const override {
39 std::cout <<
"EcalRecHitSimpleAlgo::makeRecHit: adcToGeVConstant_ not set before calling this method!" <<
40 " will use -1 and produce bogus rechits!" << std::endl;
43 float clockToNsConstant = 25;
45 float time = uncalibRH.
jitter() * clockToNsConstant + timeIntercalib;
bool adcToGeVConstantIsSet_
std::vector< Variable::Flags > flags
~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