10 uint32_t nBits = conf.
getParameter<uint32_t>(
"adcNbits");
11 double saturation = conf.
getParameter<
double>(
"adcSaturation");
12 adcLSB_ = saturation/(1<<nBits);
40 unsigned char flag = 0;
42 LogDebug(
"FTLSimpleUncalibRecHit") <<
"ADC+: set the charge to: " << amplitude <<
' ' <<
sample.data()
43 <<
' ' <<
adcLSB_ <<
' ' << std::endl;
44 LogDebug(
"FTLSimpleUncalibRecHit") <<
"ADC+: set the time to: " << time <<
' ' <<
sample.toa()
46 LogDebug(
"FTLSimpleUncalibRecHit") <<
"Final uncalibrated amplitude : " << amplitude << std::endl;
T getParameter(std::string const &) const
void getEvent(const edm::Event &) final
get event and eventsetup information
const S & sample(int i) const
FTLUncalibratedRecHit makeRecHit(const FTLDataFrame &dataFrame) const final
make the rec hit
~FTLSimpleUncalibRecHitAlgo() override
Destructor.
FTLSimpleUncalibRecHitAlgo(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
#define DEFINE_EDM_PLUGIN(factory, type, name)
void getEventSetup(const edm::EventSetup &) final
const D & id() const
det id