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
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Private Attributes

SeedingLayerSetsBuilder builder_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::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 }
SeedingLayerSetsBuilder builder_

◆ ~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.

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

29  {
32 
33  descriptions.add("seedingLayersEDProducer", desc);
34 }
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ParameterSetDescription &desc)

◆ produce()

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

Definition at line 36 of file SeedingLayersEDProducer.cc.

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

36  {
37  auto prod = builder_.hits(iEvent, iSetup);
38  //prod->print();
39 
40  iEvent.put(std::move(prod));
41 }
int iEvent
Definition: GenABIO.cc:224
std::unique_ptr< SeedingLayerSetsHits > hits(const edm::Event &ev, const edm::EventSetup &es)
SeedingLayerSetsBuilder builder_
def move(src, dest)
Definition: eostools.py:511

Member Data Documentation

◆ builder_

SeedingLayerSetsBuilder SeedingLayersEDProducer::builder_
private

Definition at line 20 of file SeedingLayersEDProducer.cc.

Referenced by produce().