Analysis Software
Documentation for sPHENIX simulation 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 
7  const std::string &nodename,
8  const std::string &topnodename)
9  : Fun4AllDstInputManager(name, nodename, topnodename)
10 {
11  return;
12 }
13 
15 {
16  if (!IsOpen())
17  {
18  ReadRunTTree(0);
19  }
20  else
21  {
22  std::cout << Name()
23  << "NoRunTTree() has to be done before opening a file" << std::endl;
24  exit(1);
25  }
26  return 0;
27 }