3 plDiffGvR(TString coreName=
"bbb_cut2") {
4 gStyle->SetPalette(1,0);
6 gStyle->SetOptStat(1111111);
9 fname=coreName+
".hist.root";
11 TFile *fd=
new TFile(fname);
17 c1=
new TCanvas(coreName,coreName,500,800);
21 GvR->Draw(); gPad->SetLogy();
23 float sum0= dPhi->Integral();
29 dPhi->Draw(); gPad->SetLogy();
31 hx=(TH1F*) dPhi->Clone();
32 hx->SetAxisRange(-90,90);
33 float phiS= hx->Integral();
34 printf(
"<tr> <th> %s <td>%d <td>%.3f ",coreName.Data(), phiS, 1.-phiS/sum0);
41 dEta->Draw(); gPad->SetLogy();
43 hx=(TH1F*) dEta->Clone();
44 hx->SetAxisRange(-.5,.5);
45 float etaS= hx->Integral();
46 printf(
"<td>%d <td> %.3f ", etaS, 1.-etaS/sum0);
50 PtR->Draw(); gPad->SetLogy(); gPad->SetGrid();
52 dPt->Draw(); gPad->SetLogy();
54 hx=(TH1F*) dPt->Clone();
55 hx->SetAxisRange(-.5,.5);
56 float ptS= hx->Integral();
57 printf(
"<td>%d <td>%.3f ", ptS, 1.-ptS/sum0);
59 printf(
"<td> <a href=\"%s.ps\"> (PS)</a> , <a href=\"%s.gif\"> (GIF)</a> \n",coreName.Data(), coreName.Data());
61 c2=
new TCanvas(coreName+
"D",coreName+2,500,600);
65 dPhiPT->Draw(
"colz"); gPad->SetLogz();
68 dEtaPT->Draw(
"colz"); gPad->SetLogz();
71 dPtPT->Draw(
"colz"); gPad->SetLogz();
74 c1->Print(coreName+
".ps");
75 c1->Print(coreName+
".gif");
76 c2->Print(coreName+
"D.ps");
77 c2->Print(coreName+
"D.gif");