]>
Commit | Line | Data |
---|---|---|
4c039060 | 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$ | |
92c19c36 | 18 | Revision 1.2.4.8 2000/10/02 15:52:05 barbera |
19 | Forward declaration added | |
20 | ||
21 | Revision 1.7 2000/07/10 16:07:18 fca | |
22 | Release version of ITS code | |
23 | ||
1f74eff4 | 24 | Revision 1.2.4.2 2000/03/04 23:55:35 nilsen |
25 | Fixed up comments/documentation. | |
26 | ||
27 | Revision 1.2.4.1 2000/01/12 19:03:32 nilsen | |
28 | This is the version of the files after the merging done in December 1999. | |
29 | See the ReadMe110100.txt file for details | |
30 | ||
31 | Revision 1.2 1999/09/29 09:24:20 fca | |
32 | Introduction of the Copyright and cvs Log | |
33 | ||
4c039060 | 34 | */ |
35 | ||
58005f18 | 36 | #include "AliITSgeomSDD.h" |
92c19c36 | 37 | #include <TBRIK.h> |
58005f18 | 38 | |
39 | ClassImp(AliITSgeomSDD) | |
40 | AliITSgeomSDD::AliITSgeomSDD(){ | |
1f74eff4 | 41 | //////////////////////////////////////////////////////////////////////// |
42 | // default constructor | |
43 | //////////////////////////////////////////////////////////////////////// | |
44 | ||
5323dece | 45 | Float_t fDx = 3.5; // cm. (Geant 3.12 units) Orthonormal to y and z |
46 | Float_t fDy = 0.014; // cm. (Geant 3.12 units) Radialy from the Beam Pipe | |
47 | Float_t fDz = 3.763; // cm. (Geant 3.12 units) Allong the Beam Pipe | |
1f74eff4 | 48 | |
49 | fShapeSDD = new TBRIK("ActiveSDD","Active volume of SDD","SDD SI DET", | |
5323dece | 50 | fDx,fDy,fDz); |
51 | } | |
52 | //________________________________________________________________________ | |
53 | AliITSgeomSDD::AliITSgeomSDD(AliITSgeomSDD &source){ | |
54 | // Copy constructor | |
55 | if(this==&source) return; | |
93a31784 | 56 | this->fShapeSDD = new TBRIK(*(source.fShapeSDD)); |
5323dece | 57 | this->fDx = source.fDx; |
58 | this->fDy = source.fDy; | |
59 | this->fDz = source.fDz; | |
60 | } | |
61 | //________________________________________________________________________ | |
62 | AliITSgeomSDD& AliITSgeomSDD::operator=(AliITSgeomSDD &source){ | |
63 | // = operator | |
64 | if(this==&source) return *this; | |
93a31784 | 65 | this->fShapeSDD = new TBRIK(*(source.fShapeSDD)); |
5323dece | 66 | this->fDx = source.fDx; |
67 | this->fDy = source.fDy; | |
68 | this->fDz = source.fDz; | |
69 | return *this; | |
58005f18 | 70 | } |