EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fun4AllNoSyncDstInputManager.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Fun4AllNoSyncDstInputManager.cc
2 
3 #include <cstdlib>
4 #include <iostream>
5 
6 using namespace std;
7 
9  const string &nodename,
10  const string &topnodename)
11  : Fun4AllDstInputManager(name, nodename, topnodename)
12 {
13  return;
14 }
15 
17 {
18  if (!IsOpen())
19  {
20  ReadRunTTree(0);
21  }
22  else
23  {
24  cout << Name()
25  << "NoRunTTree() has to be done before opening a file" << endl;
26  exit(1);
27  }
28  return 0;
29 }