Public Member Functions | |
MTDTrackingRecHitProducer (const edm::ParameterSet &ps) | |
void | produce (edm::Event &evt, const edm::EventSetup &es) override |
void | run (edm::Handle< edmNew::DetSetVector< FTLCluster > > inputHandle, MTDTrackingDetSetVector &output) |
~MTDTrackingRecHitProducer () override=default | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
const MTDClusterParameterEstimator * | cpe_ |
const edm::EDGetTokenT< FTLClusterCollection > | ftlbClusters_ |
const edm::EDGetTokenT< FTLClusterCollection > | ftleClusters_ |
const MTDGeometry * | geom_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Definition at line 33 of file MTDTrackingRecHitProducer.cc.
|
explicit |
Definition at line 50 of file MTDTrackingRecHitProducer.cc.
|
overridedefault |
|
static |
Definition at line 57 of file MTDTrackingRecHitProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and HLT_2018_cff::InputTag.
|
override |
Definition at line 64 of file MTDTrackingRecHitProducer.cc.
References cpe_, ftlbClusters_, ftleClusters_, relativeConstraints::geom, geom_, edm::EventSetup::get(), get, edm::Event::getByToken(), eostools::move(), edm::ESHandle< T >::product(), edm::Event::put(), and run().
void MTDTrackingRecHitProducer::run | ( | edm::Handle< edmNew::DetSetVector< FTLCluster > > | inputHandle, |
MTDTrackingDetSetVector & | output | ||
) |
Iterate over DetUnits, then over Clusters and invoke the CPE on each, and make a RecHit to store the result.
Definition at line 92 of file MTDTrackingRecHitProducer.cc.
References edmNew::DetSetVector< T >::begin(), cpe_, DEBUG, TauDecayModes::dec, edmNew::DetSetVector< T >::end(), Exception, geom_, MTDClusterParameterEstimator::getParameters(), MTDGeometry::idToDetUnit(), input, edmNew::makeRefTo(), convertSQLitetoXML_cfg::output, edmNew::DetSetVector< T >::FastFiller::push_back(), edmNew::DetSet< T >::size(), hit::x, and hit::y.
Referenced by produce().
|
private |
Definition at line 47 of file MTDTrackingRecHitProducer.cc.
|
private |
Definition at line 43 of file MTDTrackingRecHitProducer.cc.
Referenced by produce().
|
private |
Definition at line 44 of file MTDTrackingRecHitProducer.cc.
Referenced by produce().
|
private |
Definition at line 46 of file MTDTrackingRecHitProducer.cc.