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/commissioning/tpc/beam/TPC_ebdc00_beam-00010684-0000.prdf"
25 string outDir =
"/sphenix/user/rosstom/test/testFiles/";
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)
51 std::cout <<
"All done processing" << std::endl;