00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 void RecoQA(const char* inFile) {
00022 gROOT->LoadMacro("bfcread_hist_prefixes_add_to_ps.C");
00023
00024 TString baseName = inFile;
00025 if (baseName.EndsWith(".daq"))
00026 baseName.ReplaceAll(".daq",".hist.root");
00027 else if (baseName.EndsWith(".event.root"))
00028 baseName.ReplaceAll(".event.root",".hist.root");
00029 else if (baseName.EndsWith(".MuDst.root"))
00030 baseName.ReplaceAll(".MuDst.root",".hist.root");
00031
00032 TString histFile = baseName;
00033
00034 baseName.Remove(0,baseName.Last('/')+1);
00035
00036 TString outputName = baseName;
00037 outputName.ReplaceAll(".root",".CC");
00038
00039 TString histList = "StRoot/St_QA_Maker/QAhlist_Reco.h";
00040 if (! gSystem->Which(".",histList.Data()))
00041 histList.Prepend(gSystem->ExpandPathName("$STAR/"));
00042
00043 bfcread_hist_prefixes_add_to_ps(histFile.Data(),"EventQA",
00044 "bfcTree",outputName.Data(),baseName.Data(),histList.Data());
00045 }
00046
00047
00049
00050
00051
00052
00053
00054