10 adcNBits_( conf.getParameter<uint32_t>(
"adcNbits") ),
13 toaLSBToNS_( conf.getParameter<double>(
"toaLSB_ns") ),
14 timeError_( conf.getParameter<double>(
"timeResolutionInNs") ),
15 timeCorr_p0_( conf.getParameter<double>(
"timeCorr_p0") ),
16 timeCorr_p1_( conf.getParameter<double>(
"timeCorr_p1") ),
55 unsigned char flag = 0;
57 LogDebug(
"BTLUncalibRecHit") <<
"ADC+: set the charge to: " << amplitude <<
' ' <<
sample.data()
58 <<
' ' <<
adcLSB_ <<
' ' << std::endl;
59 LogDebug(
"BTLUncalibRecHit") <<
"ADC+: set the time to: " << time <<
' ' <<
sample.toa()
61 LogDebug(
"BTLUncalibRecHit") <<
"Final uncalibrated amplitude : " << amplitude << std::endl;
const double adcSaturation_
const D & id() const
det id
~BTLUncalibRecHitAlgo() override
Destructor.
BTLUncalibRecHitAlgo(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
FTLUncalibratedRecHit makeRecHit(const BTLDataFrame &dataFrame) const final
make the rec hit
void getEvent(const edm::Event &) final
get event and eventsetup information
const S & sample(int i) const
const double timeCorr_p1_
const double timeCorr_p0_
void getEventSetup(const edm::EventSetup &) final
#define DEFINE_EDM_PLUGIN(factory, type, name)
const double timeCorr_p2_
Power< A, B >::type pow(const A &a, const B &b)