29 thresholdToKeep_(conf.getParameter<double>(
"thresholdToKeep")),
30 calibration_(conf.getParameter<double>(
"calibrationConstant")) {
40 unsigned char flagsWord = uRecHit.
flags();
48 float positionError = -1.f;
61 time = 0.5 * (uRecHit.
time().first + uRecHit.
time().second);
FTLRecHit makeRecHit(const FTLUncalibratedRecHit &uRecHit, uint32_t &flags) const final
make the rec hit
void getEvent(const edm::Event &) final
get event and eventsetup information
~MTDRecHitAlgo() override
Destructor.
float positionError() const
void getEventSetup(const edm::EventSetup &) final
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
std::pair< float, float > amplitude() const
edm::ESGetToken< MTDTimeCalib, MTDTimeCalibRecord > tcToken_
MTDRecHitAlgo(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
std::pair< float, float > time() const
static int position[264][3]
#define DEFINE_EDM_PLUGIN(factory, type, name)
const MTDTimeCalib * time_calib_
float getTimeCalib(const MTDDetId &id) const
unsigned char flags() const