1 #ifndef RecoLocalCalo_HGCalRecAlgos_HGCalUncalibRecHitRecWeightsAlgo_HH
2 #define RecoLocalCalo_HGCalRecAlgos_HGCalUncalibRecHitRecWeightsAlgo_HH
37 double amplitude_(-1.), pedestal_(-1.), jitter_(-1.), chi2_(-1.);
41 const auto&
sample = dataFrame.sample(iSample);
47 flag = !
sample.threshold();
54 LogDebug(
"HGCUncalibratedRecHit") <<
"TDC+: set the energy to: " << amplitude_ <<
' ' <<
sample.data()
56 <<
"TDC+: set the jitter to: " << jitter_ <<
' '
58 <<
" flag=" << flag << std::endl;
62 LogDebug(
"HGCUncalibratedRecHit") <<
"ADC+: set the energy to: " << amplitude_ <<
' ' <<
sample.data()
63 <<
' ' <<
adcLSB_ <<
' ' << std::endl;
68 LogDebug(
"HGCUncalibratedRecHit") <<
"ADC+: set the energy to: " << amplitude_ <<
' ' <<
sample.data()
69 <<
' ' <<
adcLSB_ <<
' ' << std::endl;
72 LogDebug(
"HGCUncalibratedRecHit") <<
"Final uncalibrated amplitude : " << amplitude_ << std::endl;
virtual void set_tdcOnsetfC(const double tdcOnset)
virtual void set_ADCLSB(const double adclsb)
virtual HGCUncalibratedRecHit makeRecHit(const C &dataFrame)
Compute parameters.
virtual void set_toaLSBToNS(const double lsb2ns)
virtual void set_TDCLSB(const double tdclsb)
virtual void set_isSiFESim(const bool isSiFE)