Public Member Functions | |
void | getEvent (const edm::Event &) final |
get event and eventsetup information More... | |
void | getEventSetup (const edm::EventSetup &) final |
FTLRecHit | makeRecHit (const FTLUncalibratedRecHit &uRecHit, uint32_t &flags) const final |
make the rec hit More... | |
MTDRecHitAlgo (const edm::ParameterSet &conf, edm::ConsumesCollector &sumes) | |
Constructor. More... | |
~MTDRecHitAlgo () override | |
Destructor. More... | |
Public Member Functions inherited from MTDRecHitAlgoBase | |
MTDRecHitAlgoBase (const edm::ParameterSet &conf, edm::ConsumesCollector &sumes) | |
Constructor. More... | |
const std::string & | name () const |
virtual | ~MTDRecHitAlgoBase () |
Destructor. More... | |
Private Attributes | |
double | calibration_ |
edm::ESGetToken< MTDTimeCalib, MTDTimeCalibRecord > | tcToken_ |
double | thresholdToKeep_ |
const MTDTimeCalib * | time_calib_ |
Definition at line 6 of file MTDRecHitAlgo.cc.
MTDRecHitAlgo::MTDRecHitAlgo | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | sumes | ||
) |
Constructor.
Definition at line 27 of file MTDRecHitAlgo.cc.
References edm::ConsumesCollector::esConsumes(), and tcToken_.
|
inlineoverride |
|
inlinefinalvirtual |
get event and eventsetup information
Implements MTDRecHitAlgoBase.
Definition at line 15 of file MTDRecHitAlgo.cc.
|
finalvirtual |
Implements MTDRecHitAlgoBase.
Definition at line 34 of file MTDRecHitAlgo.cc.
References edm::EventSetup::getHandle(), tcToken_, and time_calib_.
|
finalvirtual |
make the rec hit
position and positionError in unit cm
Implements MTDRecHitAlgoBase.
Definition at line 39 of file MTDRecHitAlgo.cc.
References FTLUncalibratedRecHit::amplitude(), calibration_, FTLUncalibratedRecHit::column(), HCALHighEnergyHPDFilter_cfi::energy, FTLUncalibratedRecHit::flags(), HLT_FULL_cff::flags, MTDTimeCalib::getTimeCalib(), FTLUncalibratedRecHit::id(), FTLRecHit::kGood, FTLRecHit::kKilled, FTLUncalibratedRecHit::position(), position, FTLUncalibratedRecHit::positionError(), FTLUncalibratedRecHit::row(), thresholdToKeep_, FTLUncalibratedRecHit::time(), protons_cff::time, time_calib_, and FTLUncalibratedRecHit::timeError().
|
private |
Definition at line 22 of file MTDRecHitAlgo.cc.
Referenced by makeRecHit().
|
private |
Definition at line 24 of file MTDRecHitAlgo.cc.
Referenced by getEventSetup(), and MTDRecHitAlgo().
|
private |
Definition at line 22 of file MTDRecHitAlgo.cc.
Referenced by makeRecHit().
|
private |
Definition at line 23 of file MTDRecHitAlgo.cc.
Referenced by getEventSetup(), and makeRecHit().