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 int row() const
row
const reco::FormulaEvaluator timeError_
const S & sample(int i) const
ETLUncalibRecHitAlgo(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
~ETLUncalibRecHitAlgo() override
Destructor.
const double adcSaturation_
void getEvent(const edm::Event &) final
get event and eventsetup information
const int column() const
column
#define DEFINE_EDM_PLUGIN(factory, type, name)
const D & id() const
det id
void getEventSetup(const edm::EventSetup &) final