CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
SeedingLayersEDProducer Class Reference
Inheritance diagram for SeedingLayersEDProducer:
edm::stream::EDProducer<>

Public Member Functions

void produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override
 
 SeedingLayersEDProducer (const edm::ParameterSet &iConfig)
 
 ~SeedingLayersEDProducer () override
 
- 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

SeedingLayerSetsBuilder builder_
 

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, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 

Detailed Description

Definition at line 10 of file SeedingLayersEDProducer.cc.

Constructor & Destructor Documentation

◆ SeedingLayersEDProducer()

SeedingLayersEDProducer::SeedingLayersEDProducer ( const edm::ParameterSet iConfig)

Definition at line 23 of file SeedingLayersEDProducer.cc.

24  : builder_(iConfig, consumesCollector()) {
25  produces<SeedingLayerSetsHits>();
26 }

◆ ~SeedingLayersEDProducer()

SeedingLayersEDProducer::~SeedingLayersEDProducer ( )
override

Definition at line 27 of file SeedingLayersEDProducer.cc.

27 {}

Member Function Documentation

◆ fillDescriptions()

void SeedingLayersEDProducer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 29 of file SeedingLayersEDProducer.cc.

29  {
32 
33  descriptions.add("seedingLayersEDProducer", desc);
34 }

References edm::ConfigurationDescriptions::add(), and SeedingLayerSetsBuilder::fillDescriptions().

◆ produce()

void SeedingLayersEDProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
override

Definition at line 36 of file SeedingLayersEDProducer.cc.

36  {
37  auto prod = builder_.hits(iEvent, iSetup);
38  //prod->print();
39 
40  iEvent.put(std::move(prod));
41 }

References builder_, SeedingLayerSetsBuilder::hits(), iEvent, eostools::move(), and dumpMFGeometry_cfg::prod.

Member Data Documentation

◆ builder_

SeedingLayerSetsBuilder SeedingLayersEDProducer::builder_
private

Definition at line 20 of file SeedingLayersEDProducer.cc.

Referenced by produce().

edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
SeedingLayerSetsBuilder::hits
std::unique_ptr< SeedingLayerSetsHits > hits(const edm::Event &ev, const edm::EventSetup &es)
Definition: SeedingLayerSetsBuilder.cc:361
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
dumpMFGeometry_cfg.prod
prod
Definition: dumpMFGeometry_cfg.py:24
iEvent
int iEvent
Definition: GenABIO.cc:224
SeedingLayerSetsBuilder::fillDescriptions
static void fillDescriptions(edm::ParameterSetDescription &desc)
Definition: SeedingLayerSetsBuilder.cc:241
SeedingLayersEDProducer::builder_
SeedingLayerSetsBuilder builder_
Definition: SeedingLayersEDProducer.cc:20
eostools.move
def move(src, dest)
Definition: eostools.py:511