]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/EMCAL/AliHLTEMCALRawAnalyzerPeakFinderComponent.cxx
Factorization of the different raw fitting algorithms in EMCAL (Per Thomas)
[u/mrichter/AliRoot.git] / HLT / EMCAL / AliHLTEMCALRawAnalyzerPeakFinderComponent.cxx
index d978443552e3801e8852a52a88422c972932384f..fcfcf387b0f0ec8ad1b26c8967c96bc36c33b3f5 100644 (file)
 AliHLTEMCALRawAnalyzerPeakFinderComponent  gAliHLTEMCALRawAnalyzerPeakFinderComponent;
 
 
-AliHLTEMCALRawAnalyzerPeakFinderComponent::AliHLTEMCALRawAnalyzerPeakFinderComponent (): AliHLTEMCALRawAnalyzerComponent()
+AliHLTEMCALRawAnalyzerPeakFinderComponent::AliHLTEMCALRawAnalyzerPeakFinderComponent (): AliHLTEMCALRawAnalyzerComponent(kPeakFinder)
 {
-
   // constructor
   //  fAnalyzerPtr = new    AliCaloRawAnalyzerPeakFinder();
-
 }
 
 
 AliHLTEMCALRawAnalyzerPeakFinderComponent::~AliHLTEMCALRawAnalyzerPeakFinderComponent()
 {
   // destructor
+  /*
   if (0 != fAnalyzerPtr)
     {
       delete fAnalyzerPtr;
       fAnalyzerPtr = 0;
     }
+  */
 }
 
 int
 AliHLTEMCALRawAnalyzerPeakFinderComponent::DoInit(int argc, const char** argv)
 {
-    fAnalyzerPtr = new AliCaloRawAnalyzerPeakFinder();
+  // fAnalyzerPtr = new AliCaloRawAnalyzerPeakFinder();
     return AliHLTCaloRawAnalyzerComponentv3::DoInit(argc, argv);
 }
 
@@ -61,11 +61,14 @@ int
 AliHLTEMCALRawAnalyzerPeakFinderComponent::DoDeinit()
 {
   //comment
+  /*
   if (0 != fAnalyzerPtr)
     {
       delete fAnalyzerPtr;
       fAnalyzerPtr = 0;
     }
+  */
 
   return AliHLTEMCALRawAnalyzerComponent::DoDeinit();
 }