]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSGeometrySDDCone.cxx
Log replaced by Id
[u/mrichter/AliRoot.git] / ITS / AliITSGeometrySDDCone.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 /* $Id$ */
17
18 #include <Riostream.h>
19 #include <stdio.h>
20 #include <stdlib.h>
21 #include <TMath.h>
22 #include <TGeometry.h>
23 #include <TNode.h>
24 #include <TTUBE.h>
25 #include <TTUBS.h>
26 #include <TPCON.h>
27 #include <TFile.h>    // only required for Tracking function?
28 #include <TCanvas.h>
29 #include <TObjArray.h>
30 #include <TLorentzVector.h>
31 #include <TObjString.h>
32 #include <TClonesArray.h>
33 #include <TBRIK.h>
34 #include <TSystem.h>
35 #include <TVector3.h>
36 #include <AliITS.h>
37
38 #include "AliITSGeometrySDDCone.h"
39
40 ClassImp(AliITSGeometrySDDCone)
41
42 //______________________________________________________________________
43 AliITSGeometrySDDCone::AliITSGeometrySDDCone(){
44     //Default Constructor for SDD Cone geometry
45
46     SetScalemm();
47 }
48 //______________________________________________________________________
49 AliITSGeometrySDDCone::AliITSGeometrySDDCone(AliITS *its,TVector3 *&tran,
50                                              const char moth[3],Int_t mat0):
51     AliITSBaseGeometry(its,0){
52     //Standard Constructor for SDD Cone geometry
53     // Inputs:
54     //   Double_t z0  Z-axis shift of this volume
55     // Outputs:
56     //   none.
57     // Return:
58     //   none.
59 }
60 //______________________________________________________________________
61 void AliITSGeometrySDDCone::CreateG3Geometry(const char moth[3],
62                                              TVector3 &trans){
63     // Calls Geant 3 geometry inilization routines with the information
64     // stored in this class.
65     // Inputs:
66     //    none.
67     // Outputs:
68     //    none.
69     // Return:
70     //    none.
71
72     return;
73 }
74 //______________________________________________________________________
75 void AliITSGeometrySDDCone::CreateG3Materials(){
76     // Fills the Geant 3 banks with Material and Medium definisions.
77     // Inputs:
78     //   none.
79     // Outputs:
80     //   none.
81     // Returns:
82     //   none.
83     Int_t Z[5];
84     Double_t W[5],dens;
85
86     Z[0] = 1; W[0] = 0.5; // Hydrogen Content
87     Z[1] = 6; W[1] = 0.5; // Carbon Content
88     MixtureByWeight(fSDDcf,"Carbon Fiber for SDD support cone",Z,W,dens,2,0);
89     Z[0] = 1; W[0] = 0.5; // Hydrogen Content
90     Z[1] = 6; W[1] = 0.5; // Carbon Content
91     MixtureByWeight(fSDDfs,"Inserto stealite 4411w for SDD support cone",
92                     Z,W,dens,2,0);
93     Z[0] = 1; W[0] = 0.5; // Hydrogen Content
94     Z[1] = 6; W[1] = 0.5; // Carbon Content
95     MixtureByWeight(fSDDfo,"Foam core (Rohacell 50A) for SDD support cone",
96                     Z,W,dens,2,0);
97     Z[0] =  6; W[0] = 0.5; // Carbon Content
98     Z[1] = 25; W[1] = 0.5; // Iron Content
99     MixtureByWeight(fSDDsw,"Stainless steal screw, pin, and stud material",
100                     Z,W,dens,2,0);
101 }
102 //______________________________________________________________________
103 void AliITSGeometrySDDCone::BuildDisplayGeometry(){
104     // Fill Root geometry banks for fast simple ITS simulation event
105     // display. See Display.C, and related code, for more details.
106     // Inputs:
107     //    none.
108     // Outputs:
109     //   none.
110     // Return:
111     //  none.
112
113     // No need to display ITS cones.
114 }
115