StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StarGenEventReader.h
1 #ifndef __StarGenEventReader_h__
2 #define __StarGenEventReader_h__
3 
4 #include "StarGenerator/BASE/StarGenerator.h"
5 #include "StarGenerator/EVENT/StarGenEvent.h"
6 
8 {
9 public:
10  StarGenEventReader( const Char_t *name="vmcreader" )
11  : StarGenerator(name),
12  mEntry(0)
13  {
14  mEvent = new StarGenEvent("primaryEvent");
15  };
16  ~StarGenEventReader(){ /* nada */ };
17 
18  Int_t Init();
19  Int_t Generate();
20 
21 private:
22 protected:
23  Int_t mEntry;
24  ClassDef( StarGenEventReader, 1 );
25 };
26 
27 #endif
ABC for defining event generator interfaces.
Definition: StarGenerator.h:34
StarGenEvent * mEvent
Generated event.
Base class for event records.
Definition: StarGenEvent.h:81