X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSgeomSDD.cxx;h=aa5f6b76fa2e9d9c6bc1f6ea79a5476e43378e88;hb=63c91916e14a2dc1aa944ab22ca99ec77ee2f898;hp=f31c3011618717387a022c2c37992f12293f81a6;hpb=4c03906077acc435bf9790b980186e0015ea0b89;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSgeomSDD.cxx b/ITS/AliITSgeomSDD.cxx index f31c3011618..aa5f6b76fa2 100644 --- a/ITS/AliITSgeomSDD.cxx +++ b/ITS/AliITSgeomSDD.cxx @@ -15,15 +15,56 @@ /* $Log$ +Revision 1.2.4.8 2000/10/02 15:52:05 barbera +Forward declaration added + +Revision 1.7 2000/07/10 16:07:18 fca +Release version of ITS code + +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" +#include 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; }