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 hasAbilityToProduceInLumis () const final
 
bool hasAbilityToProduceInRuns () 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 11 of file SeedingLayersEDProducer.cc.

Constructor & Destructor Documentation

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

Definition at line 24 of file SeedingLayersEDProducer.cc.

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

Definition at line 29 of file SeedingLayersEDProducer.cc.

29 {}

Member Function Documentation

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

Definition at line 31 of file SeedingLayersEDProducer.cc.

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

31  {
34 
35  descriptions.add("seedingLayersEDProducer", desc);
36 }
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 38 of file SeedingLayersEDProducer.cc.

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

38  {
39  auto prod = builder_.hits(iEvent, iSetup);
40  //prod->print();
41 
42  iEvent.put(std::move(prod));
43 }
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:137
std::unique_ptr< SeedingLayerSetsHits > hits(const edm::Event &ev, const edm::EventSetup &es)
SeedingLayerSetsBuilder builder_
def move(src, dest)
Definition: eostools.py:510

Member Data Documentation

SeedingLayerSetsBuilder SeedingLayersEDProducer::builder_
private

Definition at line 21 of file SeedingLayersEDProducer.cc.

Referenced by produce().