11 adcNBits_(conf.getParameter<uint32_t>(
"adcNbits")),
14 toaLSBToNS_(conf.getParameter<double>(
"toaLSB_ns")),
15 tofDelay_(conf.getParameter<double>(
"tofDelay")),
38 constexpr
int iSample = 2;
41 const std::array<double, 1> amplitudeV = {{double(
sample.data()) *
adcLSB_}};
45 unsigned char flag = 0;
47 LogDebug(
"ETLUncalibRecHit") <<
"ADC+: set the charge to: " << amplitudeV[0] <<
' ' <<
sample.data() <<
' ' <<
adcLSB_ 51 LogDebug(
"ETLUncalibRecHit") <<
"Final uncalibrated amplitude : " << amplitudeV[0] << std::endl;
53 const std::array<double, 1> emptyV = {{0.}};
FTLUncalibratedRecHit makeRecHit(const ETLDataFrame &dataFrame) const final
make the rec hit
const reco::FormulaEvaluator timeError_
ETLUncalibRecHitAlgo(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
const D & id() const
det id
~ETLUncalibRecHitAlgo() override
Destructor.
const double adcSaturation_
const S & sample(int i) const
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