Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
runHelper.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file runHelper.C
1 //class hcalHelper;
2 //class hLabHelper;
3 void runHelper(char * runKind, int runnumber, int eventsToRead){
4  gSystem->Load("$MY_INSTALL/lib/libhcalUtil.so");
6  hHelper->setRunKind(runKind);
7  hHelper->evLoop(runnumber, eventsToRead);
8  if(std::cin.get()==113) return;
9  hLabHelper * hlHelper = hLabHelper::getInstance();
10  hlHelper->renameAndCloseRF();
11 }