]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSegmentationSlat.cxx
Added protected copy constructors and assignment operators. (I. Hrivnacova)
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentationSlat.cxx
index 9e81968159293b09208003d15428629d5909a52e..6986364bb94e7536a3b5ac786b80d503a8f2c2df 100644 (file)
@@ -32,6 +32,7 @@
 ClassImp(AliMUONSegmentationSlat)
 
 AliMUONSegmentationSlat::AliMUONSegmentationSlat() 
+  :  AliSegmentation() 
 {
 // Default constructor
   fChamber = 0;
@@ -41,6 +42,7 @@ AliMUONSegmentationSlat::AliMUONSegmentationSlat()
 }
 
 AliMUONSegmentationSlat::AliMUONSegmentationSlat(Int_t /*nsec*/) 
+  :  AliSegmentation() 
 {
 // Non default constructor
     fSlats=0;            
@@ -49,6 +51,14 @@ AliMUONSegmentationSlat::AliMUONSegmentationSlat(Int_t /*nsec*/)
     fCurrentSlat = 0;
 }
 
+AliMUONSegmentationSlat::AliMUONSegmentationSlat(const AliMUONSegmentationSlat& rhs)
+  :  AliSegmentation(rhs) 
+{
+// Protected copy constructor
+
+  Fatal("AliMUONSegmentationSlatModule", "Not implemented.");
+}
+
 AliMUONSegmentationSlat::~AliMUONSegmentationSlat(){
   //PH Delete TObjArrays
   if (fSlats) {
@@ -61,6 +71,21 @@ AliMUONSegmentationSlat::~AliMUONSegmentationSlat(){
   }
 
 }
+
+//----------------------------------------------------------------------
+AliMUONSegmentationSlat& 
+AliMUONSegmentationSlat::operator=(const AliMUONSegmentationSlat& rhs)
+{
+// Protected assignement operator
+
+  if (this == &rhs) return *this;
+
+  Fatal("operator=", "Not implemented.");
+    
+  return *this;  
+}    
+          
+
 //-----------------------------------------------------------
 void AliMUONSegmentationSlat::SetPadSize(Float_t p1, Float_t p2)
 {