1 void saveAbbreviatedFiles(
2 const Char_t *dir=
"/star/data07/EMC/staszak/2006pp/trans/test/") {
5 gROOT->LoadMacro(
"$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
7 gSystem->Load(
"StMcEvent");
8 gSystem->Load(
"StMcEventMaker");
9 gSystem->Load(
"StAssociationMaker");
10 gSystem->Load(
"St_Tables.so");
11 gSystem->Load(
"StDbLib.so");
12 gSystem->Load(
"StDbBroker.so");
13 gSystem->Load(
"St_db_Maker.so");
14 gSystem->Load(
"St_base");
15 gSystem->Load(
"StUtilities");
16 gSystem->Load(
"StarClassLibrary");
17 gSystem->Load(
"StChain");
19 gSystem->Load(
"StDaqLib");
20 gSystem->Load(
"StEmcRawMaker");
21 gSystem->Load(
"StEmcADCtoEMaker");
22 gSystem->Load(
"StPreEclMaker");
23 gSystem->Load(
"StEpcMaker");
24 assert(gSystem->Load(
"StEmcPoolCSMStatusUtils")==0);
25 cout<<
"All libs loaded"<<endl;
31 myUtils.setDetectorFlavor(
"bemc");
32 myUtils.readTablesFromASCII(dir,
".txt");
33 myUtils.saveAbbreviatedStatusTablesToASCII(dir);