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 | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
const MTDClusterParameterEstimator * | cpe_ |
edm::ESGetToken< MTDClusterParameterEstimator, MTDCPERecord > | cpeToken_ |
const edm::EDGetTokenT< FTLClusterCollection > | ftlbClusters_ |
const edm::EDGetTokenT< FTLClusterCollection > | ftleClusters_ |
const MTDGeometry * | geom_ |
edm::ESGetToken< MTDGeometry, MTDDigiGeometryRecord > | mtdgeoToken_ |
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 32 of file MTDTrackingRecHitProducer.cc.
|
explicit |
Definition at line 51 of file MTDTrackingRecHitProducer.cc.
References cpeToken_, and mtdgeoToken_.
|
overridedefault |
|
static |
Definition at line 60 of file MTDTrackingRecHitProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and HLT_FULL_cff::InputTag.
|
override |
Definition at line 67 of file MTDTrackingRecHitProducer.cc.
References cpe_, cpeToken_, ftlbClusters_, ftleClusters_, relativeConstraints::geom, geom_, edm::Event::getByToken(), edm::EventSetup::getTransientHandle(), eostools::move(), mtdgeoToken_, 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 93 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 46 of file MTDTrackingRecHitProducer.cc.
|
private |
Definition at line 48 of file MTDTrackingRecHitProducer.cc.
Referenced by MTDTrackingRecHitProducer(), and produce().
|
private |
Definition at line 42 of file MTDTrackingRecHitProducer.cc.
Referenced by produce().
|
private |
Definition at line 43 of file MTDTrackingRecHitProducer.cc.
Referenced by produce().
|
private |
Definition at line 45 of file MTDTrackingRecHitProducer.cc.
|
private |
Definition at line 47 of file MTDTrackingRecHitProducer.cc.
Referenced by MTDTrackingRecHitProducer(), and produce().