Some additional changes related to the previous changes. AliL3Transform
[u/mrichter/AliRoot.git] / HLT / hough / AliL3Histogram.cxx
index 6f998ce249bf96571a629f88983a6dd8996fb90f..2b182d14f0f096d880f0bcf835664009c7860094 100644 (file)
@@ -241,9 +241,10 @@ Double_t AliL3Histogram::GetBinCenterY(Int_t ybin)
   
 }
 
   
 }
 
-#ifdef use_root
+
 void AliL3Histogram::Draw(Char_t *option)
 {
 void AliL3Histogram::Draw(Char_t *option)
 {
+#ifdef use_root
   fRootHisto = new TH2F(fName,"",fNxbins,fXmin,fXmax,fNybins,fYmin,fYmax);
   for(Int_t bin=0; bin<fNcells; bin++)
     {
   fRootHisto = new TH2F(fName,"",fNxbins,fXmin,fXmax,fNybins,fYmin,fYmax);
   for(Int_t bin=0; bin<fNcells; bin++)
     {
@@ -251,6 +252,9 @@ void AliL3Histogram::Draw(Char_t *option)
     }
   
   fRootHisto->Draw(option);
     }
   
   fRootHisto->Draw(option);
+  return;
+#endif
+  cerr<<"AliL3Histogram::Draw : You need to compile with ROOT in order to draw histogram"<<endl;
   
 }
   
 }
-#endif
+