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 **************************************************************************/
22 #include <Riostream.h>
26 #include <TGeometry.h>
31 #include <TFile.h> // only required for Tracking function?
33 #include <TObjArray.h>
34 #include <TLorentzVector.h>
35 #include <TObjString.h>
36 #include <TClonesArray.h>
42 #include "AliITSGeometrySDDCone.h"
44 ClassImp(AliITSGeometrySDDCone)
46 //______________________________________________________________________
47 AliITSGeometrySDDCone::AliITSGeometrySDDCone(){
48 //Default Constructor for SDD Cone geometry
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
58 // Double_t z0 Z-axis shift of this volume
64 //______________________________________________________________________
65 void AliITSGeometrySDDCone::CreateG3Geometry(const char moth[3],
67 // Calls Geant 3 geometry inilization routines with the information
68 // stored in this class.
78 //______________________________________________________________________
79 void AliITSGeometrySDDCone::CreateG3Materials(){
80 // Fills the Geant 3 banks with Material and Medium definisions.
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",
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",
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",
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.
117 // No need to display ITS cones.