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 
12 
13 class HepMCFileReader;
14 
15 namespace HepMC{
16  class GenEvent;
17 }
18 
19 namespace edm {
20  class Event;
21  class EventID;
22  struct InputSourceDescription;
23  class ParameterSet;
24  class Timestamp;
25 
27  public:
29  virtual ~MCFileSource();
30 
31  private:
33  virtual void produce(Event &e);
34  void clear();
35 
39  };
40 }
41 
42 #endif
MCFileSource(const ParameterSet &pset, const InputSourceDescription &desc)
Definition: MCFileSource.cc:23
edm::propagate_const< HepMC::GenEvent * > evt_
Definition: MCFileSource.h:37
virtual void produce(Event &e)
Definition: MCFileSource.cc:52
virtual bool setRunAndEventInfo(EventID &, TimeValue_t &time, EventAuxiliary::ExperimentType &eType)
Definition: MCFileSource.cc:44
virtual ~MCFileSource()
Definition: MCFileSource.cc:40
edm::propagate_const< HepMCFileReader * > reader_
Definition: MCFileSource.h:36
unsigned long long TimeValue_t
Definition: Timestamp.h:28