1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 #include <Riostream.h>
22 #include <TGeometry.h>
27 #include <TFile.h> // only required for Tracking function?
29 #include <TObjArray.h>
30 #include <TLorentzVector.h>
31 #include <TObjString.h>
32 #include <TClonesArray.h>
38 #include "AliITSGeometrySDDCone.h"
40 ClassImp(AliITSGeometrySDDCone)
42 //______________________________________________________________________
43 AliITSGeometrySDDCone::AliITSGeometrySDDCone(){
44 //Default Constructor for SDD Cone geometry
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
54 // Double_t z0 Z-axis shift of this volume
60 //______________________________________________________________________
61 void AliITSGeometrySDDCone::CreateG3Geometry(const char moth[3],
63 // Calls Geant 3 geometry inilization routines with the information
64 // stored in this class.
74 //______________________________________________________________________
75 void AliITSGeometrySDDCone::CreateG3Materials(){
76 // Fills the Geant 3 banks with Material and Medium definisions.
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",
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",
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",
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.
113 // No need to display ITS cones.