1 void makeTTPlots(
const Char_t *tag =
"Plots") {
4 int err2 = gROOT->LoadMacro(
"Xdcor.C++");
5 cout <<
".L Xdcor.C++ is done: " << err2 << endl;
7 int err1 = gROOT->LoadMacro(
"TT.C++");
8 cout <<
".L TT.C++ is done: " << err1 << endl;
11 TString FileN(gDirectory->GetName());
12 gInterpreter->ProcessLine(
".L Chain.C");
13 TChain *theChain = Chain();
14 cout <<
"Chain pointer: " << theChain << endl;
16 cout <<
"TreeClass object t is constructed" << endl;
17 TString Out = gSystem->DirName(FileN); cout << Out << endl;
18 TString Dir = gSystem->DirName(Out);
19 if (Out.BeginsWith(
"/")) Out = Out.Data()+1;
20 Out.ReplaceAll(
"/",
"_");
23 t->SetMinNoFitPoints(25);
25 Out += Form(
"rCut%imm",(
int)(t->GetRCut()*10.));
27 cout <<
" ===> " << Out << endl;
28 t->SetOutFileName(Out);