Fixing Effective C++ warnings (Laurent)
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Sep 2006 14:34:38 +0000 (14:34 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Sep 2006 14:34:38 +0000 (14:34 +0000)
MUON/AliMUONResponseFactory.h
MUON/AliMUONResponseV0.h

index ca9cf32..ac86ee9 100644 (file)
@@ -29,11 +29,10 @@ class AliMUONResponseFactory : public  TNamed {
     void Build(AliMUON* where);
     void BuildStation(AliMUON* where, Int_t stationNumber);
 
-  protected:
+  private:
     AliMUONResponseFactory(const AliMUONResponseFactory& rhs);
     AliMUONResponseFactory& operator=(const AliMUONResponseFactory& rhs);
 
-  private:
     void BuildCommon();
     void BuildStation1();
     void BuildStation2();
index bcb17ab..2c5d4f7 100644 (file)
@@ -96,9 +96,6 @@ class AliMUONResponseV0 : public AliMUONResponse
     virtual void Print(Option_t* opt="") const;
      
  protected:
-    AliMUONResponseV0(const AliMUONResponseV0& rhs);
-    AliMUONResponseV0& operator = (const AliMUONResponseV0& rhs);
-
     Float_t fChargeSlope;              ///< Slope of the charge distribution
     Float_t fChargeSpreadX;            ///< Width of the charge distribution in x
     Float_t fChargeSpreadY;            ///< Width of the charge distribution in y
@@ -110,7 +107,12 @@ class AliMUONResponseV0 : public AliMUONResponse
                                        ///  is RMS of ln(q1/q2)
     AliMUONMathieson* fMathieson;      ///< pointer to mathieson fct
     Float_t fChargeThreshold;          ///< Charges below this threshold are = 0  
-    
+
+  private:
+    AliMUONResponseV0(const AliMUONResponseV0& rhs);
+    AliMUONResponseV0& operator = (const AliMUONResponseV0& rhs);
+
+   
     ClassDef(AliMUONResponseV0,2) // Implementation of detector response
 };