remove std, cout, dependences; declaration of empty dtor to header
authorgconesab <gustavo.conesa.balbastre@cern.ch>
Wed, 20 Aug 2014 09:31:10 +0000 (11:31 +0200)
committergconesab <gustavo.conesa.balbastre@cern.ch>
Wed, 20 Aug 2014 10:24:07 +0000 (12:24 +0200)
EMCAL/AliCaloRawAnalyzerFactory.cxx
EMCAL/AliCaloRawAnalyzerFactory.h

index 8124024..dc65a1c 100644 (file)
 #include "AliCaloRawAnalyzerKStandard.h"
 #include "AliCaloRawAnalyzerFakeALTRO.h"
 
-#include "stdlib.h"
-
-#include <iostream>
-
-using std::cout;
-using std::endl;
-
 AliCaloRawAnalyzerFactory::AliCaloRawAnalyzerFactory()
 {
-  // Shutting up the rule checker
+  // default constructor
 }
 
-AliCaloRawAnalyzerFactory::~AliCaloRawAnalyzerFactory()
-{
-  // Shutting up the rule checker
-}
-
-
 AliCaloRawAnalyzer*
 AliCaloRawAnalyzerFactory::CreateAnalyzer( const int algo )
 {
@@ -57,7 +44,6 @@ AliCaloRawAnalyzerFactory::CreateAnalyzer( const int algo )
       return new AliCaloRawAnalyzerNN();
       break;
     case kPeakFinder:
-      //    cout << __FILE__ << ":" << __LINE__ << ": Returning new peakFinder " << endl;
       return new AliCaloRawAnalyzerPeakFinder();
       break;
     case kCrude:
@@ -71,8 +57,6 @@ AliCaloRawAnalyzerFactory::CreateAnalyzer( const int algo )
       break;
     default:
       return  new AliCaloRawAnalyzerCrude();
-      //  cout << __FILE__ << __LINE__ << " ERROR, invalid analyzer" << endl;
-      //exit(-99);
       break;
    }
 }
index 7e23ce0..cf96be9 100644 (file)
@@ -27,12 +27,17 @@ class AliCaloRawAnalyzer;
 
 class  AliCaloRawAnalyzerFactory
 {
+  
 public:
-  virtual ~AliCaloRawAnalyzerFactory();
+  
+  virtual ~AliCaloRawAnalyzerFactory() { ; }
+  
   static AliCaloRawAnalyzer* CreateAnalyzer( const int algo ); 
 
 private:
+  
   AliCaloRawAnalyzerFactory();
+
 };
 
 #endif