2 #ifndef MACRO_FUN4ALL_READDST_C
3 #define MACRO_FUN4ALL_READDST_C
5 #include <tpcrawtottree/TPCRawDataTree.h>
12 R__LOAD_LIBRARY(libfun4allraw.so)
13 R__LOAD_LIBRARY(libTPCRawDataTree.so)
16 const
string &inputFile = "/sphenix/lustre01/sphnxpro/rawdata/commissioning/tpc/beam/TPC_ebdc*_beam-00011012-0000.prdf"
25 string outDir =
"/sphenix/u/jamesj3j3/tpc/sPHENIXProjects/beam-run-11012/";
27 string fileName = inputFile;
28 size_t pos = fileName.find(
"TPC_ebdc");
29 fileName.erase(fileName.begin(),fileName.begin()+
pos);
34 for (
int packet = 4000; packet<=4230; packet+=10)
52 std::cout <<
"All done processing" << std::endl;