Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:16:10

0001 #include "Fun4AllNoSyncDstInputManager.h"
0002 
0003 #include <cstdlib>
0004 #include <iostream>
0005 
0006 Fun4AllNoSyncDstInputManager::Fun4AllNoSyncDstInputManager(const std::string &name,
0007                                                            const std::string &nodename,
0008                                                            const std::string &topnodename)
0009   : Fun4AllDstInputManager(name, nodename, topnodename)
0010 {
0011   return;
0012 }
0013 
0014 int Fun4AllNoSyncDstInputManager::NoRunTTree()
0015 {
0016   if (!IsOpen())
0017   {
0018     ReadRunTTree(0);
0019   }
0020   else
0021   {
0022     std::cout << Name()
0023               << "NoRunTTree() has to be done before opening a file" << std::endl;
0024     exit(1);
0025   }
0026   return 0;
0027 }