test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
18 public:
19  typedef std::vector<std::shared_ptr<SimProducer> > Producers;
20 
21  explicit OscarProducer(edm::ParameterSet const & p);
22  virtual ~OscarProducer();
23  virtual void beginRun(const edm::Run & r,const edm::EventSetup& c) override;
24  virtual void endRun(const edm::Run & r,const edm::EventSetup& c) override;
25  virtual void produce(edm::Event & e, const edm::EventSetup& c) override;
26 
27 private:
28  std::unique_ptr<RunManager> m_runManager;
30  std::unique_ptr<CustomUIsession> m_UIsession;
31 };
32 
33 #endif
Producers m_producers
Definition: OscarProducer.h:29
std::unique_ptr< RunManager > m_runManager
Definition: OscarProducer.h:28
virtual void endRun(const edm::Run &r, const edm::EventSetup &c) override
std::vector< std::shared_ptr< SimProducer > > Producers
Definition: OscarProducer.h:19
OscarProducer(edm::ParameterSet const &p)
virtual ~OscarProducer()
virtual void beginRun(const edm::Run &r, const edm::EventSetup &c) override
virtual void produce(edm::Event &e, const edm::EventSetup &c) override
std::unique_ptr< CustomUIsession > m_UIsession
Definition: OscarProducer.h:30
Definition: Run.h:42