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