]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/PHOS/AliHLTPHOSRawAnalyzerCrudeComponent.cxx
Coverity 17737 solved by non-implemented private copy constructor and assignment...
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSRawAnalyzerCrudeComponent.cxx
index 82a633e4361069bf10b3e0d09dfccf9b37eb53cc..28600c4baa136bd56e5a0239fc01da79c4ddbdf6 100644 (file)
 
 
 #include "AliHLTPHOSRawAnalyzerCrudeComponent.h"
-#include "AliHLTCaloRawAnalyzerCrude.h"
 
 AliHLTPHOSRawAnalyzerCrudeComponent gAliHLTPHOSRawAnalyzerCrudeComponent;
 
 //___________________________________________________________________________
-AliHLTPHOSRawAnalyzerCrudeComponent::AliHLTPHOSRawAnalyzerCrudeComponent()
+AliHLTPHOSRawAnalyzerCrudeComponent::AliHLTPHOSRawAnalyzerCrudeComponent() : AliHLTPHOSRawAnalyzerComponentv3(kCrude)
 {
-  HLTError("Creating raw analyzer");
-  fAnalyzerPtr = new AliHLTCaloRawAnalyzerCrude();
+
 } 
 
+
 //___________________________________________________________________________
 AliHLTPHOSRawAnalyzerCrudeComponent::~AliHLTPHOSRawAnalyzerCrudeComponent()
 {
-//   if(fAnalyzerPtr)
-//     {
-//       delete fAnalyzerPtr;
-//       fAnalyzerPtr = 0;
-//     }
+
 }
 
+
 //___________________________________________________________________________
-AliHLTPHOSRawAnalyzerCrudeComponent::AliHLTPHOSRawAnalyzerCrudeComponent(const AliHLTPHOSRawAnalyzerCrudeComponent & ):AliHLTPHOSRawAnalyzerComponentv3()
+AliHLTPHOSRawAnalyzerCrudeComponent::AliHLTPHOSRawAnalyzerCrudeComponent(const AliHLTPHOSRawAnalyzerCrudeComponent & ):AliHLTPHOSRawAnalyzerComponentv3(kCrude)
 {
 
 }
 
+
 int
 AliHLTPHOSRawAnalyzerCrudeComponent::Deinit()
 {
-  
-  if(fAnalyzerPtr)
-    {
-      delete fAnalyzerPtr;
-      fAnalyzerPtr = 0;
-    }
   Logging(kHLTLogInfo, "HLT", "PHOS", ",AliHLTPHOSRawAnalyzerCrudeComponent Deinit");
   return 0;
 }
 
+
 //___________________________________________________________________________
 const char* 
 AliHLTPHOSRawAnalyzerCrudeComponent::GetComponentID()
@@ -65,6 +57,7 @@ AliHLTPHOSRawAnalyzerCrudeComponent::GetComponentID()
   return "PhosRawCrude";
 }
 
+
 //___________________________________________________________________________
 AliHLTComponent*
 AliHLTPHOSRawAnalyzerCrudeComponent::Spawn()