Code to combine and fit ID spectra (pi/K/p).
[u/mrichter/AliRoot.git] / PWG2 / SPECTRA / Fit / ALICEWorkInProgress.C
CommitLineData
4c0d7bc7 1void ALICEWorkInProgress(TCanvas *c,TString today="11/05/2010", TString label = "ALICE performance"){
2
3 TPad *myPadLogo = new TPad("myPadLogo", "Pad for ALICE Logo",0.72,0.75,0.82,0.89);
4 myPadLogo->SetFillColor(0);
5 myPadLogo->SetBorderMode(0);
6 myPadLogo->SetBorderSize(2);
7 myPadLogo->SetFrameBorderMode(0);
8 myPadLogo->SetLeftMargin(0.0);
9 myPadLogo->SetTopMargin(0.0);
10 myPadLogo->SetBottomMargin(0.0);
11 myPadLogo->SetRightMargin(0.0);
12 myPadLogo->SetFillStyle(0);
13 myPadLogo->Draw();
14 myPadLogo->cd();
15 TASImage *myAliceLogo = new TASImage("~/WORK/ALICE/ANALYSIS/macros/alice_logo.png");
16 myAliceLogo->Draw();
17 c->cd();
18 TPaveText* t1=new TPaveText(0.65,0.7,0.89,0.75,"NDC");
19 t1->SetFillStyle(0);
20 t1->SetBorderSize(0);
21 t1->AddText(0.,0.,label);
22 t1->SetTextColor(kRed);
23 t1->SetTextFont(42);
24 t1->Draw();
25 TPaveText* t2=new TPaveText(0.65,0.65,0.89,0.7,"NDC");
26 t2->SetFillStyle(0);
27 t2->SetBorderSize(0);
28 t2->SetTextColor(kRed);
29 t2->SetTextFont(52);
30 t2->AddText(0.,0.,today.Data());
31 t2->Draw();
32}