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 {
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;
virtual EcalRecHit makeRecHit(const EcalUncalibratedRecHit &uncalibRH, const float &intercalibConstant, const float &timeIntercalib=0, const uint32_t &flags=0) const
Compute parameters.
bool adcToGeVConstantIsSet_
std::vector< Variable::Flags > flags
virtual void setADCToGeVConstant(const float &value)
make rechits from dataframes
uint8_t jitterErrorBits() const
virtual ~EcalRecHitSimpleAlgo()
bool checkFlag(Flags flag) const
float outOfTimeEnergy() const