CMS 3D CMS Logo

SeedingLayersEDProducer.cc
Go to the documentation of this file.
3 
9 
10 
12 public:
14  ~SeedingLayersEDProducer() override;
15 
16  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
17 
18  void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
19 
20 private:
22 };
23 
25  builder_(iConfig, consumesCollector())
26 {
27  produces<SeedingLayerSetsHits>();
28 }
30 
34 
35  descriptions.add("seedingLayersEDProducer", desc);
36 }
37 
39  auto prod = builder_.hits(iEvent, iSetup);
40  //prod->print();
41 
42  iEvent.put(std::move(prod));
43 }
44 
#define dso_hidden
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:136
virtual void produce(Event &, EventSetup const &)=0
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
static void fillDescriptions(ConfigurationDescriptions &descriptions)
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
int iEvent
Definition: GenABIO.cc:230
std::unique_ptr< SeedingLayerSetsHits > hits(const edm::Event &ev, const edm::EventSetup &es)
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)
def move(src, dest)
Definition: eostools.py:510