1 #ifndef RecoLocalCalo_EcalRecAlgos_EcalRecHitSimpleAlgo_HH
2 #define RecoLocalCalo_EcalRecAlgos_EcalRecHitSimpleAlgo_HH
37 const float& intercalibConstant,
38 const float& timeIntercalib = 0,
39 const uint32_t&
flags = 0)
const {
42 std::cout <<
"EcalRecHitSimpleAlgo::makeRecHit: adcToGeVConstant_ not set before calling this method!" <<
43 " will use -1 and produce bogus rechits!" << std::endl;
46 float clockToNsConstant = 25;
48 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
float outOfTimeChi2() const
uint8_t jitterErrorBits() const
virtual ~EcalRecHitSimpleAlgo()
bool checkFlag(Flags flag) const
float outOfTimeEnergy() const