]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSgeomSDD.cxx
Forward declaration added
[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.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
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
34 */
35
36 #include "AliITSgeomSDD.h"
37 #include <TBRIK.h>
38
39 ClassImp(AliITSgeomSDD)
40 AliITSgeomSDD::AliITSgeomSDD(){
41 ////////////////////////////////////////////////////////////////////////
42 //    default constructor
43 ////////////////////////////////////////////////////////////////////////
44
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
48
49     fShapeSDD = new TBRIK("ActiveSDD","Active volume of SDD","SDD SI DET",
50                             fDx,fDy,fDz);
51 }
52 //________________________________________________________________________
53 AliITSgeomSDD::AliITSgeomSDD(AliITSgeomSDD &source){
54   // Copy constructor
55    if(this==&source) return;
56    this->fShapeSDD = new TBRIK(*(source.fShapeSDD));
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;
65    this->fShapeSDD = new TBRIK(*(source.fShapeSDD));
66    this->fDx = source.fDx;
67    this->fDy = source.fDy;
68    this->fDz = source.fDz;
69    return *this;
70 }