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 ( const edm::ParameterSet iConfig)

Definition at line 23 of file SeedingLayersEDProducer.cc.

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

Definition at line 27 of file SeedingLayersEDProducer.cc.

27 {}

Member Function Documentation

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

Definition at line 29 of file SeedingLayersEDProducer.cc.

References edm::ConfigurationDescriptions::add(), 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)
void SeedingLayersEDProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
override

Definition at line 36 of file SeedingLayersEDProducer.cc.

References builder_, DEFINE_FWK_MODULE, SeedingLayerSetsBuilder::hits(), eostools::move(), dumpMFGeometry_cfg::prod, and edm::Event::put().

36  {
37  auto prod = builder_.hits(iEvent, iSetup);
38  //prod->print();
39 
40  iEvent.put(std::move(prod));
41 }
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:131
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

SeedingLayerSetsBuilder SeedingLayersEDProducer::builder_
private

Definition at line 20 of file SeedingLayersEDProducer.cc.

Referenced by produce().