Minor fix (Yu.Belikov)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 18 Feb 2004 17:57:45 +0000 (17:57 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 18 Feb 2004 17:57:45 +0000 (17:57 +0000)
TOF/AliTOFComparison.C

index f8b6f0d..5246387 100644 (file)
@@ -138,6 +138,9 @@ Int_t AliTOFComparison() {
    TH1F *hfl=new TH1F("hfl","Probability of mismatching",30,-1,1);
    hfl->SetFillColor(1); hfl->SetFillStyle(3013); hfl->SetLineWidth(2);
 
+   TCanvas *c1=new TCanvas("c1","",0,0,600,900);
+   c1->Divide(1,2);
+
    TFile *ef=TFile::Open("AliESDs.root");
    if (!ef->IsOpen()) {cerr<<"Can't AliESDs.root !\n"; return 1;}
 
@@ -221,9 +224,6 @@ Int_t AliTOFComparison() {
      hgl->SetYTitle("Matching efficiency");
      hgl->SetXTitle("Tan(lambda)");
 
-     TCanvas *c1=new TCanvas("c1","",0,0,600,900);
-     c1->Divide(1,2);
-
      c1->cd(1);
 
      hgp->Draw();