ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CmsHi/JetAnalysis/macros/plotFigure.C
(Generate patch)

Comparing UserCode/CmsHi/JetAnalysis/macros/plotFigure.C (file contents):
Revision 1.3 by yilmaz, Mon Feb 4 22:02:40 2013 UTC vs.
Revision 1.5 by yilmaz, Mon Feb 4 22:53:28 2013 UTC

# Line 133 | Line 133 | void plotFigure(int iplot = 9){
133    cms->Draw();
134  
135    c1->cd(1);
136 <  TLatex *lumi = new TLatex(0.1,0.26,"pPb L=10.6 nb^{-1}");
137 <  if(iPlot == 3) lumi = new TLatex(0.1,0.46,"pPb L=10.6 nb^{-1}");
136 >  TLatex *lumi = new TLatex(0.1,0.26,"pPb L=17.3 nb^{-1}");
137 >  if(iPlot == 3) lumi = new TLatex(0.1,0.46,"pPb L=17.3 nb^{-1}");
138  
139    lumi->SetTextFont(63);
140    lumi->SetTextSize(15);
# Line 189 | Line 189 | void plotBalance(int cbin,
189    TCut centNtrk("");
190  
191    if(centMode == 0){
192 +    cout<<"Obsolete centrality usage."<<endl;
193 +    return;
194      if(cbin==0) centHF = "bin>=20 && bin<26";
195      if(cbin==1) centHF = "bin>=26 && bin<27";
196      if(cbin==2) centHF = "bin>=27 && bin<28";
# Line 205 | Line 207 | void plotBalance(int cbin,
207    }
208  
209    if(centMode == 1){
210 <    if(cbin==0) centHF = "cent>=30 && cent<70";
209 <    if(cbin==1) centHF = "cent>=20 && cent<30";
210 <    if(cbin==2) centHF = "cent>=15 && cent<20";
211 <    if(cbin==3) centHF = "cent>=10 && cent<15";
212 <    if(cbin==4) centHF = "cent>=5 && cent<10";
213 <    if(cbin==5) centHF = "cent<5";
214 <
210 >    centHF = hfPlusBins[cbin];
211      centNtrk = centHF;
212    }
213  
218
219
220
221
214    cout<<"plotting ntrk bin : "<<cbin<<endl;
215  
216    // open the data file

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines