]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSgeomSDD.cxx
New ITS code for new structure and simulations.
[u/mrichter/AliRoot.git] / ITS / AliITSgeomSDD.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
7  * Permission to use, copy, modify and distribute this software and its   *
8  * documentation strictly for non-commercial purposes is hereby granted   *
9  * without fee, provided that the above copyright notice appears in all   *
10  * copies and that both the copyright notice and this permission notice   *
11  * appear in the supporting documentation. The authors make no claims     *
12  * about the suitability of this software for any purpose. It is          *
13  * provided "as is" without express or implied warranty.                  *
14  **************************************************************************/
15
16 /*
17 $Log$
18 Revision 1.2.4.2  2000/03/04 23:55:35  nilsen
19 Fixed up comments/documentation.
20
21 Revision 1.2.4.1  2000/01/12 19:03:32  nilsen
22 This is the version of the files after the merging done in December 1999.
23 See the ReadMe110100.txt file for details
24
25 Revision 1.2  1999/09/29 09:24:20  fca
26 Introduction of the Copyright and cvs Log
27
28 */
29
30 #include "AliITSgeomSDD.h"
31
32 ClassImp(AliITSgeomSDD)
33 AliITSgeomSDD::AliITSgeomSDD(){
34 ////////////////////////////////////////////////////////////////////////
35 //    default constructor
36 ////////////////////////////////////////////////////////////////////////
37
38     Float_t fDx = 3.5;  // cm. (Geant 3.12 units) Orthonormal to y and z
39     Float_t fDy = 0.014;  // cm. (Geant 3.12 units) Radialy from the Beam Pipe
40     Float_t fDz = 3.763;  // cm. (Geant 3.12 units) Allong the Beam Pipe
41
42     fShapeSDD = new TBRIK("ActiveSDD","Active volume of SDD","SDD SI DET",
43                             fDx,fDy,fDz);
44 }
45 //________________________________________________________________________
46 AliITSgeomSDD::AliITSgeomSDD(AliITSgeomSDD &source){
47   // Copy constructor
48    if(this==&source) return;
49    this->fShapeSDD = new TBRIK(*(source.fShapeSDD));
50    this->fDx = source.fDx;
51    this->fDy = source.fDy;
52    this->fDz = source.fDz;
53 }
54 //________________________________________________________________________
55 AliITSgeomSDD& AliITSgeomSDD::operator=(AliITSgeomSDD &source){
56   // = operator
57    if(this==&source) return *this;
58    this->fShapeSDD = new TBRIK(*(source.fShapeSDD));
59    this->fDx = source.fDx;
60    this->fDy = source.fDy;
61    this->fDz = source.fDz;
62    return *this;
63 }