Transition to NewIO
[u/mrichter/AliRoot.git] / ITS / AliITSv11.cxx
CommitLineData
2b680d9b 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.7.2.1 2003/05/19 16:24:40 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.7 2003/03/25 23:27:19 nilsen
22ITS new Geometry files. Not yet ready for uses, committed to allow additional
23development.
24
162acd47 25Revision 1.6 2003/02/10 17:03:52 nilsen
26New version and structure of ITS V11 geometry. Work still in progress.
27
aa9bc63b 28Revision 1.5 2003/02/01 14:02:20 nilsen
29Work continues.
30
2cf828ba 31Revision 1.4 2003/01/29 16:01:14 nilsen
32Update today's work.
33
db708caf 34Revision 1.3 2003/01/28 17:59:54 nilsen
35Work continuing.
36
3717ba94 37Revision 1.2 2003/01/26 14:35:15 nilsen
38Some more geometry interface functions added and a start at the SSD support
162acd47 39cone geometry. Committed to allow easy updates of partical work between
40authors.
3717ba94 41
dfefbaec 42Revision 1.1 2003/01/20 23:32:49 nilsen
43New ITS geometry. Only a Skeleton for now.
44
2b680d9b 45$Id$
46*/
47
48//////////////////////////////////////////////////////////////////////////////
49// //
50// Inner Traking System version 11 //
51// This class contains the base procedures for the Inner Tracking System //
52// //
53// Authors: R. Barbera //
54// version 6. //
55// Created 2000. //
56// //
57// NOTE: THIS IS THE SYMMETRIC PPR geometry of the ITS. //
58// THIS WILL NOT WORK //
59// with the geometry or module classes or any analysis classes. You are //
60// strongly encouraged to uses AliITSv5. //
61// //
62//////////////////////////////////////////////////////////////////////////////
63// See AliITSv11::StepManager().
64#include <Riostream.h>
65#include <stdio.h>
66#include <stdlib.h>
67#include <TMath.h>
2b680d9b 68#include <TFile.h> // only required for Tracking function?
2b680d9b 69#include <TObjArray.h>
70#include <TLorentzVector.h>
71#include <TObjString.h>
72#include <TClonesArray.h>
73#include <TBRIK.h>
74#include <TSystem.h>
75
76
77#include "AliRun.h"
78#include "AliMagF.h"
79#include "AliConst.h"
80#include "AliITSGeant3Geometry.h"
81#include "AliITShit.h"
2b680d9b 82#include "AliITSv11.h"
83#include "AliITSgeom.h"
84#include "AliITSgeomSPD.h"
85#include "AliITSgeomSDD.h"
86#include "AliITSgeomSSD.h"
87#include "AliITSDetType.h"
88#include "AliITSresponseSPD.h"
89#include "AliITSresponseSDD.h"
90#include "AliITSresponseSSD.h"
91#include "AliITSsegmentationSPD.h"
92#include "AliITSsegmentationSDD.h"
93#include "AliITSsegmentationSSD.h"
94#include "AliITSsimulationSPD.h"
95#include "AliITSsimulationSDD.h"
96#include "AliITSsimulationSSD.h"
97#include "AliITSClusterFinderSPD.h"
98#include "AliITSClusterFinderSDD.h"
99#include "AliITSClusterFinderSSD.h"
aa9bc63b 100//
162acd47 101#include "AliITSGeometryITSV.h"
aa9bc63b 102#include "AliITSGeometrySSDCone.h"
162acd47 103#include "AliITSGeometrySDDCone.h"
2b680d9b 104
105ClassImp(AliITSv11)
106
107//______________________________________________________________________
108AliITSv11::AliITSv11() : AliITS() {
aa9bc63b 109 // Standard default constructor for the ITS version 11.
2b680d9b 110 // Inputs:
aa9bc63b 111 // none.
2b680d9b 112 // Outputs:
aa9bc63b 113 // none.
114 // Return
115 // A default constructed AliITSv11 class.
2b680d9b 116
162acd47 117 fITSV = 0;
118 fcS = 0;
119// fcD = 0;
2b680d9b 120}
121//______________________________________________________________________
aa9bc63b 122AliITSv11::AliITSv11(const char *title) : AliITS("ITS", title){
123 // Standard constructor for the ITS version 11.
2b680d9b 124 // Inputs:
162acd47 125 // const char *title The title of for this geometry.
2b680d9b 126 // Outputs:
aa9bc63b 127 // none.
128 // Return
129 // A Standard constructed AliITSv11 class.
2b680d9b 130
162acd47 131 fITSV = 0;
132 fcS = 0;
133// fcD = 0;
2b680d9b 134}
135//______________________________________________________________________
aa9bc63b 136AliITSv11::~AliITSv11() {
137 // Standard destructor for the ITS version 11.
dfefbaec 138 // Inputs:
aa9bc63b 139 // none.
dfefbaec 140 // Outputs:
aa9bc63b 141 // none.
142 // Return
143 // none.
dfefbaec 144
162acd47 145 if(fITSV!=0) delete fITSV;
146 if(fcS!=0) delete fcS;
147// if(fcD!=0) delete fcD;
148}
149//______________________________________________________________________
150AliITSv11::AliITSv11(const AliITSv11 &source){
151 // Copy Constructor for ITS version 11.
152 // Inputs:
153 // AliITSv11 &source class to be copied from.
154 // Outputs:
155 // none.
156 // Return
157 // none.
158
159 if(&source == this) return;
160 Error("Copy Constructor","Not allowed to copy AliITSv11");
161 return;
162}
163//______________________________________________________________________
164AliITSv11& AliITSv11::operator=(const AliITSv11 &source){
165 // Assignment operator for the ITS version 11.
166 // Inputs:
167 // AliITSv11 &source class to be copied from.
168 // Outputs:
169 // none.
170 // Return
171 // none.
172
173 if(&source == this) return *this;
174 Error("= operator","Not allowed to copy AliITSv11");
175 return *this;
dfefbaec 176}
177//______________________________________________________________________
aa9bc63b 178void AliITSv11::BuildGeometry(){
162acd47 179 // This routine defines and Creates the geometry for version 11 of
180 // the ITS for use in the simulation display routines. This is a
181 // very simplified geometry for speed of viewing.
2b680d9b 182 // Inputs:
aa9bc63b 183 // none.
2b680d9b 184 // Outputs:
aa9bc63b 185 // none.
186 // Return
187 // none.
162acd47 188 TVector3 t(0.0,0.0,0.0);
2b680d9b 189
162acd47 190 if(fITSV==0) fITSV = new AliITSGeometryITSV(this,"ALIC");
191 if(fcS==0) fcS = new AliITSGeometrySSDCone(this,t,"TSV",1);
2b680d9b 192
162acd47 193 fcS->BuildDisplayGeometry();
2b680d9b 194}
195//______________________________________________________________________
aa9bc63b 196void AliITSv11::CreateGeometry(){
162acd47 197 // This routine defines and Creates the geometry for version 11 of
198 // the ITS. The geometry is used by the particle trasport routines,
199 // and therefore, is very detailed.
dfefbaec 200 // Inputs:
aa9bc63b 201 // none.
dfefbaec 202 // Outputs:
aa9bc63b 203 // none.
204 // Return
205 // none.
aa9bc63b 206 TVector3 t(0.0,0.0,0.0);
162acd47 207
208 if(fITSV==0) fITSV = new AliITSGeometryITSV(this,"ALIC");
209 if(fcS==0) fcS = new AliITSGeometrySSDCone(this,t,"TSV",1);
210 //
211 fITSV->CreateG3Geometry();
212 fcS->CreateG3Geometry("TSV",t);
213 //
214 fITSV->PositionGeometry("ALIC",1,t,0);
215 fcS->PositionG3Geometry(fITSV->GetParams(),1,t,0);
3717ba94 216}
217//______________________________________________________________________
aa9bc63b 218void AliITSv11::CreateMaterials(){
219 // Create ITS materials
220 // This function defines the default materials used in the Geant
162acd47 221 // Monte Carlo simulations for the geometries AliITSv11.
aa9bc63b 222 // In general it is automatically replaced by
3717ba94 223 // Inputs:
aa9bc63b 224 // none.
3717ba94 225 // Outputs:
226 // none.
aa9bc63b 227 // Return
3717ba94 228 // none.
162acd47 229/*
230 TVector3 t(0.0,0.0,0.0);
231
232 if(fITSV==0) fITSV = new AliITSGeometryITSV(this,"ALIC");
233 if(fcS==0) fcS = new AliITSGeometrySSDCone(this,t,"TSV",1);
234
235 fITSV->CreateG3Materials();
236 fcS->CreateG3Materials();
237*/
238
239
240 Int_t ifield = gAlice->Field()->Integ();
241 Float_t fieldm = gAlice->Field()->Max();
242
243 Float_t tmaxfd = 0.1; // 1.0; // Degree
244 Float_t stemax = 1.0; // cm
245 Float_t deemax = 0.1; // 30.0; // Fraction of particle's energy 0<deemax<=1
246 Float_t epsil = 1.0E-4; // 1.0; // cm
247 Float_t stmin = 0.0; // cm "Default value used"
248
249 Float_t tmaxfdSi = 0.1; // .10000E+01; // Degree
250 Float_t stemaxSi = 0.0075; // .10000E+01; // cm
251 Float_t deemaxSi = 0.1; // 0.30000E-02; // Fraction of particle's energy 0<deemax<=1
252 Float_t epsilSi = 1.0E-4;// .10000E+01;
253 Float_t stminSi = 0.0; // cm "Default value used"
254
255 Float_t tmaxfdAir = 0.1; // .10000E+01; // Degree
256 Float_t stemaxAir = .10000E+01; // cm
257 Float_t deemaxAir = 0.1; // 0.30000E-02; // Fraction of particle's energy 0<deemax<=1
258 Float_t epsilAir = 1.0E-4;// .10000E+01;
259 Float_t stminAir = 0.0; // cm "Default value used"
260
261 Float_t tmaxfdServ = 1.0; // 10.0; // Degree
262 Float_t stemaxServ = 1.0; // 0.01; // cm
263 Float_t deemaxServ = 0.5; // 0.1; // Fraction of particle's energy 0<deemax<=1
264 Float_t epsilServ = 1.0E-3; // 0.003; // cm
265 Float_t stminServ = 0.0; //0.003; // cm "Default value used"
266
267 // Freon
268 Float_t afre[2] = { 12.011,18.9984032 };
269 Float_t zfre[2] = { 6., 9. };
270 Float_t wfre[2] = { 5.,12. };
271 Float_t densfre = 1.5;
272
273 // --- Define the various materials and media for GEANT ---
274 // AliMaterial(Int_t imat, const char* name, Float_t a, Float_t z,
275 // Float_t dens, Float_t radl, Float_t absl,
276 // Float_t *buf=0, Int_t nwbuf=0)
277 //AliMedium(Int_t numed, const char *name, Int_t nmat,
278 // Int_t isvol, Int_t ifield, Float_t fieldm,
279 // Float_t tmaxfd, Float_t stemax, Float_t deemax,
280 // Float_t epsil, Float_t stmin, Float_t *ubuf=0, Int_t nbuf=0)
281 AliMaterial(1,"SI$",0.28086E+02,0.14000E+02,0.23300E+01,0.93600E+01,0.99900E+03);
282 AliMedium(1,"SI$",1,0,ifield,fieldm,tmaxfdSi,stemaxSi,deemaxSi,epsilSi,stminSi);
283
284 AliMaterial(2,"SPD SI CHIP$",0.28086E+02,0.14000E+02,0.23300E+01,0.93600E+01,0.99900E+03);
285 AliMedium(2,"SPD SI CHIP$",2,0,ifield,fieldm,tmaxfdSi,stemaxSi,deemaxSi,epsilSi,stminSi);
286
287 AliMaterial(3,"SPD SI BUS$",0.28086E+02,0.14000E+02,0.23300E+01,0.93600E+01,0.99900E+03);
288 AliMedium(3,"SPD SI BUS$",3,0,ifield,fieldm,tmaxfdSi,stemaxSi,deemaxSi,epsilSi,stminSi);
289
290 AliMaterial(4,"C (M55J)$",0.12011E+02,0.60000E+01,0.1930E+01,0.22100E+02,0.99900E+03);
291 AliMedium(4,"C (M55J)$",4,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
292
293 AliMaterial(5,"AIR$",0.14610E+02,0.73000E+01,0.12050E-02,0.30423E+05,0.99900E+03);
294 AliMedium(5,"AIR$",5,0,ifield,fieldm,tmaxfdAir,stemaxAir,deemaxAir,epsilAir,stminAir);
295
296 AliMaterial(6,"GEN AIR$",0.14610E+02,0.73000E+01,0.12050E-02,0.30423E+05,0.99900E+03);
297 AliMedium(6,"GEN AIR$",6,0,ifield,fieldm,tmaxfdAir,stemaxAir,deemaxAir,epsilAir,stminAir);
298
299 AliMaterial(7,"SDD SI CHIP$",0.374952E+02,0.178184E+02,0.24485E+01,0.76931E+01,0.99900E+03);
300 AliMedium(7,"SDD SI CHIP$",7,0,ifield,fieldm,tmaxfdSi,stemaxSi,deemaxSi,epsilSi,stminSi);
301
302 AliMaterial(9,"SDD C (M55J)$",0.123565E+02,0.64561E+01,0.18097E+01,0.229570E+02,0.99900E+03);
303 AliMedium(9,"SDD C (M55J)$",9,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
304
305 AliMaterial(10,"SDD AIR$",0.14610E+02,0.73000E+01,0.12050E-02,0.30423E+05,0.99900E+03);
306 AliMedium(10,"SDD AIR$",10,0,ifield,fieldm,tmaxfdAir,stemaxAir,deemaxAir,epsilAir,stminAir);
307
308 AliMaterial(11,"AL$",0.26982E+02,0.13000E+02,0.26989E+01,0.89000E+01,0.99900E+03);
309 AliMedium(11,"AL$",11,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
310
311 AliMaterial(12,"WATER$",0.14322E+02,0.72167E+01,0.10000E+01,0.35759E+02,0.94951E+02);
312 AliMedium(12,"WATER$",12,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
313
314 AliMixture(13,"Freon$",afre,zfre,densfre,-2,wfre);
315 AliMedium(13,"Freon$",13,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
316
317 AliMaterial(14,"COPPER$",0.63546E+02,0.29000E+02,0.89600E+01,0.14300E+01,0.99900E+03);
318 AliMedium(14,"COPPER$",14,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
319
320 AliMaterial(15,"CERAMICS$",0.22314E+02,0.10856E+02,0.36000E+01,0.76200E+01,0.31901E+02);
321 AliMedium(15,"CERAMICS$",15,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
322
323 AliMaterial(20,"SSD C (M55J)$",0.12011E+02,0.60000E+01,0.1930E+01,0.22100E+02,0.99900E+03);
324 AliMedium(20,"SSD C (M55J)$",20,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
325
326 AliMaterial(21,"SSD AIR$",0.14610E+02,0.73000E+01,0.12050E-02,0.30423E+05,0.99900E+03);
327 AliMedium(21,"SSD AIR$",21,0,ifield,fieldm,tmaxfdAir,stemaxAir,deemaxAir,epsilAir,stminAir);
328
329 AliMaterial(25,"G10FR4$",0.17749E+02,0.88750E+01,0.18000E+01,0.21822E+02,0.99900E+03);
330 AliMedium(25,"G10FR4$",25,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
331
332 AliMaterial(26,"GEN C (M55J)$",0.12011E+02,0.60000E+01,0.1930E+01,0.22100E+02,0.99900E+03);
333 AliMedium(26,"GEN C (M55J)$",26,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
334
335 AliMaterial(27,"GEN Air$",0.14610E+02,0.73000E+01,0.12050E-02,0.30423E+05,0.99900E+03);
336 AliMedium(27,"GEN Air$",27,0,ifield,fieldm,tmaxfdAir,stemaxAir,deemaxAir,epsilAir,stminAir);
337
338 AliMaterial(51,"SPD SI$",0.28086E+02,0.14000E+02,0.23300E+01,0.93600E+01,0.99900E+03);
339 AliMedium(51,"SPD SI$",51,0,ifield,fieldm,tmaxfdSi,stemaxSi,deemaxSi,epsilSi,stminSi);
340
341 AliMaterial(52,"SPD SI CHIP$",0.28086E+02,0.14000E+02,0.23300E+01,0.93600E+01,0.99900E+03);
342 AliMedium(52,"SPD SI CHIP$",52,0,ifield,fieldm,tmaxfdSi,stemaxSi,deemaxSi,epsilSi,stminSi);
343
344 AliMaterial(53,"SPD SI BUS$",0.28086E+02,0.14000E+02,0.23300E+01,0.93600E+01,0.99900E+03);
345 AliMedium(53,"SPD SI BUS$",53,0,ifield,fieldm,tmaxfdSi,stemaxSi,deemaxSi,epsilSi,stminSi);
346
347 AliMaterial(54,"SPD C (M55J)$",0.12011E+02,0.60000E+01,0.1930E+01,0.22100E+02,0.99900E+03);
348 AliMedium(54,"SPD C (M55J)$",54,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
349
350 AliMaterial(55,"SPD AIR$",0.14610E+02,0.73000E+01,0.12050E-02,0.30423E+05,0.99900E+03);
351 AliMedium(55,"SPD AIR$",55,0,ifield,fieldm,tmaxfdAir,stemaxAir,deemaxAir,epsilAir,stminAir);
352
353 AliMaterial(56,"SPD KAPTON(POLYCH2)$",0.14000E+02,0.71770E+01,0.13000E+01,0.31270E+02,0.99900E+03);
354 AliMedium(56,"SPD KAPTON(POLYCH2)$",56,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
355
356 AliMaterial(61,"EPOXY$",0.17749E+02,0.88750E+01,0.18000E+01,0.21822E+02,0.99900E+03);
357 AliMedium(61,"EPOXY$",61,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
358
359 AliMaterial(62,"SILICON$",0.28086E+02,0.14000E+02,0.23300E+01,0.93600E+01,0.99900E+03);
360 AliMedium(62,"SILICON$",62,0,ifield,fieldm,tmaxfdSi,stemaxSi,deemaxSi,epsilSi,stminSi);
361
362 AliMaterial(63,"KAPTONH(POLYCH2)$",0.14000E+02,0.71770E+01,0.13000E+01,0.31270E+02,0.99900E+03);
363 AliMedium(63,"KAPTONH(POLYCH2)$",63,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
364
365 AliMaterial(64,"ALUMINUM$",0.26982E+02,0.13000E+02,0.26989E+01,0.89000E+01,0.99900E+03);
366 AliMedium(64,"ALUMINUM$",64,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
367
368 AliMaterial(65,"INOX$",0.55098E+02,0.2572E+02,0.7900E+01,0.17800E+01,0.99900E+03);
369 AliMedium(65,"INOX$",65,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
370
371 AliMaterial(68,"ROHACELL$",0.123974E+02,0.62363E+01,0.500E-01,0.80986E+03,0.99900E+03);
372 AliMedium(68,"ROHACELL$",68,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
373
374 AliMaterial(69,"SDD C AL (M55J)$",0.138802E+02,0.71315E+01,0.19837E+01,0.176542E+02,0.99900E+03);
375 AliMedium(69,"SDD C AL (M55J)$",69,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
376
377 AliMaterial(70,"SDDKAPTON (POLYCH2)$",0.14000E+02,0.71770E+01,0.13000E+01,0.31270E+02,0.99900E+03);
378 AliMedium(70,"SDDKAPTON (POLYCH2)$",70,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
379
380 AliMaterial(71,"ITS SANDW A$",0.12011E+02,0.60000E+01,0.2115E+00,0.17479E+03,0.99900E+03);
381 AliMedium(71,"ITS SANDW A$",71,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
382
383 AliMaterial(72,"ITS SANDW B$",0.12011E+02,0.60000E+01,0.27000E+00,0.18956E+03,0.99900E+03);
384 AliMedium(72,"ITS SANDW B$",72,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
385
386 AliMaterial(73,"ITS SANDW C$",0.12011E+02,0.60000E+01,0.41000E+00,0.90868E+02,0.99900E+03);
387 AliMedium(73,"ITS SANDW C$",73,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
388
389 AliMaterial(74,"HEAT COND GLUE$",0.12011E+02,0.60000E+01,0.1930E+01,0.22100E+02,0.99900E+03);
390 AliMedium(74,"HEAT COND GLUE$",74,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
391
392 AliMaterial(75,"ELASTO SIL$",0.28086E+02,0.14000E+02,0.23300E+01,0.93600E+01,0.99900E+03);
393 AliMedium(75,"ELASTO SIL$",75,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
394
395 AliMaterial(76,"SPDBUS(AL+KPT+EPOX)$",0.19509E+02,0.96502E+01,0.19060E+01,0.15413E+02,0.99900E+03);
396 AliMedium(76,"SPDBUS(AL+KPT+EPOX)$",76,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
397
398 AliMaterial(77,"SDD X7R capacitors$",0.1157516E+03,0.477056E+02,0.67200E+01,0.14236E+01,0.99900E+03);
399 AliMedium(77,"SDD X7R capacitors$",77,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
400
401 AliMaterial(78,"SDD ruby sph. Al2O3$",0.218101E+02,0.106467E+02,0.39700E+01,0.48539E+01,0.99900E+03);
402 AliMedium(78,"SDD ruby sph. Al2O3$",78,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
403
404 AliMaterial(79,"SDD SI insensitive$",0.28086E+02,0.14000E+02,0.23300E+01,0.93600E+01,0.99900E+03);
405 AliMedium(79,"SDD SI insensitive$",79,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
406
407 AliMaterial(80,"SDD HV microcable$",0.159379E+02,0.78598E+01,0.16087E+01,0.217906E+02,0.99900E+03);
408 AliMedium(80,"SDD HV microcable$",80,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
409
410 AliMaterial(81,"SDD LV+signal cable$",0.223689E+02,0.108531+02,0.21035E+01,0.13440E+02,0.99900E+03);
411 AliMedium(81,"SDD LV+signal cable$",81,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
412
413 AliMaterial(82,"SDD hybrid microcab$",0.218254E+02,0.106001E+02,0.20502E+01,0.137308E+02,0.99900E+03);
414 AliMedium(82,"SDD hybrid microcab$",82,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
415
416 AliMaterial(83,"SDD anode microcab$",0.186438E+02,0.91193E+01,0.17854E+01,0.176451E+02,0.99900E+03);
417 AliMedium(83,"SDD anode microcab$",83,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
418
419 AliMaterial(84,"SDD/SSD rings$",0.123565E+02,0.64561E+01,0.18097E+01,0.229570E+02,0.99900E+03);
420 AliMedium(84,"SDD/SSD rings$",84,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
421
422 AliMaterial(85,"inox/alum$",0.321502E+02,0.153383E+02,0.30705E+01,0.69197E+01,0.99900E+03);
423 AliMedium(85,"inox/alum$",85,0,ifield,fieldm,tmaxfd,stemax,deemax,epsil,stmin);
424
425
426 // Special media
427
428 AliMaterial(90,"SPD shield$", 12.011, 6., 1.93/10. , 22.1*10., 999);
429 AliMedium(90,"SPD shield$",90,0,ifield,fieldm,tmaxfdServ,stemaxServ,deemaxServ,epsilServ,stminServ);
430
431 AliMaterial(91, "SPD End ladder$", 47.0447, 21.7963, 3.6374, 4.4711, 999);
432 AliMedium(91,"SPD End ladder$",91,0,ifield,fieldm,tmaxfdServ,stemaxServ,deemaxServ,epsilServ,stminServ);
433
434 AliMaterial(92, "SPD cone$",28.0855, 14., 2.33, 9.36, 999);
435 AliMedium(92,"SPD cone$",92,0,ifield,fieldm,tmaxfdServ,stemaxServ,deemaxServ,epsilServ,stminServ);
436
437 AliMaterial(93, "SDD End ladder$", 69.9298, 29.8246, 0.3824, 36.5103, 999);
438 AliMedium(93,"SDD End ladder$",93,0,ifield,fieldm,tmaxfdServ,stemaxServ,deemaxServ,epsilServ,stminServ);
3717ba94 439
162acd47 440 AliMaterial(94, "SDD cone$",63.546, 29., 1.15, 1.265, 999);
441 AliMedium(94,"SDD cone$",94,0,ifield,fieldm,tmaxfdServ,stemaxServ,deemaxServ,epsilServ,stminServ);
aa9bc63b 442
162acd47 443 AliMaterial(95, "SSD End ladder$", 32.0988, 15.4021, 0.68, 35.3238, 999);
444 AliMedium(95,"SSD End ladder$",95,0,ifield,fieldm,tmaxfdServ,stemaxServ,deemaxServ,epsilServ,stminServ);
445
446 AliMaterial(96, "SSD cone$",63.546, 29., 1.15, 1.265, 999);
447 AliMedium(96,"SSD cone$",96,0,ifield,fieldm,tmaxfdServ,stemaxServ,deemaxServ,epsilServ,stminServ);
dfefbaec 448}
449//______________________________________________________________________
450void AliITSv11::InitAliITSgeom(){
aa9bc63b 451 // Based on the geometry tree defined in Geant 3.21, this
162acd47 452 // routine initilizes the Class AliITSgeom from the Geant 3.21 ITS
453 // geometry sturture.
aa9bc63b 454 // Inputs:
455 // none.
456 // Outputs:
457 // none.
458 // Return
459 // none.
dfefbaec 460}
dfefbaec 461//______________________________________________________________________
462void AliITSv11::Init(){
aa9bc63b 463 // Initialise the ITS after it has been created.
464 // Inputs:
465 // none.
466 // Outputs:
467 // none.
468 // Return
469 // none.
dfefbaec 470}
471//______________________________________________________________________
472void AliITSv11::SetDefaults(){
162acd47 473 // Sets the default segmentation, response, digit and raw cluster
474 // classes to be used. These defaults can be overwritten in the
475 // macros that do these later steps. Defaults are give hear for the
476 // general user.
aa9bc63b 477 // Inputs:
478 // none.
479 // Outputs:
480 // none.
481 // Return
482 // none.
dfefbaec 483}
484//______________________________________________________________________
485void AliITSv11::DrawModule(){
162acd47 486 // Draw a standard set of shaded view of the ITS version 11.
aa9bc63b 487 // Inputs:
488 // none.
489 // Outputs:
490 // none.
491 // Return
492 // none.
dfefbaec 493}
494//______________________________________________________________________
495void AliITSv11::StepManager(){
aa9bc63b 496 // Called for every step in the ITS, then calles the AliITShit class
dfefbaec 497 // creator with the information to be recoreded about that hit.
aa9bc63b 498 // The value of the macro ALIITSPRINTGEOM if set to 1 will allow the
dfefbaec 499 // printing of information to a file which can be used to create a .det
500 // file read in by the routine CreateGeometry(). If set to 0 or any other
501 // value except 1, the default behavior, then no such file is created nor
162acd47 502 // is the extra variables and the like used in the printing allocated.
2b680d9b 503}
dfefbaec 504