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