]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/hough/AliL3Histogram.cxx
Added files for the reference version based on an old version of Anders'
[u/mrichter/AliRoot.git] / HLT / hough / AliL3Histogram.cxx
index 0d72439b120f4ac9c3e0971da0c2d91b4c49c168..e006985ed04313e37ac2df63f264009cea9d023c 100644 (file)
@@ -8,7 +8,7 @@
 #include "AliL3Logging.h"
 #include "AliL3Histogram.h"
 
-#if __GNUC__ == 3
+#if __GNUC__ >= 3
 using namespace std;
 #endif
 
@@ -391,9 +391,9 @@ void AliL3Histogram::Draw(Char_t *option)
   //fRootHisto->SetStats(kFALSE);
   fRootHisto->Draw(option);
   return;
-#endif
+#else
   cerr<<"AliL3Histogram::Draw : You need to compile with ROOT in order to draw histogram"<<endl;
-  
+#endif  
 }
 
 void AliL3Histogram::CreateRootHisto()
@@ -402,8 +402,9 @@ void AliL3Histogram::CreateRootHisto()
 #ifdef use_root
   fRootHisto = new TH2F(fName,"",fNxbins,fXmin,fXmax,fNybins,fYmin,fYmax);
   return;
-#endif
+#else
   cerr<<"AliL3Histogram::CreateRootHisto : You need to compile with ROOT in order to create ROOT histogram"<<endl;
+#endif
 }
 
 ofstream& operator<<(ofstream &o, const AliL3Histogram &h)