CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FamosProducer.h
Go to the documentation of this file.
1 #ifndef FastSimulation_EventProducer_FamosProducer_H
2 #define FastSimulation_EventProducer_FamosProducer_H
3 
5 
7 
8 class FamosManager;
9 class ParameterSet;
10 class Event;
11 class EventSetup;
12 
13 namespace HepMC {
14  class GenEvent;
15 }
16 
18 {
19 
20  public:
21 
22  explicit FamosProducer(edm::ParameterSet const & p);
23  virtual ~FamosProducer();
24  virtual void beginRun(edm::Run const& run, const edm::EventSetup & es) override;
25  virtual void produce(edm::Event & e, const edm::EventSetup & c) override;
26 
27  private:
28 
30  HepMC::GenEvent * evt_;
32 
33 
34  // token for hepmc from signal event
36  // token for hepmc from pu
38 };
39 
40 #endif
virtual ~FamosProducer()
FamosManager * famosManager_
Definition: FamosProducer.h:29
virtual void beginRun(edm::Run const &run, const edm::EventSetup &es) override
FamosProducer(edm::ParameterSet const &p)
edm::EDGetTokenT< edm::HepMCProduct > puToken
Definition: FamosProducer.h:37
HepMC::GenEvent * evt_
Definition: FamosProducer.h:30
edm::EDGetTokenT< edm::HepMCProduct > sourceToken
Definition: FamosProducer.h:35
virtual void produce(edm::Event &e, const edm::EventSetup &c) override
Definition: Run.h:41