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 &outDir = "/sphenix/user/rosstom/
test/testFiles/",
17 const
string &inputFile = "/sphenix/lustre01/sphnxpro/rawdata/commissioning/TPC_ebdc00_pedestal-00010619-0000.prdf"
26 string fileName = inputFile;
27 size_t pos = fileName.find(
"TPC_ebdc");
28 fileName.erase(fileName.begin(),fileName.begin()+
pos);
33 for (
int packet = 4000; packet<=4230; packet+=10)
50 std::cout <<
"All done processing" << std::endl;