1 void makeAPlots(
const Char_t *tag =
"Anodes") {
2 TString FileN(gDirectory->GetName());
3 gInterpreter->ProcessLine(
".L Chain.C");
4 TChain *theChain = Chain();
6 const Char_t *T = gSystem->Which(gROOT->GetMacroPath(),
"T.C");
7 macro += T;
delete [] T;
9 gInterpreter->ProcessLine(macro);
12 TString Out = gSystem->DirName(FileN); cout << Out;
13 TString Dir = gSystem->DirName(Out);
15 if (Out.BeginsWith(
"/")) Out = Out.Data()+1;
16 Out.ReplaceAll(
"/",
"_");
22 cout <<
" ===> " << Out << endl;
23 t.SetOutFileName(Out);