2 gStyle->SetFrameFillColor( 0 );
3 gStyle->SetCanvasColor( 0 );
4 gStyle->SetFillColor( 0 );
6 gStyle->SetPadTickX( 1 );
7 gStyle->SetPadTickY( 1 );
9 gStyle->SetTitleXOffset( 1. );
10 gStyle->SetTitleYOffset( 1. );
12 gStyle->SetTitleXSize( 0.06 );
13 gStyle->SetTitleYSize( 0.06 );
15 gStyle->SetLabelSize( 0.055,
"x" );
16 gStyle->SetLabelSize( 0.055,
"y" );
17 gStyle->SetMarkerSize( 1.8 );
18 gStyle->SetLineWidth( 2.5 );
23 gStyle->SetPadLeftMargin( 0.15 );
24 gStyle->SetPadTopMargin( 0.1 );
25 gStyle->SetPadBottomMargin( 0.15 );
32 Double_t x[20] = { 0.025, 0.075, 0.125, 0.175, 0.225, 0.275, 0.325, 0.375, 0.425, 0.475,
33 0.525, 0.575, 0.625, 0.675, 0.725, 0.775, 0.825, 0.875, 0.925, 0.975 };
55 TFile
f(
"all10.root" );
57 for ( Int_t j = 1; j < 18; j++ )
60 "(runinfo_ngood==0||runinfo_ngood==1)&&kal_n>=0.+%d*0.05&&kal_n<0.05+%d*0.05&&"
61 "costheta_n>-0.7&&costheta_n<0.7",
63 runinfo->Draw(
"kal_n",
cut );
67 "runinfo_ngood==1&&kal_n>=0.+%d*0.05&&kal_n<0.05+%d*0.05&&costheta_n>-0.7&&"
70 runinfo->Draw(
"kal_n",
cut );
75 TFile
f(
"all09.root" );
77 for ( Int_t j = 1; j < 18; j++ )
80 "(runinfo_ngood==0||runinfo_ngood==1)&&kal_n>=0.+%d*0.05&&kal_n<0.05+%d*0.05&&"
81 "costheta_n>-0.7&&costheta_n<0.7",
83 runinfo->Draw(
"kal_n",
cut );
86 "runinfo_ngood==1&&kal_n>=0.+%d*0.05&&kal_n<0.05+%d*0.05&&costheta_n>-0.7&&"
89 runinfo->Draw(
"kal_n",
cut );
94 TFile
f(
"all09.root" );
95 for ( Int_t j = 1; j < 18; j++ )
99 "(runinfo_ngood==0||runinfo_ngood==1)&&kal_n>=0.+%d*0.05&&kal_n<0.05+%d*0.05&&"
100 "costheta_n>-0.7&&costheta_n<0.7",
102 runinfo->Draw(
"kal_n",
cut );
105 "runinfo_ngood==1&&kal_n>=0.+%d*0.05&&kal_n<0.05+%d*0.05&&costheta_n>-0.7&&"
108 runinfo->Draw(
"kal_n",
cut );
112 for ( Int_t i = 1; i < 18; i++ )
124 cout <<
"............" << endl;
130 TCanvas* c1 =
new TCanvas(
"c1",
"p", 100, 10, 600, 400 );
131 TMultiGraph* mg =
new TMultiGraph();
137 gr1->SetLineColor( 2 );
138 gr2->SetLineColor( 3 );
139 gr3->SetLineColor( 4 );
141 gr1->SetMarkerColor( 2 );
142 gr2->SetMarkerColor( 3 );
143 gr3->SetMarkerColor( 4 );
145 gr1->SetMarkerStyle( 20 );
146 gr2->SetMarkerStyle( 22 );
147 gr3->SetMarkerStyle( 23 );
159 mg->GetYaxis()->SetRangeUser( 0.8, 1.02 );
160 mg->GetXaxis()->SetRangeUser( 0.05, 1.05 );
161 mg->GetXaxis()->SetTitle(
"Transvers Momentum/GeV" );
162 mg->GetYaxis()->SetTitle(
"Tracking Efficiency" );
164 TPaveText*
text =
new TPaveText( 0.98, 0.62, 0.78, 0.67,
"tr" );
172 TLegend*
legend =
new TLegend( 0.55, 0.45, 0.75, 0.65 );
174 legend->AddEntry( gr1,
"1T tsf+pat",
"p" );
175 legend->AddEntry( gr2,
"0.9T tsf+pat",
"p" );
178 legend->SetBorderSize( 0 );
sprintf(cut, "kal_costheta0_em>-0.93&&kal_costheta0_em<0.93&&kal_pxy0_em>=0.05+%d*0.1&&kal_" "pxy0_em<0.15+%d*0.1&&NGch>=2", j, j)
*********Class see also m_nmax DOUBLE PRECISION m_MasPhot DOUBLE PRECISION m_phsu DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_r2 DOUBLE PRECISION m_WtMass INTEGER m_nmax INTEGER m_Nevgen INTEGER m_IsFSR INTEGER m_MarTot *COMMON c_KarFin $ !Output file $ !Event serial number $ !alpha QED at Thomson limit $ !minimum energy at CMS for remooval $ !infrared cut