13 calibration_( conf.getParameter<double>(
"calibrationConstant") ) { }
40 unsigned char flagsWord = uRecHit.
flags();
46 switch ( flagsWord ) {
51 time = uRecHit.
time().second;
59 time = 0.5*(uRecHit.
time().first + uRecHit.
time().second);
67 time = uRecHit.
time().first;
void getEvent(const edm::Event &) final
get event and eventsetup information
~MTDRecHitAlgo() override
Destructor.
FTLRecHit makeRecHit(const FTLUncalibratedRecHit &uRecHit, uint32_t &flags) const final
make the rec hit
std::vector< Variable::Flags > flags
void getEventSetup(const edm::EventSetup &) final
MTDRecHitAlgo(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
std::pair< float, float > time() const
float getTimeCalib(const MTDDetId &id) const
#define DEFINE_EDM_PLUGIN(factory, type, name)
const MTDTimeCalib * time_calib_
std::pair< float, float > amplitude() const
unsigned char flags() const
T const * product() const