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