]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpSlatSegmentation.cxx
Adding protected copy constructor and assignment operator
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSlatSegmentation.cxx
index 59a60a1d10c736cabf70b086d902af0364c9c46f..677aea3501d26bda7f74771fc9c098c7efad1576 100644 (file)
@@ -58,6 +58,15 @@ fkSlat(slat)
   AliDebug(1,Form("this=%p Normal ctor slat=%p",this,slat));
 }
 
+//______________________________________________________________________________
+AliMpSlatSegmentation::AliMpSlatSegmentation(const AliMpSlatSegmentation& right) 
+  : AliMpVSegmentation(right) 
+{  
+/// Protected copy constructor (not implemented)
+
+  AliFatal("Copy constructor not provided.");
+}
+
 //_____________________________________________________________________________
 AliMpSlatSegmentation::~AliMpSlatSegmentation()
 {
@@ -68,6 +77,20 @@ AliMpSlatSegmentation::~AliMpSlatSegmentation()
   AliDebug(1,Form("this=%p",this));                    
 }
 
+//______________________________________________________________________________
+AliMpSlatSegmentation& 
+AliMpSlatSegmentation::operator=(const AliMpSlatSegmentation& right)
+{
+/// Protected assignement operator (not implemented)
+
+  // check assignement to self
+  if (this == &right) return *this;
+
+  AliFatal("Assignement operator not provided.");
+    
+  return *this;  
+}    
+
 //_____________________________________________________________________________
 AliMpVPadIterator*
 AliMpSlatSegmentation::CreateIterator(const AliMpArea& area) const