Coverity 18557 solved by non-implemented private copy constructor and assignment...
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Feb 2012 07:29:11 +0000 (07:29 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Feb 2012 07:29:11 +0000 (07:29 +0000)
PHOS/AliPHOSRawFitterv4.cxx
PHOS/AliPHOSRawFitterv4.h

index 203c246..05bc81e 100644 (file)
@@ -68,16 +68,6 @@ AliPHOSRawFitterv4::~AliPHOSRawFitterv4()
 }
 
 //-----------------------------------------------------------------------------
-AliPHOSRawFitterv4::AliPHOSRawFitterv4(const AliPHOSRawFitterv4 &phosFitter ):
-  AliPHOSRawFitterv1((AliPHOSRawFitterv1)phosFitter),
-  fFitHighGain(0) 
-{
-  //Copy constructor
-  fFitHighGain=phosFitter.fFitHighGain;
-}
-
-
-//-----------------------------------------------------------------------------
 
 Bool_t AliPHOSRawFitterv4::Eval(const UShort_t *signal, Int_t sigStart, Int_t sigLength)
 {
index 572f508..2a94455 100644 (file)
@@ -20,7 +20,6 @@ class AliPHOSRawFitterv4 : public AliPHOSRawFitterv1
 public:
 
   AliPHOSRawFitterv4();
-  AliPHOSRawFitterv4(const AliPHOSRawFitterv4& rawFitterv4);
   virtual ~AliPHOSRawFitterv4();
 
   virtual Bool_t Eval(const UShort_t *signal, Int_t sigStart, Int_t sigLength);
@@ -34,7 +33,11 @@ protected:
   Bool_t EvalWithFitting(TArrayI*samples, TArrayI * times);
 
   Bool_t fFitHighGain ; //Switch on/off fitting of the HG channel
-  
+
+ private:  
+  AliPHOSRawFitterv4(const AliPHOSRawFitterv4& rawFitterv4);
+  AliPHOSRawFitterv4& operator=(const AliPHOSRawFitterv4& rawFitterv4);
+
   ClassDef(AliPHOSRawFitterv4,1)
 };