From: cvetan Date: Fri, 18 Aug 2006 13:47:49 +0000 (+0000) Subject: Copy constructor and assignment operator are enabled X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=5613046a1b2a05291a25f1d4d241a84a00f87bae;p=u%2Fmrichter%2FAliRoot.git Copy constructor and assignment operator are enabled --- diff --git a/ITS/AliITSgeom.cxx b/ITS/AliITSgeom.cxx index 3f53ebd63bc..58d8100c36c 100644 --- a/ITS/AliITSgeom.cxx +++ b/ITS/AliITSgeom.cxx @@ -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,