]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Copy constructor and assignment operator are enabled
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Aug 2006 13:47:49 +0000 (13:47 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Aug 2006 13:47:49 +0000 (13:47 +0000)
ITS/AliITSgeom.cxx

index 3f53ebd63bc60f5bd113f83da25728a46b529293..58d8100c36ca48d67090411566276e3f62a4afa1 100644 (file)
@@ -628,7 +628,7 @@ fShape(0,0)      // TObjArray of detector geom.
     } // end while ever loop
     fclose(pf);
 }
-/*
+
 //______________________________________________________________________
 AliITSgeom::AliITSgeom(const AliITSgeom &source) : TObject(source){
     //     The copy constructor for the AliITSgeom class. It calls the
@@ -644,6 +644,7 @@ AliITSgeom::AliITSgeom(const AliITSgeom &source) : TObject(source){
     *this = source;  // Just use the = operator for now.
     return;
 }
+
 //______________________________________________________________________
 AliITSgeom& AliITSgeom::operator=(const AliITSgeom &source){
     //     The = operator function for the AliITSgeom class. It makes an
@@ -687,7 +688,7 @@ AliITSgeom& AliITSgeom::operator=(const AliITSgeom &source){
         this->fGm.AddAt(new TObject(*(source.fGm.At(i))),i);
     return *this;
 }
-*/
+
 //______________________________________________________________________
 Int_t AliITSgeom::GetModuleIndex(Int_t lay,Int_t lad,Int_t det)const{
     //      This routine computes the module index number from the layer,