Go to the documentation of this file.
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);
const MTDTimeCalib * time_calib_
FTLRecHit makeRecHit(const FTLUncalibratedRecHit &uRecHit, uint32_t &flags) const final
make the rec hit
void getEventSetup(const edm::EventSetup &) final
edm::ESGetToken< MTDTimeCalib, MTDTimeCalibRecord > tcToken_
#define DEFINE_EDM_PLUGIN(factory, type, name)
float getTimeCalib(const MTDDetId &id) const
float positionError() const
static int position[264][3]
MTDRecHitAlgo(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Constructor.
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
void getEvent(const edm::Event &) final
get event and eventsetup information
unsigned char flags() const
std::pair< float, float > amplitude() const
~MTDRecHitAlgo() override
Destructor.
std::pair< float, float > time() const