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_ |
double | thresholdToKeep_ |
const MTDTimeCalib * | time_calib_ |
Definition at line 6 of file MTDRecHitAlgo.cc.
|
inline |
Constructor.
Definition at line 9 of file MTDRecHitAlgo.cc.
|
inlineoverride |
|
inlinefinalvirtual |
get event and eventsetup information
Implements MTDRecHitAlgoBase.
Definition at line 19 of file MTDRecHitAlgo.cc.
References flags, getEventSetup(), and makeRecHit().
|
finalvirtual |
Implements MTDRecHitAlgoBase.
Definition at line 30 of file MTDRecHitAlgo.cc.
References edm::EventSetup::get(), edm::ESHandle< T >::product(), and time_calib_.
Referenced by getEvent().
|
finalvirtual |
make the rec hit
Implements MTDRecHitAlgoBase.
Definition at line 38 of file MTDRecHitAlgo.cc.
References FTLUncalibratedRecHit::amplitude(), calibration_, FTLUncalibratedRecHit::column(), DEFINE_EDM_PLUGIN, FTLUncalibratedRecHit::flags(), MTDTimeCalib::getTimeCalib(), FTLUncalibratedRecHit::id(), FTLRecHit::kGood, FTLRecHit::kKilled, FTLUncalibratedRecHit::row(), thresholdToKeep_, FTLUncalibratedRecHit::time(), protons_cff::time, time_calib_, and FTLUncalibratedRecHit::timeError().
Referenced by getEvent().
|
private |
Definition at line 26 of file MTDRecHitAlgo.cc.
Referenced by makeRecHit().
|
private |
Definition at line 26 of file MTDRecHitAlgo.cc.
Referenced by makeRecHit().
|
private |
Definition at line 27 of file MTDRecHitAlgo.cc.
Referenced by getEventSetup(), and makeRecHit().