10 uint32_t BTL_nBits = conf.
getParameter<uint32_t>(
"BTLadcNbits");
11 double BTL_saturation = conf.
getParameter<
double>(
"BTLadcSaturation");
16 uint32_t ETL_nBits = conf.
getParameter<uint32_t>(
"ETLadcNbits");
17 double ETL_saturation = conf.
getParameter<
double>(
"ETLadcSaturation");
47 unsigned char flag = 0;
49 LogDebug(
"MTDUncalibRecHit") <<
"ADC+: set the charge to: " << amplitude <<
' ' <<
sample.data()
51 LogDebug(
"MTDUncalibRecHit") <<
"ADC+: set the time to: " << time <<
' ' <<
sample.toa()
53 LogDebug(
"MTDUncalibRecHit") <<
"Final uncalibrated amplitude : " << amplitude << std::endl;
64 unsigned char flag = 0;
66 LogDebug(
"MTDUncalibRecHit") <<
"ADC+: set the charge to: " << amplitude <<
' ' <<
sample.data()
68 LogDebug(
"MTDUncalibRecHit") <<
"ADC+: set the time to: " << time <<
' ' <<
sample.toa()
70 LogDebug(
"MTDUncalibRecHit") <<
"Final uncalibrated amplitude : " << amplitude << std::endl;
T getParameter(std::string const &) const
MTDUncalibRecHitAlgo(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
const D & id() const
det id
void getEvent(const edm::Event &) final
get event and eventsetup information
const S & sample(int i) const
~MTDUncalibRecHitAlgo() override
Destructor.
void getEventSetup(const edm::EventSetup &) final
FTLUncalibratedRecHit makeRecHit(const BTLDataFrame &dataFrame) const final
make the rec hit
#define DEFINE_EDM_PLUGIN(factory, type, name)