EDProducer to translate RecHits ordered by SimTrackId to RecHits expected by the full pattern recognition. More...
#include <TrackingRecHitTranslator.h>
Public Member Functions | |
virtual void | beginRun (edm::Run const &run, const edm::EventSetup &es) override |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) override |
TrackingRecHitTranslator (const edm::ParameterSet &conf) | |
virtual | ~TrackingRecHitTranslator () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | loadRecHits (std::map< DetId, edm::OwnVector< SiTrackerGSRecHit2D > > &theRecHits, SiTrackerFullGSRecHit2DCollection &theRecHitCollection) const |
Private Attributes | |
const TrackerGeometry * | geometry |
edm::InputTag | hitCollectionInputTag_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
EDProducer to translate RecHits ordered by SimTrackId to RecHits expected by the full pattern recognition.
Definition at line 28 of file TrackingRecHitTranslator.h.
|
explicit |
Description: see TrackingRecHitTranslator.h Authors: R. Ranieri (CERN)
Definition at line 33 of file TrackingRecHitTranslator.cc.
|
virtual |
Definition at line 40 of file TrackingRecHitTranslator.cc.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 43 of file TrackingRecHitTranslator.cc.
References geometry, and edm::EventSetup::get().
|
private |
Definition at line 95 of file TrackingRecHitTranslator.cc.
References edm::RangeMap< ID, C, P >::put().
Referenced by produce().
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 52 of file TrackingRecHitTranslator.cc.
References edm::Event::getByLabel(), hitCollectionInputTag_, loadRecHits(), and edm::Event::put().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 47 of file TrackingRecHitTranslator.h.
Referenced by beginRun(), and Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent().
|
private |
Definition at line 49 of file TrackingRecHitTranslator.h.
Referenced by produce().