CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MCFileSource.h
Go to the documentation of this file.
1 #ifndef IOMC_Input_MCFileSource_h
2 #define IOMC_Input_MCFileSource_h
3 
11 
12 class HepMCFileReader;
13 
14 namespace HepMC{
15  class GenEvent;
16 }
17 
18 namespace edm {
19  class Event;
20  struct InputSourceDescription;
21  class ParameterSet;
22 
24  public:
25  MCFileSource(const ParameterSet& pset, const InputSourceDescription& desc);
26  virtual ~MCFileSource();
27 
28  private:
29  virtual bool produce(Event &e);
30  void clear();
31 
33  HepMC::GenEvent *evt_;
35  };
36 }
37 
38 #endif
MCFileSource(const ParameterSet &pset, const InputSourceDescription &desc)
Definition: MCFileSource.cc:30
virtual bool produce(Event &e)
Definition: MCFileSource.cc:52
virtual ~MCFileSource()
Definition: MCFileSource.cc:47
HepMCFileReader * reader_
Definition: MCFileSource.h:32
HepMC::GenEvent * evt_
Definition: MCFileSource.h:33