Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Fun4AllEVIOInputManager.h
Go to the documentation of this file.
1 #ifndef Fun4AllEVIOInputManager_H_
2 #define Fun4AllEVIOInputManager_H_
3 
5 
6 #include <string>
7 #include <map>
8 
9 class PHCompositeNode;
10 class SyncObject;
11 class MainDaqParser;
12 
14 {
15  public:
16  Fun4AllEVIOInputManager(const std::string &name = "DUMMY", const std::string &topnodename = "TOP");
17  virtual ~Fun4AllEVIOInputManager();
18  int fileopen(const std::string &filenam);
19  int fileclose();
20  int run(const int nevents = 0);
21  int isOpen() {return isopen;}
22 
23  void Print(const std::string &what = "ALL") const;
24  int ResetEvent();
25  int PushBackEvents(const int i);
26  int GetSyncObject(SyncObject **mastersync);
27  int SyncIt(const SyncObject *mastersync);
28 
29  void SetOnline(const bool is_online);
30  void EventSamplingFactor(const int factor);
31  void DirParam(const std::string dir);
32  void PretendSpillInterval(const int sec);
33 
34  protected:
35  int OpenNextFile();
36  int segment;
37  int isopen;
40  std::string topNodeName;
44 };
45 
46 #endif /* __Fun4AllEVIOInputManager_H_ */
Fun4AllEVIOInputManager(const std::string &name="DUMMY", const std::string &topnodename="TOP")
void SetOnline(const bool is_online)
void PretendSpillInterval(const int sec)
void Print(const std::string &what="ALL") const
int fileopen(const std::string &filenam)
int SyncIt(const SyncObject *mastersync)
int GetSyncObject(SyncObject **mastersync)
tuple nevents
Definition: submit_bnl.py:11
int run(const int nevents=0)
void DirParam(const std::string dir)
void EventSamplingFactor(const int factor)