11 adcNBits_(conf.getParameter<uint32_t>(
"adcNbits")),
14 toaLSBToNS_(conf.getParameter<double>(
"toaLSB_ns")),
15 tofDelay_(conf.getParameter<double>(
"tofDelay")),
20 timeCorr_p3_(conf.getParameter<double>(
"timeCorr_p3")) {}
50 const std::array<double, 1> time_over_threshold_V = {{time_over_threshold}};
52 unsigned char flag = 0;
54 LogDebug(
"ETLUncalibRecHit") <<
"ADC+: set the charge to: " << time_over_threshold <<
' ' <<
sample.tot() <<
' ' 57 if (time_over_threshold == 0) {
63 timeCorr_p2_ * time_over_threshold * time_over_threshold +
64 timeCorr_p3_ * time_over_threshold * time_over_threshold * time_over_threshold;
69 <<
" .Timewalk correction: " << timeWalkCorr;
72 LogDebug(
"ETLUncalibRecHit") <<
"Final uncalibrated time_over_threshold: " << time_over_threshold;
74 const std::array<double, 1> emptyV = {{0.}};
81 {time_over_threshold_V[0], 0.f},
FTLUncalibratedRecHit makeRecHit(const ETLDataFrame &dataFrame) const final
make the rec hit
const double timeCorr_p1_
const double timeCorr_p2_
const reco::FormulaEvaluator timeError_
ETLUncalibRecHitAlgo(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
const double timeCorr_p0_
const D & id() const
det id
~ETLUncalibRecHitAlgo() override
Destructor.
const double adcSaturation_
const S & sample(int i) const
const double timeCorr_p3_
const int column() const
column
void getEvent(const edm::Event &) final
get event and eventsetup information
#define DEFINE_EDM_PLUGIN(factory, type, name)
void getEventSetup(const edm::EventSetup &) final