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 |
|
inlineoverride |
|
inlinefinalvirtual |
get event and eventsetup information
Implements MTDRecHitAlgoBase.
Definition at line 18 of file MTDRecHitAlgo.cc.
|
finalvirtual |
Implements MTDRecHitAlgoBase.
Definition at line 29 of file MTDRecHitAlgo.cc.
References edm::EventSetup::get(), get, edm::ESHandle< T >::product(), and time_calib_.
|
finalvirtual |
make the rec hit
position and positionError in unit cm
Implements MTDRecHitAlgoBase.
Definition at line 35 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(), ntuplemaker::time, time_calib_, and FTLUncalibratedRecHit::timeError().
|
private |
Definition at line 25 of file MTDRecHitAlgo.cc.
Referenced by makeRecHit().
|
private |
Definition at line 25 of file MTDRecHitAlgo.cc.
Referenced by makeRecHit().
|
private |
Definition at line 26 of file MTDRecHitAlgo.cc.
Referenced by getEventSetup(), and makeRecHit().