]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Bug fix in a macro
authorprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Nov 2009 16:46:53 +0000 (16:46 +0000)
committerprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Nov 2009 16:46:53 +0000 (16:46 +0000)
ITS/MakeSDDGeoMap.C

index 85e94d1855cae10a09c56c7f736354916d1069a1..2eb12906040366e1dd723307f819a8d8401480db 100644 (file)
@@ -93,11 +93,6 @@ void MakeSDDGeoMap(){
     }
   }
   fclose(outfil);
-  TFile *f=new TFile("SDDgeomap.root","recreate");
-  f->cd();
-  ntsddgeo->Write();
-  f->Close();
-  
   ntsddgeo->SetMarkerStyle(7);
   TCanvas *c1;
   c1=new TCanvas("c1","",800,800);
@@ -107,6 +102,7 @@ void MakeSDDGeoMap(){
     text[i]->Draw();
     ltext[i]->Draw();
   }
+  
 
   TCanvas *c2=new TCanvas("c2","",1200,800);
   c2->Divide(3,2);
@@ -154,6 +150,10 @@ void MakeSDDGeoMap(){
   t3->Draw();
   t4->Draw();
   
+  TFile *f=new TFile("SDDgeomap.root","recreate");
+  f->cd();
+  ntsddgeo->Write();
+  f->Close();
   
 }