CMS 3D CMS Logo

OscarProducer.h
Go to the documentation of this file.
1 #ifndef SimG4Core_OscarProducer_H
2 #define SimG4Core_OscarProducer_H
3 
10 
13 
14 #include <memory>
15 
16 class OscarProducer : public edm::one::EDProducer<edm::one::SharedResources, edm::one::WatchRuns> {
17 public:
18  typedef std::vector<std::shared_ptr<SimProducer> > Producers;
19 
20  explicit OscarProducer(edm::ParameterSet const& p);
21  ~OscarProducer() override;
22  void beginRun(const edm::Run& r, const edm::EventSetup& c) override;
23  void endRun(const edm::Run& r, const edm::EventSetup& c) override;
24  void produce(edm::Event& e, const edm::EventSetup& c) override;
25 
26 private:
27  std::unique_ptr<RunManager> m_runManager;
29  std::unique_ptr<CustomUIsession> m_UIsession;
30 };
31 
32 #endif
Handle.h
EDProducer.h
OscarProducer::m_UIsession
std::unique_ptr< CustomUIsession > m_UIsession
Definition: OscarProducer.h:29
edm::Run
Definition: Run.h:45
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
OscarProducer::Producers
std::vector< std::shared_ptr< SimProducer > > Producers
Definition: OscarProducer.h:18
edm::one::EDProducer
Definition: EDProducer.h:30
OscarProducer::OscarProducer
OscarProducer(edm::ParameterSet const &p)
Definition: OscarProducer.cc:64
RunManager.h
MakerMacros.h
Run.h
CustomUIsession.h
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
OscarProducer::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition: OscarProducer.cc:151
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
OscarProducer::~OscarProducer
~OscarProducer() override
Definition: OscarProducer.cc:141
alignCSCRings.r
r
Definition: alignCSCRings.py:93
OscarProducer::beginRun
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
Definition: OscarProducer.cc:143
OscarProducer
Definition: OscarProducer.h:16
OscarProducer::endRun
void endRun(const edm::Run &r, const edm::EventSetup &c) override
Definition: OscarProducer.cc:149
EventSetup.h
OscarProducer::m_producers
Producers m_producers
Definition: OscarProducer.h:28
edm::Event
Definition: Event.h:73
OscarProducer::m_runManager
std::unique_ptr< RunManager > m_runManager
Definition: OscarProducer.h:27
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37