CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SeedingLayersEDProducer.cc
Go to the documentation of this file.
3 
9 
11 public:
13  ~SeedingLayersEDProducer() override;
14 
15  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
16 
17  void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
18 
19 private:
21 };
22 
24  : builder_(iConfig, consumesCollector()) {
25  produces<SeedingLayerSetsHits>();
26 }
28 
32 
33  descriptions.add("seedingLayersEDProducer", desc);
34 }
35 
37  auto prod = builder_.hits(iEvent, iSetup);
38  //prod->print();
39 
40  iEvent.put(std::move(prod));
41 }
42 
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:133
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
int iEvent
Definition: GenABIO.cc:224
def move
Definition: eostools.py:511
std::unique_ptr< SeedingLayerSetsHits > hits(const edm::Event &ev, const edm::EventSetup &es)
#define dso_hidden
Definition: Visibility.h:12
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
SeedingLayersEDProducer(const edm::ParameterSet &iConfig)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
SeedingLayerSetsBuilder builder_
static void fillDescriptions(edm::ParameterSetDescription &desc)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)