CMS 3D CMS Logo

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 
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
EDProducer.h
SeedingLayersEDProducer
Definition: SeedingLayersEDProducer.cc:10
MakerMacros.h
SeedingLayersEDProducer::produce
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: SeedingLayersEDProducer.cc:36
SeedingLayerSetsBuilder::hits
std::unique_ptr< SeedingLayerSetsHits > hits(const edm::Event &ev, const edm::EventSetup &es)
Definition: SeedingLayerSetsBuilder.cc:364
SeedingLayerSetsHits.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
SeedingLayerSetsBuilder.h
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
dumpMFGeometry_cfg.prod
prod
Definition: dumpMFGeometry_cfg.py:24
dso_hidden
#define dso_hidden
Definition: Visibility.h:12
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
iEvent
int iEvent
Definition: GenABIO.cc:224
SeedingLayersEDProducer::SeedingLayersEDProducer
SeedingLayersEDProducer(const edm::ParameterSet &iConfig)
Definition: SeedingLayersEDProducer.cc:23
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
SeedingLayerSetsBuilder::fillDescriptions
static void fillDescriptions(edm::ParameterSetDescription &desc)
Definition: SeedingLayerSetsBuilder.cc:244
SeedingLayersEDProducer::builder_
SeedingLayerSetsBuilder builder_
Definition: SeedingLayersEDProducer.cc:20
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
eostools.move
def move(src, dest)
Definition: eostools.py:511
SeedingLayersEDProducer::~SeedingLayersEDProducer
~SeedingLayersEDProducer() override
Definition: SeedingLayersEDProducer.cc:27
SeedingLayerSetsBuilder
Definition: SeedingLayerSetsBuilder.h:31
ConsumesCollector.h
SeedingLayersEDProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: SeedingLayersEDProducer.cc:29
ParameterSet.h
edm::Event
Definition: Event.h:73