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 
6 // #include "DataFormats/Common/interface/Handle.h"
11 
13 
15 
16 namespace CLHEP {
17  class HepRandomEngine;
18 }
19 
21 {
22 public:
23  typedef std::vector<boost::shared_ptr<SimProducer> > Producers;
24 
25  explicit OscarProducer(edm::ParameterSet const & p);
26  virtual ~OscarProducer();
27  virtual void beginRun(const edm::Run & r,const edm::EventSetup& c) override;
28  virtual void beginJob();
29  virtual void endJob();
30  virtual void produce(edm::Event & e, const edm::EventSetup& c) override;
31 protected:
35 
36 private:
37  CLHEP::HepRandomEngine* m_engine;
38 };
39 
40 #endif
Producers m_producers
Definition: OscarProducer.h:33
virtual void endJob()
CLHEP::HepRandomEngine * m_engine
Definition: OscarProducer.h:37
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
RunManager * m_runManager
Definition: OscarProducer.h:32
std::vector< boost::shared_ptr< SimProducer > > Producers
Definition: OscarProducer.h:23
CustomUIsession * m_UIsession
Definition: OscarProducer.h:34
virtual void beginJob()
Definition: Run.h:36