]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSgeom.cxx
new SDD preprocessor + removal of eff C++ warning (base) - E. Crescio
[u/mrichter/AliRoot.git] / ITS / AliITSgeom.cxx
index 58d8100c36ca48d67090411566276e3f62a4afa1..1c659bc765269bce3c68bb4ea908e7e4ebf3c4ab 100644 (file)
@@ -165,6 +165,7 @@ fShape(0,0)      // Array of shapes and detector information.
     fShape.SetOwner(kTRUE);
     return;
 }
+
 //______________________________________________________________________
 AliITSgeom::AliITSgeom(Int_t itype,Int_t nlayers,const Int_t *nlads,
                        const Int_t *ndets,Int_t mods):
@@ -630,7 +631,16 @@ fShape(0,0)      // TObjArray of detector geom.
 }
 
 //______________________________________________________________________
-AliITSgeom::AliITSgeom(const AliITSgeom &source) : TObject(source){
+AliITSgeom::AliITSgeom(const AliITSgeom &source) : TObject(source),
+fVersion(source.fVersion),
+fTrans(source.fTrans),
+fNmodules(source.fNmodules),
+fNlayers(source.fNlayers),
+fNlad(source.fNlad),
+fNdet(source.fNdet),
+fGm(source.fGm),
+fShape(source.fShape)
+{
     //     The copy constructor for the AliITSgeom class. It calls the
     // = operator function. See the = operator function for more details.
     // Inputs:
@@ -641,8 +651,8 @@ AliITSgeom::AliITSgeom(const AliITSgeom &source) : TObject(source){
     // Return:
     //     none.
 
-    *this = source;  // Just use the = operator for now.
-    return;
+  *this = source;  // Just use the = operator for now.
+  return;
 }
 
 //______________________________________________________________________