]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSgeomSDD.cxx
New ITS code replacing the old structure and simulations code.
[u/mrichter/AliRoot.git] / ITS / AliITSgeomSDD.cxx
index f31c3011618717387a022c2c37992f12293f81a6..8c41da6e5b0ab13de339d7e8a8cedee089f44965 100644 (file)
 
 /*
 $Log$
+Revision 1.2.4.6  2000/06/11 20:29:39  barbera
+Minore changes.
+
+Revision 1.2.4.2  2000/03/04 23:55:35  nilsen
+Fixed up comments/documentation.
+
+Revision 1.2.4.1  2000/01/12 19:03:32  nilsen
+This is the version of the files after the merging done in December 1999.
+See the ReadMe110100.txt file for details
+
+Revision 1.2  1999/09/29 09:24:20  fca
+Introduction of the Copyright and cvs Log
+
 */
 
 #include "AliITSgeomSDD.h"
 
 ClassImp(AliITSgeomSDD)
 AliITSgeomSDD::AliITSgeomSDD(){
-    //
-    // default constructor
-    //
-    fShapeSDD = new TBRIK("ActiveSDD","Active volume of SDD","SDD SI CHIP",
-                           3.0E-2/2.,7.25/2.,7.53/2.);
+////////////////////////////////////////////////////////////////////////
+//    default constructor
+////////////////////////////////////////////////////////////////////////
+
+    Float_t fDx = 3.5;  // cm. (Geant 3.12 units) Orthonormal to y and z
+    Float_t fDy = 0.014;  // cm. (Geant 3.12 units) Radialy from the Beam Pipe
+    Float_t fDz = 3.763;  // cm. (Geant 3.12 units) Allong the Beam Pipe
+
+    fShapeSDD = new TBRIK("ActiveSDD","Active volume of SDD","SDD SI DET",
+                           fDx,fDy,fDz);
+}
+//________________________________________________________________________
+AliITSgeomSDD::AliITSgeomSDD(AliITSgeomSDD &source){
+  // Copy constructor
+   if(this==&source) return;
+   this->fShapeSDD = new TBRIK(*(source.fShapeSDD));
+   this->fDx = source.fDx;
+   this->fDy = source.fDy;
+   this->fDz = source.fDz;
+}
+//________________________________________________________________________
+AliITSgeomSDD& AliITSgeomSDD::operator=(AliITSgeomSDD &source){
+  // = operator
+   if(this==&source) return *this;
+   this->fShapeSDD = new TBRIK(*(source.fShapeSDD));
+   this->fDx = source.fDx;
+   this->fDy = source.fDy;
+   this->fDz = source.fDz;
+   return *this;
 }