ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fun4AllPrdfInputManager.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Fun4AllPrdfInputManager.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef FUN4ALLRAW_FUN4ALLPRDFINPUTMANAGER_H
4 #define FUN4ALLRAW_FUN4ALLPRDFINPUTMANAGER_H
5 
7 
8 #include <string>
9 
10 class Event;
11 class Eventiterator;
12 class PHCompositeNode;
13 class SyncObject;
14 
16 {
17  public:
18  Fun4AllPrdfInputManager(const std::string &name = "DUMMY", const std::string &prdfnodename = "PRDF", const std::string &topnodename = "TOP");
19  virtual ~Fun4AllPrdfInputManager();
20  int fileopen(const std::string &filenam);
21  int fileclose();
22  int run(const int nevents = 0);
23 
24  void Print(const std::string &what = "ALL") const;
25  int ResetEvent();
26  int PushBackEvents(const int i);
27  int GetSyncObject(SyncObject **mastersync);
28  int SyncIt(const SyncObject *mastersync);
29  int HasSyncObject() const {return 1;}
30 
31  private:
32  int m_Segment;
40  std::string m_PrdfNodeName;
41 };
42 
43 #endif /* FUN4ALL_FUN4ALLPRDFINPUTMANAGER_H */