10 double saturation = conf.
getParameter<
double>(
"adcSaturation");
11 adcLSB_ = saturation / (1 << nBits);
38 unsigned char flag = 0;
40 LogDebug(
"FTLSimpleUncalibRecHit") <<
"ADC+: set the charge to: " << amplitude <<
' ' <<
sample.data() <<
' ' 44 LogDebug(
"FTLSimpleUncalibRecHit") <<
"Final uncalibrated amplitude : " << amplitude << std::endl;
47 dataFrame.
id(), std::make_pair(amplitude, 0.), std::make_pair(time, 0.),
timeError_,
flag);
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