Transition to NewIO
[u/mrichter/AliRoot.git] / ITS / AliITSvPPRasymm.cxx
CommitLineData
db915fea 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
88cb7938 16/*
17 $Id$
18*/
db915fea 19/*
88cb7938 20 $Log$
21 Revision 1.53.4.6 2003/06/13 16:30:59 nilsen
22 Introducing a backward incompatibility to hit files created before June 12
23 2002. The enterance hit is no longer recorded. The starting position of
24 every hit is used instead. Added GetPositionL0 to AliITShit, fixed up
25 AliITSmodule to use starting location of hit and not enterance hits, and
26 StepManager in AliITSvPPRasymm no longer records enterence hit to hit file.
cd3a3507 27
db915fea 28*/
db915fea 29///////////////////////////////////////////////////////////////////////////////
30// //
bae7e562 31// Inner Traking System version PPR asymmetric //
db915fea 32// This class contains the base procedures for the Inner Tracking System //
33// //
bae7e562 34// Authors: R. Barbera //
35// version 8. //
36// Created January 15 2001. //
37// //
38// NOTE: THIS IS THE ASYMMETRIC PPR geometry of the ITS. //
db915fea 39// //
40///////////////////////////////////////////////////////////////////////////////
cd3a3507 41
42// See AliITSvPPRasymm::StepManager().
4ae5bbc4 43#include <Riostream.h>
cd3a3507 44#include <stdio.h>
45#include <stdlib.h>
88cb7938 46
47#include <TBRIK.h>
48//#include <TCanvas.h>
49#include <TClonesArray.h>
50//#include <TFile.h> // only required for Tracking function?
db915fea 51#include <TGeometry.h>
88cb7938 52#include <TLorentzVector.h>
53#include <TMath.h>
db915fea 54#include <TNode.h>
88cb7938 55//#include <TObjArray.h>
56//#include <TObjString.h>
57#include <TPCON.h>
58//#include <TSystem.h>
db915fea 59#include <TTUBE.h>
1f99c14b 60#include <TTUBS.h>
88cb7938 61#include <TVirtualMC.h>
db915fea 62
cd3a3507 63#include "AliRun.h"
db915fea 64#include "AliMagF.h"
65#include "AliConst.h"
bae7e562 66#include "AliITSGeant3Geometry.h"
7bdd9b7d 67#include "AliTrackReference.h"
db915fea 68#include "AliITShit.h"
cd3a3507 69#include "AliITS.h"
db915fea 70#include "AliITSvPPRasymm.h"
cd3a3507 71#include "AliITSgeom.h"
bae7e562 72#include "AliITSgeomSDD.h"
88cb7938 73#include "AliITSgeomSPD.h"
bae7e562 74#include "AliITSgeomSSD.h"
88cb7938 75#include "AliITShit.h"
2c198b76 76#include "AliITSresponseSDD.h"
88cb7938 77#include "AliITSresponseSPD.h"
2c198b76 78#include "AliITSresponseSSD.h"
2c198b76 79#include "AliITSsegmentationSDD.h"
88cb7938 80#include "AliITSsegmentationSPD.h"
2c198b76 81#include "AliITSsegmentationSSD.h"
82873bc1 82#include "AliITSsimulationSDD.h"
88cb7938 83#include "AliITSsimulationSPD.h"
82873bc1 84#include "AliITSsimulationSSD.h"
88cb7938 85#include "AliITSvPPRasymm.h"
db915fea 86
87
88ClassImp(AliITSvPPRasymm)
89
90//_____________________________________________________________________________
91AliITSvPPRasymm::AliITSvPPRasymm() {
92////////////////////////////////////////////////////////////////////////
93// Standard default constructor for the ITS version 8.
94////////////////////////////////////////////////////////////////////////
bae7e562 95 Int_t i;
96
97 fIdN = 0;
98 fIdName = 0;
99 fIdSens = 0;
100 fEuclidOut = kFALSE; // Don't write Euclide file
101 fGeomDetOut = kFALSE; // Don't write .det file
0646a0e8 102 fGeomDetIn = kFALSE; // Don't Read .det file
bae7e562 103 fMajorVersion = IsVersion();
104 fMinorVersion = -1;
105 for(i=0;i<60;i++) fRead[i] = '\0';
106 for(i=0;i<60;i++) fWrite[i] = '\0';
107 for(i=0;i<60;i++) fEuclidGeomDet[i] = '\0';
db915fea 108}
109//_____________________________________________________________________________
110AliITSvPPRasymm::AliITSvPPRasymm(const char *name, const char *title) : AliITS(name, title){
111////////////////////////////////////////////////////////////////////////
112// Standard constructor for the ITS version 8.
113////////////////////////////////////////////////////////////////////////
bae7e562 114 Int_t i;
115
116 fIdN = 6;
117 fIdName = new TString[fIdN];
118 fIdName[0] = "ITS1";
119 fIdName[1] = "ITS2";
120 fIdName[2] = "ITS3";
121 fIdName[3] = "ITS4";
122 fIdName[4] = "ITS5";
123 fIdName[5] = "ITS6";
124 fIdSens = new Int_t[fIdN];
125 for(i=0;i<fIdN;i++) fIdSens[i] = 0;
126 fMajorVersion = IsVersion();
3d12a48d 127 fMinorVersion = 2;
bae7e562 128 fEuclidOut = kFALSE; // Don't write Euclide file
129 fGeomDetOut = kFALSE; // Don't write .det file
0646a0e8 130 fGeomDetIn = kFALSE; // Don't Read .det file
3d12a48d 131 SetThicknessDet1();
132 SetThicknessDet2();
133 SetThicknessChip1();
134 SetThicknessChip2();
bae7e562 135
3d12a48d 136 fEuclidGeometry="$ALICE_ROOT/ITS/ITSgeometry_vPPRasymm2.euc";
137 strncpy(fEuclidGeomDet,"$ALICE_ROOT/ITS/ITSgeometry_vPPRasymm2.det",60);
bae7e562 138 strncpy(fRead,fEuclidGeomDet,60);
139 strncpy(fWrite,fEuclidGeomDet,60);
db915fea 140}
141//____________________________________________________________________________
142AliITSvPPRasymm::AliITSvPPRasymm(const AliITSvPPRasymm &source){
143////////////////////////////////////////////////////////////////////////
bae7e562 144// Copy Constructor for ITS version 8.
db915fea 145////////////////////////////////////////////////////////////////////////
146 if(&source == this) return;
bae7e562 147 Warning("Copy Constructor","Not allowed to copy AliITSvPPRasymm");
db915fea 148 return;
149}
150//_____________________________________________________________________________
151AliITSvPPRasymm& AliITSvPPRasymm::operator=(const AliITSvPPRasymm &source){
152////////////////////////////////////////////////////////////////////////
bae7e562 153// Assignment operator for the ITS version 8.
db915fea 154////////////////////////////////////////////////////////////////////////
bae7e562 155 if(&source == this) return *this;
156 Warning("= operator","Not allowed to copy AliITSvPPRasymm");
157 return *this;
db915fea 158}
159//_____________________________________________________________________________
160AliITSvPPRasymm::~AliITSvPPRasymm() {
161////////////////////////////////////////////////////////////////////////
162// Standard destructor for the ITS version 8.
163////////////////////////////////////////////////////////////////////////
164}
db915fea 165//__________________________________________________________________________
166void AliITSvPPRasymm::BuildGeometry(){
167////////////////////////////////////////////////////////////////////////
168// Geometry builder for the ITS version 8.
169////////////////////////////////////////////////////////////////////////
170 TNode *node, *top;
1f99c14b 171
ac9c285e 172 const Int_t kColorITS=kYellow;
db915fea 173 //
174 top = gAlice->GetGeometry()->GetNode("alice");
ac9c285e 175
1266e9b4 176
ac9c285e 177 new TTUBE("S_layer1","Layer1 of ITS","void",3.8095,3.8095+1.03*9.36/100.,14.35);
db915fea 178 top->cd();
179 node = new TNode("Layer1","Layer1","S_layer1",0,0,0,"");
180 node->SetLineColor(kColorITS);
181 fNodes->Add(node);
182
ac9c285e 183 new TTUBE("S_layer2","Layer2 of ITS","void",7.,7.+1.03*9.36/100.,14.35);
db915fea 184 top->cd();
185 node = new TNode("Layer2","Layer2","S_layer2",0,0,0,"");
186 node->SetLineColor(kColorITS);
187 fNodes->Add(node);
188
ac9c285e 189 new TTUBE("S_layer3","Layer3 of ITS","void",15.,15.+0.94*9.36/100.,25.1);
db915fea 190 top->cd();
191 node = new TNode("Layer3","Layer3","S_layer3",0,0,0,"");
192 node->SetLineColor(kColorITS);
193 fNodes->Add(node);
194
ac9c285e 195 new TTUBE("S_layer4","Layer4 of ITS","void",24.1,24.1+0.95*9.36/100.,32.1);
db915fea 196 top->cd();
197 node = new TNode("Layer4","Layer4","S_layer4",0,0,0,"");
198 node->SetLineColor(kColorITS);
199 fNodes->Add(node);
200
ac9c285e 201 new TTUBE("S_layer5","Layer5 of ITS","void",38.5,38.5+0.91*9.36/100.,49.405);
db915fea 202 top->cd();
203 node = new TNode("Layer5","Layer5","S_layer5",0,0,0,"");
204 node->SetLineColor(kColorITS);
205 fNodes->Add(node);
206
ac9c285e 207 new TTUBE("S_layer6","Layer6 of ITS","void",43.5765,43.5765+0.87*9.36/100.,55.27);
db915fea 208 top->cd();
209 node = new TNode("Layer6","Layer6","S_layer6",0,0,0,"");
210 node->SetLineColor(kColorITS);
211 fNodes->Add(node);
1f99c14b 212
213
ac9c285e 214/*
215 // DETAILED GEOMETRY
216
217 TNode *sub1node, *sub2node, *sub3node, *sub4node, *sub5node;
218
1f99c14b 219 // Define some variables for SPD
220
221 Float_t dits[100];
222 Float_t dits1[3], di101[3], di107[3], di10b[3]; // for layer 1
223 Float_t di103[3], di10a[3]; // for layer 1
224 Float_t dits2[3], di1d1[3], di1d7[3], di20b[3]; // for layer 2
225 Float_t di1d3[3], di20a[3]; // for layer 2
226
227 Float_t ddet1=200.; // total detector thickness on layer 1 (micron)
228 Float_t dchip1=200.; // total chip thickness on layer 1 (micron)
229
230 Float_t ddet2=200.; // total detector thickness on layer 2 (micron)
231 Float_t dchip2=200.; // total chip thickness on layer 2 (micron)
232
233 Float_t dbus=300.; // total bus thickness on both layers (micron)
234
235 ddet1 = GetThicknessDet1();
236 ddet2 = GetThicknessDet2();
237 dchip1 = GetThicknessChip1();
238 dchip2 = GetThicknessChip2();
239
240 cout << "par: " << ddet1 << " " << ddet2 << " " << ddet2 << " " << dchip1 << " " << dchip2 << endl;
241
242 if(ddet1 < 100. || ddet1 > 300.) {
243 cout << "ITS - WARNING: the detector thickness for layer 1 is outside the range of [100,300] microns."
244 " The default value of 200 microns will be used." << endl;
245 ddet1=200.;
246 }
247
248 if(ddet2 < 100. || ddet2 > 300.) {
249 cout << "ITS - WARNING: the detector thickness for layer 2 is outside the range of [100,300] microns."
250 " The default value of 200 microns will be used." << endl;
251 ddet2=200.;
252 }
253
254 if(dchip1 < 100. || dchip1 > 300.) {
255 cout << "ITS - WARNING: the chip thickness for layer 1 is outside the range of [100,300] microns."
256 " The default value of 200 microns will be used." << endl;
257 dchip1=200.;
258 }
259
260 if(dchip2 < 100. || dchip2 > 300.) {
261 cout << "ITS - WARNING: the chip thickness for layer 2 is outside the range of [100,300] microns."
262 " The default value of 200 microns will be used." << endl;
263 dchip2=200.;
264 }
265
266 cout << "ITS: Detector thickness on layer 1 is set to " << ddet1 << " microns." << endl;
267 cout << "ITS: Chip thickness on layer 1 is set to " << dchip1 << " microns." << endl;
268 cout << "ITS: Detector thickness on layer 2 is set to " << ddet2 << " microns." << endl;
269 cout << "ITS: Chip thickness on layer 2 is set to " << dchip2 << " microns." << endl;
270
271 ddet1 = ddet1*0.0001/2.; // conversion from tot length in um to half in cm
272 ddet2 = ddet2*0.0001/2.; // conversion from tot length in um to half in cm
273 dchip1 = dchip1*0.0001/2.;// conversion from tot length in um to half in cm
274 dchip2 = dchip2*0.0001/2.;// conversion from tot length in um to half in cm
275 dbus = dbus*0.0001/2.; // conversion from tot length in um to half in cm
276
277 Float_t deltax, deltay;
278
279 Int_t thickness = fMinorVersion/10;
280 Int_t option = fMinorVersion - 10*thickness;
281
282
283 // Define some variables for SDD
284 // SDD detector ladder
285
286 Float_t ySDD;
287 Float_t I302dits[3], I402dits[3], I004dits[3], I005dits[3];
288 Float_t Y_SDD_sep = 0.20;
289 Float_t Z_SDD_lay3[6] = {18.55, 10.95, 3.70, -3.70, -11.20, -18.35};
290 Float_t Z_SDD_lay4[8] = {25.75, 18.60, 11.00, 3.70, -3.70, -11.20, -18.45, -26.05};
291
292 // Rotation matrices
293
294 // SPD - option 'a'
295
296 if (option == 1) {
297
1266e9b4 298 new TRotMatrix("itsrot238","itsrot238",90.0,144.0,90.0,234.0,0.0,0.0);
299 new TRotMatrix("itsrot236","itsrot236",90.0,180.013702,90.0,270.013702,0.0,0.0);
300 new TRotMatrix("itsrot239","itsrot239",90.0,216.0,90.0,306.0,0.0,0.0);
301 new TRotMatrix("itsrot233","itsrot233",90.0,252.000504,90.0,342.000488,0.0,0.0 );
302 new TRotMatrix("itsrot240","itsrot240",90.0,288.0,90.0,18.0,0.0,0.0);
303 new TRotMatrix("itsrot241","itsrot241",90.0,324.0,90.0,54.0,0.0,0.0);
304 new TRotMatrix("itsrot242","itsrot242",90.0,36.0,90.0,126.0,0.0,0.0);
305 new TRotMatrix("itsrot234","itsrot234",90.0,71.9991,90.0,161.9991,0.0,0.0);
306 new TRotMatrix("itsrot243","itsrot243",90.0,108.0,90.0,198.0,0.0,0.0);
307 new TRotMatrix("itsrot244","itsrot244",90.0,180.0,90.0,270.0,0.0,0.0);
308 new TRotMatrix("itsrot245","itsrot245",90.0,162.0,90.0,252.0,0.0,0.0);
309 new TRotMatrix("itsrot246","itsrot246",90.0,310.0,90.0,40.0,0.0,0.0);
310 new TRotMatrix("itsrot247","itsrot247",90.0,319.0,90.0,49.0,0.0,0.0);
311 new TRotMatrix("itsrot248","itsrot248",90.0,328.0,90.0,58.0,0.0,0.0);
312 new TRotMatrix("itsrot249","itsrot249",90.0,337.0,90.0,67.0,0.0,0.0);
1f99c14b 313
314 }
315
316 // SPD - option 'b' (this is the default)
317
318 if (option == 2) {
319
1266e9b4 320 new TRotMatrix("itsrot233","itsrot233",90.0,252.000504,90.0,342.000488,0.0,0.0);
321 new TRotMatrix("itsrot244","itsrot244",90.0,216.0,90.0,306.0,0.0,0.0);
322 new TRotMatrix("itsrot236","itsrot236",90.0,180.013702,90.0,270.013702,0.0,0.0);
323 new TRotMatrix("itsrot245","itsrot245",90.0,36.0,90.0,126.0,0.0,0.0);
324 new TRotMatrix("itsrot234","itsrot234",90.0,71.9991,90.0,161.9991,0.0,0.0);
325 new TRotMatrix("itsrot246","itsrot246",90.0,108.0,90.0,198.0,0.0,0.0);
326 new TRotMatrix("itsrot247","itsrot247",90.0,144.0,90.0,234.0,0.0,0.0);
327 new TRotMatrix("itsrot248","itsrot248",90.0,288.0,90.0,18.0,0.0,0.0);
328 new TRotMatrix("itsrot249","itsrot249",90.0,324.0,90.0,54.0,0.0,0.0);
329 new TRotMatrix("itsrot238","itsrot238",90.0,180.0,90.0,270.0,0.0,0.0);
330 new TRotMatrix("itsrot239","itsrot239",90.0,162.0,90.0,252.0,0.0,0.0);
331 new TRotMatrix("itsrot240","itsrot240",90.0,310.0,90.0,40.0,0.0,0.0);
332 new TRotMatrix("itsrot241","itsrot241",90.0,319.0,90.0,49.0,0.0,0.0);
333 new TRotMatrix("itsrot242","itsrot242",90.0,328.0,90.0,58.0,0.0,0.0);
334 new TRotMatrix("itsrot243","itsrot243",90.0,337.0,90.0,67.0,0.0,0.0);
1f99c14b 335
336 }
337
338 // SDD
339
1266e9b4 340 new TRotMatrix("itsrot321","itsrot321",90.0,12.86,90.0,102.86,0.0,0.0);
341 new TRotMatrix("itsrot333","itsrot333",90.0,38.57,90.0,128.57,0.0,0.0);
342 new TRotMatrix("itsrot336","itsrot336",90.0,64.29,90.0,154.29,0.0,0.0);
343 new TRotMatrix("itsrot350","itsrot350",90.0,90.0,90.0,180.0,0.0,0.0);
344 new TRotMatrix("itsrot313","itsrot313",90.0,115.71,90.0,205.71,0.0,0.0);
345 new TRotMatrix("itsrot311","itsrot311",90.0,141.43,90.0,231.43,0.0,0.0);
346 new TRotMatrix("itsrot310","itsrot310",90.0,167.14,90.0,257.14,0.0,0.0);
347 new TRotMatrix("itsrot386","itsrot386",90.0,192.86,90.0,282.86,0.0,0.0);
348 new TRotMatrix("itsrot309","itsrot309",90.0,218.57,90.0,308.57,0.0,0.0);
349 new TRotMatrix("itsrot308","itsrot308",90.0,244.29,90.0,334.29,0.0,0.0);
350 new TRotMatrix("itsrot356","itsrot356",90.0,270.0,90.0,0.0,0.0,0.0);
351 new TRotMatrix("itsrot307","itsrot307",90.0,295.71,90.0,25.71,0.0,0.0);
352 new TRotMatrix("itsrot306","itsrot306",90.0,321.43,90.0,51.43,0.0,0.0);
353 new TRotMatrix("itsrot305","itsrot305",90.0,347.14,90.0,77.14,0.0,0.0);
354 new TRotMatrix("itsrot335","itsrot335",90.0,8.18,90.0,98.18,0.0,0.0);
355 new TRotMatrix("itsrot332","itsrot332",90.0,24.55,90.0,114.55,0.0,0.0);
356 new TRotMatrix("itsrot331","itsrot331",90.0,40.91,90.0,130.91,0.0,0.0);
357 new TRotMatrix("itsrot366","itsrot366",90.0,57.27,90.0,147.27,0.0,0.0);
358 new TRotMatrix("itsrot330","itsrot330",90.0,73.64,90.0,163.64,0.0,0.0);
359 new TRotMatrix("itsrot350","itsrot350",90.0,90.0,90.0,180.0,0.0,0.0);
360 new TRotMatrix("itsrot329","itsrot329",90.0,106.36,90.0,196.36,0.0,0.0);
361 new TRotMatrix("itsrot328","itsrot328",90.0,122.73,90.0,212.73,0.0,0.0);
362 new TRotMatrix("itsrot327","itsrot327",90.0,139.09,90.0,229.09,0.0,0.0);
363 new TRotMatrix("itsrot326","itsrot326",90.0,155.45,90.0,245.45,0.0,0.0);
364 new TRotMatrix("itsrot325","itsrot325",90.0,171.82,90.0,261.82,0.0,0.0);
365 new TRotMatrix("itsrot324","itsrot324",90.0,188.18,90.0,278.18,0.0,0.0);
366 new TRotMatrix("itsrot323","itsrot323",90.0,204.55,90.0,294.55,0.0,0.0);
367 new TRotMatrix("itsrot322","itsrot322",90.0,220.91,90.0,310.91,0.0,0.0);
368 new TRotMatrix("itsrot320","itsrot320",90.0,237.27,90.0,327.27,0.0,0.0);
369 new TRotMatrix("itsrot319","itsrot319",90.0,253.64,90.0,343.64,0.0,0.0);
370 new TRotMatrix("itsrot318","itsrot318",90.0,270.0,90.0,360.0,0.0,0.0);
371 new TRotMatrix("itsrot317","itsrot317",90.0,286.36,90.0,16.36,0.0,0.0);
372 new TRotMatrix("itsrot316","itsrot316",90.0,302.73,90.0,32.73,0.0,0.0);
373 new TRotMatrix("itsrot315","itsrot315",90.0,319.09,90.0,49.09,0.0,0.0);
374 new TRotMatrix("itsrot314","itsrot314",90.0,335.45,90.0,65.45,0.0,0.0);
375 new TRotMatrix("itsrot334","itsrot334",90.0,351.82,90.0,81.82,0.0,0.0);
1f99c14b 376
377 //SSD
378
1266e9b4 379 new TRotMatrix("itsrot504","itsrot504",90.0,127.06,90.0,217.06,0.0,0.0);
380 new TRotMatrix("itsrot505","itsrot505",90.0,116.47,90.0,206.47,0.0,0.0);
381 new TRotMatrix("itsrot506","itsrot506",90.0,105.88,90.0,195.88,0.0,0.0);
382 new TRotMatrix("itsrot507","itsrot507",90.0,95.29,90.0,185.29,0.0,0.0);
383 new TRotMatrix("itsrot508","itsrot508",90.0,84.71,90.0,174.71,0.0,0.0);
384 new TRotMatrix("itsrot509","itsrot509",90.0,74.12,90.0,164.12,0.0,0.0);
385 new TRotMatrix("itsrot510","itsrot510",90.0,63.53,90.0,153.53,0.0,0.0);
386 new TRotMatrix("itsrot511","itsrot511",90.0,52.94,90.0,142.94,0.0,0.0);
387 new TRotMatrix("itsrot512","itsrot512",90.0,42.35,90.0,132.35,0.0,0.0);
388 new TRotMatrix("itsrot513","itsrot513",90.0,31.76,90.0,121.76,0.0,0.0);
389 new TRotMatrix("itsrot653","itsrot653",90.0,21.18,90.0,111.18,0.0,0.0);
390 new TRotMatrix("itsrot514","itsrot514",90.0,10.59,90.0,100.59,0.0,0.0);
391 new TRotMatrix("itsrot515","itsrot515",90.0,349.41,90.0,79.41,0.0,0.0);
392 new TRotMatrix("itsrot516","itsrot516",90.0,338.82,90.0,68.82,0.0,0.0);
393 new TRotMatrix("itsrot517","itsrot517",90.0,328.24,90.0,58.24,0.0,0.0);
394 new TRotMatrix("itsrot518","itsrot518",90.0,317.65,90.0,47.65,0.0,0.0);
395 new TRotMatrix("itsrot519","itsrot519",90.0,307.06,90.0,37.06,0.0,0.0);
396 new TRotMatrix("itsrot520","itsrot520",90.0,296.47,90.0,26.47,0.0,0.0);
397 new TRotMatrix("itsrot521","itsrot521",90.0,285.88,90.0,15.88,0.0,0.0);
398 new TRotMatrix("itsrot522","itsrot522",90.0,275.29,90.0,5.29,0.0,0.0);
399 new TRotMatrix("itsrot523","itsrot523",90.0,264.71,90.0,354.71,0.0,0.0);
400 new TRotMatrix("itsrot524","itsrot524",90.0,254.12,90.0,344.12,0.0,0.0);
401 new TRotMatrix("itsrot525","itsrot525",90.0,243.53,90.0,333.53,0.0,0.0);
402 new TRotMatrix("itsrot526","itsrot526",90.0,232.94,90.0,322.94,0.0,0.0);
403 new TRotMatrix("itsrot527","itsrot527",90.0,222.35,90.0,312.35,0.0,0.0);
404 new TRotMatrix("itsrot528","itsrot528",90.0,211.76,90.0,301.76,0.0,0.0);
405 new TRotMatrix("itsrot618","itsrot618",90.0,201.18,90.0,291.18,0.0,0.0);
406 new TRotMatrix("itsrot529","itsrot529",90.0,190.59,90.0,280.59,0.0,0.0);
407 new TRotMatrix("itsrot533","itsrot533",90.0,180.0,90.0,270.0,0.0,0.0);
408 new TRotMatrix("itsrot530","itsrot530",90.0,169.41,90.0,259.41,0.0,0.0);
409 new TRotMatrix("itsrot531","itsrot531",90.0,158.82,90.0,248.82,0.0,0.0);
410 new TRotMatrix("itsrot501","itsrot501",90.0,148.24,90.0,238.24,0.0,0.0);
411 new TRotMatrix("itsrot503","itsrot503",90.0,137.65,90.0,227.65,0.0,0.0);
412 new TRotMatrix("itsrot532","itsrot532",90.0,360.0,90.0,90.0,0.0,0.0);
413 new TRotMatrix("itsrot560","itsrot560",90.0,85.26,90.0,175.26,0.0,0.0);
414 new TRotMatrix("itsrot561","itsrot561",90.0,94.74,90.0,184.74,0.0,0.0);
415 new TRotMatrix("itsrot562","itsrot562",90.0,104.21,90.0,194.21,0.0,0.0);
416 new TRotMatrix("itsrot563","itsrot563",90.0,113.68,90.0,203.68,0.0,0.0);
417 new TRotMatrix("itsrot564","itsrot564",90.0,123.16,90.0,213.16,0.0,0.0);
418 new TRotMatrix("itsrot565","itsrot565",90.0,132.63,90.0,222.63,0.0,0.0);
419 new TRotMatrix("itsrot566","itsrot566",90.0,142.11,90.0,232.11,0.0,0.0);
420 new TRotMatrix("itsrot567","itsrot567",90.0,151.58,90.0,241.58,0.0,0.0);
421 new TRotMatrix("itsrot568","itsrot568",90.0,161.05,90.0,251.05,0.0,0.0);
422 new TRotMatrix("itsrot569","itsrot569",90.0,170.53,90.0,260.53,0.0,0.0);
423 new TRotMatrix("itsrot533","itsrot533",90.0,180.0,90.0,270.0,0.0,0.0);
424 new TRotMatrix("itsrot534","itsrot534",90.0,189.47,90.0,279.47,0.0,0.0);
425 new TRotMatrix("itsrot535","itsrot535",90.0,198.95,90.0,288.95,0.0,0.0);
426 new TRotMatrix("itsrot623","itsrot623",90.0,208.42,90.0,298.42,0.0,0.0);
427 new TRotMatrix("itsrot537","itsrot537",90.0,217.89,90.0,307.89,0.0,0.0);
428 new TRotMatrix("itsrot538","itsrot538",90.0,227.37,90.0,317.37,0.0,0.0);
429 new TRotMatrix("itsrot539","itsrot539",90.0,236.84,90.0,326.84,0.0,0.0);
430 new TRotMatrix("itsrot540","itsrot540",90.0,246.32,90.0,336.32,0.0,0.0);
431 new TRotMatrix("itsrot541","itsrot541",90.0,255.79,90.0,345.79,0.0,0.0);
432 new TRotMatrix("itsrot542","itsrot542",90.0,265.26,90.0,355.26,0.0,0.0);
433 new TRotMatrix("itsrot543","itsrot543",90.0,274.74,90.0,4.74,0.0,0.0);
434 new TRotMatrix("itsrot544","itsrot544",90.0,284.21,90.0,14.21,0.0,0.0);
435 new TRotMatrix("itsrot545","itsrot545",90.0,293.68,90.0,23.68,0.0,0.0);
436 new TRotMatrix("itsrot546","itsrot546",90.0,303.16,90.0,33.16,0.0,0.0);
437 new TRotMatrix("itsrot547","itsrot547",90.0,312.63,90.0,42.63,0.0,0.0);
438 new TRotMatrix("itsrot548","itsrot548",90.0,322.11,90.0,52.11,0.0,0.0);
439 new TRotMatrix("itsrot549","itsrot549",90.0,331.58,90.0,61.58,0.0,0.0);
440 new TRotMatrix("itsrot550","itsrot550",90.0,341.05,90.0,71.05,0.0,0.0);
441 new TRotMatrix("itsrot551","itsrot551",90.0,350.53,90.0,80.53,0.0,0.0);
442 new TRotMatrix("itsrot552","itsrot552",90.0,9.47,90.0,99.47,0.0,0.0);
443 new TRotMatrix("itsrot553","itsrot553",90.0,18.95,90.0,108.95,0.0,0.0);
444 new TRotMatrix("itsrot620","itsrot620",90.0,28.42,90.0,118.42,0.0,0.0);
445 new TRotMatrix("itsrot555","itsrot555",90.0,37.89,90.0,127.89,0.0,0.0);
446 new TRotMatrix("itsrot556","itsrot556",90.0,47.37,90.0,137.37,0.0,0.0);
447 new TRotMatrix("itsrot557","itsrot557",90.0,56.84,90.0,146.84,0.0,0.0);
448 new TRotMatrix("itsrot558","itsrot558",90.0,66.32,90.0,156.32,0.0,0.0);
449 new TRotMatrix("itsrot559","itsrot559",90.0,75.79,90.0,165.79,0.0,0.0);
1f99c14b 450
451
452 // --- Define SPD (option 'a') volumes ----------------------------
453
454 // SPD - option 'a'
455 // (this is NOT the default)
456
457 if (option == 1) {
458
459 dits1[0] = 0.64;
460 dits1[1] = ddet1;
461 dits1[2] = 3.48;
462 new TBRIK("ITS1","ITS1","void",dits1[0],dits1[1],dits1[2]);
463
464 dits2[0] = 0.64;
465 dits2[1] = ddet2;
466 dits2[2] = 3.48;
467 new TBRIK("ITS2","ITS2","void",dits2[0],dits2[1],dits2[2]);
468
469 di101[0] = 0.705;
470 di101[1] = ddet1;
471 di101[2] = 3.536;
472 new TBRIK("I101","I101","void",di101[0],di101[1],di101[2]);
473
474 di1d1[0] = 0.705;
475 di1d1[1] = ddet2;
476 di1d1[2] = 3.536;
477 new TBRIK("I1D1","I1D1","void",di1d1[0],di1d1[1],di1d1[2]);
478
479 di103[0] = 0.793;
480 di103[1] = ddet1+dchip1;
481 di103[2] = 3.536;
482 new TBRIK("I103","I103","void",di103[0],di103[1],di103[2]);
483
484 di1d3[0] = 0.793;
485 di1d3[1] = ddet2+dchip2;
486 di1d3[2] = 3.536;
487 new TBRIK("I1D3","I1D3","void",di1d3[0],di1d3[1],di1d3[2]);
488
489 di10a[0] = 0.843;
490 di10a[1] = ddet1+dchip1+dbus+0.0025;
491 di10a[2] = 19.344;
492 new TBRIK("I10A","I10A","void",di10a[0],di10a[1],di10a[2]);
493
494 di20a[0] = 0.843;
495 di20a[1] = ddet2+dchip2+dbus+0.0025;
496 di20a[2] = 19.344;
497 new TBRIK("I20A","I20A","void",di20a[0],di20a[1],di20a[2]);
498
499 dits[0] = 3.7;
500 dits[1] = 7.7;
501 dits[2] = 24;
502 dits[3] = 57;
503 dits[4] = 100;
504 new TTUBS("I12A","I12A","void",dits[0],dits[1],dits[2],dits[3],dits[4]);
505
506 dits[0] = 3.7;
507 dits[1] = 7.75;
508 dits[2] = 26.1;
509 new TTUBE("IT12","IT12","void",dits[0],dits[1],dits[2]);
510
511 }
512
513 // --- Define SPD (option 'b') volumes ----------------------------
514
515 // SPD - option 'b'
516 // (this is the default)
517
518 if (option == 2) {
519
520 dits1[0] = 0.64;
521 dits1[1] = ddet1;
522 dits1[2] = 3.48;
523 new TBRIK("ITS1","ITS1","void",dits1[0],dits1[1],dits1[2]);
524
525 dits2[0] = 0.64;
526 dits2[1] = ddet2;
527 dits2[2] = 3.48;
528 new TBRIK("ITS2","ITS2","void",dits2[0],dits2[1],dits2[2]);
529
530 di101[0] = 0.705;
531 di101[1] = ddet1;
532 di101[2] = 3.536;
533 new TBRIK("I101","I101","void",di101[0],di101[1],di101[2]);
534
535 di1d1[0] = 0.705;
536 di1d1[1] = ddet2;
537 di1d1[2] = 3.536;
538 new TBRIK("I1D1","I1D1","void",di1d1[0],di1d1[1],di1d1[2]);
539
540 di107[0] = 0.793;
541 di107[1] = ddet1+dchip1;
542 di107[2] = 3.536;
543 new TBRIK("I107","I107","void",di107[0],di107[1],di107[2]);
544
545 di1d7[0] = 0.7975;
546 di1d7[1] = ddet2+dchip2;
547 di1d7[2] = 3.536;
548 new TBRIK("I1D7","I1D7","void",di1d7[0],di1d7[1],di1d7[2]);
549
550 di10b[0] = 0.843;
551 di10b[1] = ddet1+dchip1+dbus+0.0025;
552 di10b[2] = 19.344;
553 new TBRIK("I10B","I10B","void",di10b[0],di10b[1],di10b[2]);
554
555 di20b[0] = 0.843;
556 di20b[1] = ddet2+dchip2+dbus+0.0025;
557 di20b[2] = 19.344;
558 new TBRIK("I20B","I20B","void",di20b[0],di20b[1],di20b[2]);
559
560 dits[0] = 3.7;
561 dits[1] = 7.7;
562 dits[2] = 24;
563 dits[3] = 57;
564 dits[4] = 100;
565 new TTUBS("I12B","I12B","void",dits[0],dits[1],dits[2],dits[3],dits[4]);
566
567 dits[0] = 3.7;
568 dits[1] = 7.75;
569 dits[2] = 26.1;
570 new TTUBE("IT12","IT12","void",dits[0],dits[1],dits[2]);
571
572
573 }
574
575 // --- Define SDD volumes ------------------------------------------
576
577 TPCON *it34 = new TPCON("IT34","IT34","void",0.,360.,6);
1d8d6507 578 it34->DefineSection(0,-34.6,23.49,28.);
579 it34->DefineSection(1,-23.65,23.49,28.);
580 it34->DefineSection(2,-23.65,14.59,28.);
581 it34->DefineSection(3,23.65,14.59,28.);
582 it34->DefineSection(4,23.65,23.49,28.);
583 it34->DefineSection(5,34.6,23.49,28.);
1f99c14b 584
585 I302dits[0] = 3.6250;
586 I302dits[1] = 0.0150;
587 I302dits[2] = 4.3794;
588 new TBRIK("I302","I302","void",I302dits[0],I302dits[1],I302dits[2]);
589
590 I004dits[0] = I302dits[0]+0.005;
591 I004dits[1] = 2*I302dits[1]+Y_SDD_sep/2.;
592 I004dits[2] = TMath::Abs(Z_SDD_lay3[0]);
593 if (I004dits[2] < TMath::Abs(Z_SDD_lay3[5])) {
594 I004dits[2] = TMath::Abs(Z_SDD_lay3[5]);
595 }
596 I004dits[2] = I004dits[2] + I302dits[2];
597 new TBRIK("I004","I004","void",I004dits[0],I004dits[1],I004dits[2]);
598
599 dits[0] = 3.50850;
600 dits[1] = 0.01499;
601 dits[2] = 3.76320;
602 new TBRIK("ITS3","ITS3","void",dits[0],dits[1],dits[2]);
603
604 I402dits[0] = 3.6250;
605 I402dits[1] = 0.0150;
606 I402dits[2] = 4.3794;
607 new TBRIK("I402","I402","void",I402dits[0],I402dits[1],I402dits[2]);
608
609 I005dits[0] = I402dits[0]+0.005;
610 I005dits[1] = 2*I402dits[1]+Y_SDD_sep/2.;
611 I005dits[2] = TMath::Abs(Z_SDD_lay4[0]);
612 if (I005dits[2] < TMath::Abs(Z_SDD_lay4[7])) {
613 I005dits[2] = TMath::Abs(Z_SDD_lay4[7]);
614 }
615 I005dits[2] = I005dits[2] + I402dits[2];
616 new TBRIK("I005","I005","void",I005dits[0],I005dits[1],I005dits[2]);
617
618 dits[0] = 3.50850;
619 dits[1] = 0.01499;
620 dits[2] = 3.76320;
621 new TBRIK("ITS4","ITS4","void",dits[0],dits[1],dits[2]);
622
623
624 // --- Define SSD volumes ------------------------------------------
625
626
627 TPCON *it56 = new TPCON("IT56","IT56","void",0.,360.,6);
1d8d6507 628 it56->DefineSection(0,-57.45,43.6,48.);
629 it56->DefineSection(1,-49.15,43.6,48.);
630 it56->DefineSection(2,-49.15,36.9,48.);
631 it56->DefineSection(3,50.55,36.9,48.);
632 it56->DefineSection(4,50.55,43.6,48.);
633 it56->DefineSection(5,57.45,43.6,48.);
1f99c14b 634
635 dits[0] = 3.75;
636 dits[1] = 0.045;
637 dits[2] = 43.3;
638 new TBRIK("I565","I565","void",dits[0],dits[1],dits[2]);
639
640 dits[0] = 3.75;
641 dits[1] = 0.045;
642 dits[2] = 50.975;
643 new TBRIK("I569","I569","void",dits[0],dits[1],dits[2]);
644
645 dits[0] = 3.75;
646 dits[1] = 0.015;
647 dits[2] = 2.1;
648 new TBRIK("I562","I562","void",dits[0],dits[1],dits[2]);
649
650 dits[0] = 3.75;
651 dits[1] = 0.015;
652 dits[2] = 2.1;
653 new TBRIK("I566","I566","void",dits[0],dits[1],dits[2]);
654
655 dits[0] = 3.65;
656 dits[1] = 0.015;
657 dits[2] = 2;
658 new TBRIK("ITS5","ITS5","void",dits[0],dits[1],dits[2]);
659
660 dits[0] = 3.65;
661 dits[1] = 0.015;
662 dits[2] = 2;
663 new TBRIK("ITS6","ITS6","void",dits[0],dits[1],dits[2]);
664
665 //
666
667 top->cd();
668
669 // --- Place SPD (option 'a') volumes into their mother volume
670
671 // SPD - option 'a'
672 // (this is NOT the default)
673
674 if (option == 1) {
675
676
677 }
678
679
680 // --- Place SPD (option 'b') volumes into their mother volume
681
682 // SPD - option 'b'
683 // (this is the default)
684
685 if (option == 2) {
686
687 // Place IT12 in Alice
688 //
689 node = new TNode("IT12","IT12","IT12",0.,0.,0.,"");
690 node->SetLineColor(kColorITS);
691 node->SetVisibility(0);
692 node->cd();
693 //
694 // Place copy #1 of I12B in IT12
695 //
696 sub1node = new TNode("I12B","I12B","I12B",0.,0.,0.,"");
697 sub1node->SetLineColor(kColorITS);
698 sub1node->SetVisibility(0);
699 sub1node->cd();
700 //
701 // Place copy #1 of I10B in I12B
702 //
703 deltax=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Cos(252.*TMath::Pi()/180.);
704 deltay=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Sin(252.*TMath::Pi()/180.);
1266e9b4 705 sub2node = new TNode("I10B","I10B","I10B",1.4531+deltax,3.8152+deltay,0.,"itsrot239");
1f99c14b 706 sub2node->SetLineColor(kColorITS);
707 sub2node->SetVisibility(0);
708 sub2node->cd();
709 //
710 // Place copy #1 of I107 in I10B
711 //
712 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],10.708,"");
713 sub3node->SetLineColor(kColorITS);
714 sub3node->SetVisibility(0);
715 sub3node->cd();
716 //
717 // Place copy #1 of I101 in I107
718 //
719 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
720 sub4node->SetLineColor(kColorITS);
721 sub4node->SetVisibility(0);
722 sub4node->cd();
723 //
724 // Place copy #1 of ITS1 in I101
725 //
726 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
727 sub5node->SetLineColor(kColorITS);
728 fNodes->Add(sub5node);
729 sub4node->cd();
730 fNodes->Add(sub4node);
731 sub3node->cd();
732 fNodes->Add(sub3node);
733 sub2node->cd();
734 //
735 // Place copy #2 of I107 in I10B
736 //
737 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],3.536,"");
738 sub3node->SetLineColor(kColorITS);
739 sub3node->SetVisibility(0);
740 sub3node->cd();
741 //
742 // Place copy #1 of I101 in I107
743 //
744 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
745 sub4node->SetLineColor(kColorITS);
746 sub4node->SetVisibility(0);
747 sub4node->cd();
748 //
749 // Place copy #1 of ITS1 in I101
750 //
751 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
752 sub5node->SetLineColor(kColorITS);
753 fNodes->Add(sub5node);
754 sub4node->cd();
755 fNodes->Add(sub4node);
756 sub3node->cd();
757 fNodes->Add(sub3node);
758 sub2node->cd();
759 //
760 // Place copy #3 of I107 in I10B
761 //
762 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-3.536,"");
763 sub3node->SetLineColor(kColorITS);
764 sub3node->SetVisibility(0);
765 sub3node->cd();
766 //
767 // Place copy #1 of I101 in I107
768 //
769 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
770 sub4node->SetLineColor(kColorITS);
771 sub4node->SetVisibility(0);
772 sub4node->cd();
773 //
774 // Place copy #1 of ITS1 in I101
775 //
776 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
777 sub5node->SetLineColor(kColorITS);
778 fNodes->Add(sub5node);
779 sub4node->cd();
780 fNodes->Add(sub4node);
781 sub3node->cd();
782 fNodes->Add(sub3node);
783 sub2node->cd();
784 //
785 // Place copy #4 of I107 in I10B
786 //
787 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-10.708,"");
788 sub3node->SetLineColor(kColorITS);
789 sub3node->SetVisibility(0);
790 sub3node->cd();
791 //
792 // Place copy #1 of I101 in I107
793 //
794 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
795 sub4node->SetLineColor(kColorITS);
796 sub4node->SetVisibility(0);
797 sub4node->cd();
798 //
799 // Place copy #1 of ITS1 in I101
800 //
801 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
802 sub5node->SetLineColor(kColorITS);
803 fNodes->Add(sub5node);
804 sub4node->cd();
805 fNodes->Add(sub4node);
806 sub3node->cd();
807 fNodes->Add(sub3node);
808 sub2node->cd();
809 fNodes->Add(sub2node);
810 sub1node->cd();
811 //
812 // Place copy #2 of I10B in I12B
813 //
814 deltax=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Cos(270.*TMath::Pi()/180.);
815 deltay=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Sin(270.*TMath::Pi()/180.);
1266e9b4 816 sub2node = new TNode("I10B","I10B","I10B",0.203+deltax,3.8206+deltay,0.,"itsrot238");
1f99c14b 817 sub2node->SetLineColor(kColorITS);
818 sub2node->SetVisibility(0);
819 sub2node->cd();
820 //
821 // Place copy #1 of I107 in I10B
822 //
823 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],10.708,"");
824 sub3node->SetLineColor(kColorITS);
825 sub3node->SetVisibility(0);
826 sub3node->cd();
827 //
828 // Place copy #1 of I101 in I107
829 //
830 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
831 sub4node->SetLineColor(kColorITS);
832 sub4node->SetVisibility(0);
833 sub4node->cd();
834 //
835 // Place copy #1 of ITS1 in I101
836 //
837 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
838 sub5node->SetLineColor(kColorITS);
839 fNodes->Add(sub5node);
840 sub4node->cd();
841 fNodes->Add(sub4node);
842 sub3node->cd();
843 fNodes->Add(sub3node);
844 sub2node->cd();
845 //
846 // Place copy #2 of I107 in I10B
847 //
848 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],3.536,"");
849 sub3node->SetLineColor(kColorITS);
850 sub3node->SetVisibility(0);
851 sub3node->cd();
852 //
853 // Place copy #1 of I101 in I107
854 //
855 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
856 sub4node->SetLineColor(kColorITS);
857 sub4node->SetVisibility(0);
858 sub4node->cd();
859 //
860 // Place copy #1 of ITS1 in I101
861 //
862 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
863 sub5node->SetLineColor(kColorITS);
864 fNodes->Add(sub5node);
865 sub4node->cd();
866 fNodes->Add(sub4node);
867 sub3node->cd();
868 fNodes->Add(sub3node);
869 sub2node->cd();
870 //
871 // Place copy #3 of I107 in I10B
872 //
873 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-3.536,"");
874 sub3node->SetLineColor(kColorITS);
875 sub3node->SetVisibility(0);
876 sub3node->cd();
877 //
878 // Place copy #1 of I101 in I107
879 //
880 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
881 sub4node->SetLineColor(kColorITS);
882 sub4node->SetVisibility(0);
883 sub4node->cd();
884 //
885 // Place copy #1 of ITS1 in I101
886 //
887 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
888 sub5node->SetLineColor(kColorITS);
889 fNodes->Add(sub5node);
890 sub4node->cd();
891 fNodes->Add(sub4node);
892 sub3node->cd();
893 fNodes->Add(sub3node);
894 sub2node->cd();
895 //
896 // Place copy #4 of I107 in I10B
897 //
898 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-10.708,"");
899 sub3node->SetLineColor(kColorITS);
900 sub3node->SetVisibility(0);
901 sub3node->cd();
902 //
903 // Place copy #1 of I101 in I107
904 //
905 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
906 sub4node->SetLineColor(kColorITS);
907 sub4node->SetVisibility(0);
908 sub4node->cd();
909 //
910 // Place copy #1 of ITS1 in I101
911 //
912 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
913 sub5node->SetLineColor(kColorITS);
914 fNodes->Add(sub5node);
915 sub4node->cd();
916 fNodes->Add(sub4node);
917 sub3node->cd();
918 fNodes->Add(sub3node);
919 sub2node->cd();
920 fNodes->Add(sub2node);
921 sub1node->cd();
922 //
923 // Place copy #1 of I20B in I12B
924 //
925 deltax=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Cos(40.*TMath::Pi()/180.);
926 deltay=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Sin(40.*TMath::Pi()/180.);
1266e9b4 927 sub2node = new TNode("I20B","I20B","I20B",3.0174+deltax,6.5143+deltay,0.,"itsrot240");
1f99c14b 928 sub2node->SetLineColor(kColorITS);
929 sub2node->SetVisibility(0);
930 sub2node->cd();
931 //
932 // Place copy #1 of I1D7 in I20B
933 //
934 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],10.708,"");
935 sub3node->SetLineColor(kColorITS);
936 sub3node->SetVisibility(0);
937 sub3node->cd();
938 //
939 // Place copy #1 of I1D1 in I1D7
940 //
941 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
942 sub4node->SetLineColor(kColorITS);
943 sub4node->SetVisibility(0);
944 sub4node->cd();
945 //
946 // Place copy #1 of ITS2 in I1D1
947 //
948 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
949 sub5node->SetLineColor(kColorITS);
950 fNodes->Add(sub5node);
951 sub4node->cd();
952 fNodes->Add(sub4node);
953 sub3node->cd();
954 fNodes->Add(sub3node);
955 sub2node->cd();
956 //
957 // Place copy #2 of I1D7 in I20B
958 //
959 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],3.536,"");
960 sub3node->SetLineColor(kColorITS);
961 sub3node->SetVisibility(0);
962 sub3node->cd();
963 //
964 // Place copy #1 of I1D1 in I1D7
965 //
966 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
967 sub4node->SetLineColor(kColorITS);
968 sub4node->SetVisibility(0);
969 sub4node->cd();
970 //
971 // Place copy #1 of ITS2 in I1D1
972 //
973 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
974 sub5node->SetLineColor(kColorITS);
975 fNodes->Add(sub5node);
976 sub4node->cd();
977 fNodes->Add(sub4node);
978 sub3node->cd();
979 fNodes->Add(sub3node);
980 sub2node->cd();
981 //
982 // Place copy #3 of I1D7 in I20B
983 //
984 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-3.536,"");
985 sub3node->SetLineColor(kColorITS);
986 sub3node->SetVisibility(0);
987 sub3node->cd();
988 //
989 // Place copy #1 of I1D1 in I1D7
990 //
991 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
992 sub4node->SetLineColor(kColorITS);
993 sub4node->SetVisibility(0);
994 sub4node->cd();
995 //
996 // Place copy #1 of ITS2 in I1D1
997 //
998 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
999 sub5node->SetLineColor(kColorITS);
1000 fNodes->Add(sub5node);
1001 sub4node->cd();
1002 fNodes->Add(sub4node);
1003 sub3node->cd();
1004 fNodes->Add(sub3node);
1005 sub2node->cd();
1006 //
1007 // Place copy #4 of I1D7 in I20B
1008 //
1009 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-10.708,"");
1010 sub3node->SetLineColor(kColorITS);
1011 sub3node->SetVisibility(0);
1012 sub3node->cd();
1013 //
1014 // Place copy #1 of I1D1 in I1D7
1015 //
1016 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1017 sub4node->SetLineColor(kColorITS);
1018 sub4node->SetVisibility(0);
1019 sub4node->cd();
1020 //
1021 // Place copy #1 of ITS2 in I1D1
1022 //
1023 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1024 sub5node->SetLineColor(kColorITS);
1025 fNodes->Add(sub5node);
1026 sub4node->cd();
1027 fNodes->Add(sub4node);
1028 sub3node->cd();
1029 fNodes->Add(sub3node);
1030 sub2node->cd();
1031 fNodes->Add(sub2node);
1032 sub1node->cd();
1033 //
1034 // Place copy #2 of I20B in I12B
1035 //
1036 deltax=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Cos(49.*TMath::Pi()/180.);
1037 deltay=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Sin(49.*TMath::Pi()/180.);
1266e9b4 1038 sub2node = new TNode("I20B","I20B","I20B",1.9612+deltax,6.9062+deltay,0.,"itsrot241");
1f99c14b 1039 sub2node->SetLineColor(kColorITS);
1040 sub2node->SetVisibility(0);
1041 sub2node->cd();
1042 //
1043 // Place copy #1 of I1D7 in I20B
1044 //
1045 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],10.708,"");
1046 sub3node->SetLineColor(kColorITS);
1047 sub3node->SetVisibility(0);
1048 sub3node->cd();
1049 //
1050 // Place copy #1 of I1D1 in I1D7
1051 //
1052 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1053 sub4node->SetLineColor(kColorITS);
1054 sub4node->SetVisibility(0);
1055 sub4node->cd();
1056 //
1057 // Place copy #1 of ITS2 in I1D1
1058 //
1059 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1060 sub5node->SetLineColor(kColorITS);
1061 fNodes->Add(sub5node);
1062 sub4node->cd();
1063 fNodes->Add(sub4node);
1064 sub3node->cd();
1065 fNodes->Add(sub3node);
1066 sub2node->cd();
1067 //
1068 // Place copy #2 of I1D7 in I20B
1069 //
1070 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],3.536,"");
1071 sub3node->SetLineColor(kColorITS);
1072 sub3node->SetVisibility(0);
1073 sub3node->cd();
1074 //
1075 // Place copy #1 of I1D1 in I1D7
1076 //
1077 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1078 sub4node->SetLineColor(kColorITS);
1079 sub4node->SetVisibility(0);
1080 sub4node->cd();
1081 //
1082 // Place copy #1 of ITS2 in I1D1
1083 //
1084 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1085 sub5node->SetLineColor(kColorITS);
1086 fNodes->Add(sub5node);
1087 sub4node->cd();
1088 fNodes->Add(sub4node);
1089 sub3node->cd();
1090 fNodes->Add(sub3node);
1091 sub2node->cd();
1092 //
1093 // Place copy #3 of I1D7 in I20B
1094 //
1095 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-3.536,"");
1096 sub3node->SetLineColor(kColorITS);
1097 sub3node->SetVisibility(0);
1098 sub3node->cd();
1099 //
1100 // Place copy #1 of I1D1 in I1D7
1101 //
1102 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1103 sub4node->SetLineColor(kColorITS);
1104 sub4node->SetVisibility(0);
1105 sub4node->cd();
1106 //
1107 // Place copy #1 of ITS2 in I1D1
1108 //
1109 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1110 sub5node->SetLineColor(kColorITS);
1111 fNodes->Add(sub5node);
1112 sub4node->cd();
1113 fNodes->Add(sub4node);
1114 sub3node->cd();
1115 fNodes->Add(sub3node);
1116 sub2node->cd();
1117 //
1118 // Place copy #4 of I1D7 in I20B
1119 //
1120 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-10.708,"");
1121 sub3node->SetLineColor(kColorITS);
1122 sub3node->SetVisibility(0);
1123 sub3node->cd();
1124 //
1125 // Place copy #1 of I1D1 in I1D7
1126 //
1127 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1128 sub4node->SetLineColor(kColorITS);
1129 sub4node->SetVisibility(0);
1130 sub4node->cd();
1131 //
1132 // Place copy #1 of ITS2 in I1D1
1133 //
1134 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1135 sub5node->SetLineColor(kColorITS);
1136 fNodes->Add(sub5node);
1137 sub4node->cd();
1138 fNodes->Add(sub4node);
1139 sub3node->cd();
1140 fNodes->Add(sub3node);
1141 sub2node->cd();
1142 fNodes->Add(sub2node);
1143 sub1node->cd();
1144 //
1145 // Place copy #3 of I20B in I12B
1146 //
1147 deltax=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Cos(58.*TMath::Pi()/180.);
1148 deltay=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Sin(58.*TMath::Pi()/180.);
1266e9b4 1149 sub2node = new TNode("I20B","I20B","I20B",0.8567+deltax,7.1279+deltay,0.,"itsrot242");
1f99c14b 1150 sub2node->SetLineColor(kColorITS);
1151 sub2node->SetVisibility(0);
1152 sub2node->cd();
1153 //
1154 // Place copy #1 of I1D7 in I20B
1155 //
1156 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],10.708,"");
1157 sub3node->SetLineColor(kColorITS);
1158 sub3node->SetVisibility(0);
1159 sub3node->cd();
1160 //
1161 // Place copy #1 of I1D1 in I1D7
1162 //
1163 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1164 sub4node->SetLineColor(kColorITS);
1165 sub4node->SetVisibility(0);
1166 sub4node->cd();
1167 //
1168 // Place copy #1 of ITS2 in I1D1
1169 //
1170 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1171 sub5node->SetLineColor(kColorITS);
1172 fNodes->Add(sub5node);
1173 sub4node->cd();
1174 fNodes->Add(sub4node);
1175 sub3node->cd();
1176 fNodes->Add(sub3node);
1177 sub2node->cd();
1178 //
1179 // Place copy #2 of I1D7 in I20B
1180 //
1181 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],3.536,"");
1182 sub3node->SetLineColor(kColorITS);
1183 sub3node->SetVisibility(0);
1184 sub3node->cd();
1185 //
1186 // Place copy #1 of I1D1 in I1D7
1187 //
1188 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1189 sub4node->SetLineColor(kColorITS);
1190 sub4node->SetVisibility(0);
1191 sub4node->cd();
1192 //
1193 // Place copy #1 of ITS2 in I1D1
1194 //
1195 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1196 sub5node->SetLineColor(kColorITS);
1197 fNodes->Add(sub5node);
1198 sub4node->cd();
1199 fNodes->Add(sub4node);
1200 sub3node->cd();
1201 fNodes->Add(sub3node);
1202 sub2node->cd();
1203 //
1204 // Place copy #3 of I1D7 in I20B
1205 //
1206 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-3.536,"");
1207 sub3node->SetLineColor(kColorITS);
1208 sub3node->SetVisibility(0);
1209 sub3node->cd();
1210 //
1211 // Place copy #1 of I1D1 in I1D7
1212 //
1213 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1214 sub4node->SetLineColor(kColorITS);
1215 sub4node->SetVisibility(0);
1216 sub4node->cd();
1217 //
1218 // Place copy #1 of ITS2 in I1D1
1219 //
1220 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1221 sub5node->SetLineColor(kColorITS);
1222 fNodes->Add(sub5node);
1223 sub4node->cd();
1224 fNodes->Add(sub4node);
1225 sub3node->cd();
1226 fNodes->Add(sub3node);
1227 sub2node->cd();
1228 //
1229 // Place copy #4 of I1D7 in I20B
1230 //
1231 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-10.708,"");
1232 sub3node->SetLineColor(kColorITS);
1233 sub3node->SetVisibility(0);
1234 sub3node->cd();
1235 //
1236 // Place copy #1 of I1D1 in I1D7
1237 //
1238 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1239 sub4node->SetLineColor(kColorITS);
1240 sub4node->SetVisibility(0);
1241 sub4node->cd();
1242 //
1243 // Place copy #1 of ITS2 in I1D1
1244 //
1245 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1246 sub5node->SetLineColor(kColorITS);
1247 fNodes->Add(sub5node);
1248 sub4node->cd();
1249 fNodes->Add(sub4node);
1250 sub3node->cd();
1251 fNodes->Add(sub3node);
1252 sub2node->cd();
1253 fNodes->Add(sub2node);
1254 sub1node->cd();
1255 //
1256 // Place copy #4 of I20B in I12B
1257 //
1258 deltax=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Cos(67.*TMath::Pi()/180.);
1259 deltay=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Sin(67.*TMath::Pi()/180.);
1266e9b4 1260 sub2node = new TNode("I20B","I20B","I20B",-0.2689+deltax,7.1742+deltay,0.,"itsrot243");
1f99c14b 1261 sub2node->SetLineColor(kColorITS);
1262 sub2node->SetVisibility(0);
1263 sub2node->cd();
1264 //
1265 // Place copy #1 of I1D7 in I20B
1266 //
1267 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],10.708,"");
1268 sub3node->SetLineColor(kColorITS);
1269 sub3node->SetVisibility(0);
1270 sub3node->cd();
1271 //
1272 // Place copy #1 of I1D1 in I1D7
1273 //
1274 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1275 sub4node->SetLineColor(kColorITS);
1276 sub4node->SetVisibility(0);
1277 sub4node->cd();
1278 //
1279 // Place copy #1 of ITS2 in I1D1
1280 //
1281 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1282 sub5node->SetLineColor(kColorITS);
1283 fNodes->Add(sub5node);
1284 sub4node->cd();
1285 fNodes->Add(sub4node);
1286 sub3node->cd();
1287 fNodes->Add(sub3node);
1288 sub2node->cd();
1289 //
1290 // Place copy #2 of I1D7 in I20B
1291 //
1292 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],3.536,"");
1293 sub3node->SetLineColor(kColorITS);
1294 sub3node->SetVisibility(0);
1295 sub3node->cd();
1296 //
1297 // Place copy #1 of I1D1 in I1D7
1298 //
1299 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1300 sub4node->SetLineColor(kColorITS);
1301 sub4node->SetVisibility(0);
1302 sub4node->cd();
1303 //
1304 // Place copy #1 of ITS2 in I1D1
1305 //
1306 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1307 sub5node->SetLineColor(kColorITS);
1308 fNodes->Add(sub5node);
1309 sub4node->cd();
1310 fNodes->Add(sub4node);
1311 sub3node->cd();
1312 fNodes->Add(sub3node);
1313 sub2node->cd();
1314 //
1315 // Place copy #3 of I1D7 in I20B
1316 //
1317 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-3.536,"");
1318 sub3node->SetLineColor(kColorITS);
1319 sub3node->SetVisibility(0);
1320 sub3node->cd();
1321 //
1322 // Place copy #1 of I1D1 in I1D7
1323 //
1324 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1325 sub4node->SetLineColor(kColorITS);
1326 sub4node->SetVisibility(0);
1327 sub4node->cd();
1328 //
1329 // Place copy #1 of ITS2 in I1D1
1330 //
1331 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1332 sub5node->SetLineColor(kColorITS);
1333 fNodes->Add(sub5node);
1334 sub4node->cd();
1335 fNodes->Add(sub4node);
1336 sub3node->cd();
1337 fNodes->Add(sub3node);
1338 sub2node->cd();
1339 //
1340 // Place copy #4 of I1D7 in I20B
1341 //
1342 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-10.708,"");
1343 sub3node->SetLineColor(kColorITS);
1344 sub3node->SetVisibility(0);
1345 sub3node->cd();
1346 //
1347 // Place copy #1 of I1D1 in I1D7
1348 //
1349 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1350 sub4node->SetLineColor(kColorITS);
1351 sub4node->SetVisibility(0);
1352 sub4node->cd();
1353 //
1354 // Place copy #1 of ITS2 in I1D1
1355 //
1356 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1357 sub5node->SetLineColor(kColorITS);
1358 fNodes->Add(sub5node);
1359 sub4node->cd();
1360 fNodes->Add(sub4node);
1361 sub3node->cd();
1362 fNodes->Add(sub3node);
1363 sub2node->cd();
1364 fNodes->Add(sub2node);
1365 sub1node->cd();
1366 fNodes->Add(sub1node);
1367 node->cd();
1368 //
1369 // Place copy #2 of I12B in IT12
1370 //
1266e9b4 1371 sub1node = new TNode("I12B","I12B","I12B",0.,0.,0.,"itsrot245");
1f99c14b 1372 sub1node->SetLineColor(kColorITS);
1373 sub1node->SetVisibility(0);
1374 sub1node->cd();
1375 //
1376 // Place copy #1 of I10B in I12B
1377 //
1378 deltax=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Cos(252.*TMath::Pi()/180.);
1379 deltay=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Sin(252.*TMath::Pi()/180.);
1266e9b4 1380 sub2node = new TNode("I10B","I10B","I10B",1.4531+deltax,3.8152+deltay,0.,"itsrot239");
1f99c14b 1381 sub2node->SetLineColor(kColorITS);
1382 sub2node->SetVisibility(0);
1383 sub2node->cd();
1384 //
1385 // Place copy #1 of I107 in I10B
1386 //
1387 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],10.708,"");
1388 sub3node->SetLineColor(kColorITS);
1389 sub3node->SetVisibility(0);
1390 sub3node->cd();
1391 //
1392 // Place copy #1 of I101 in I107
1393 //
1394 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
1395 sub4node->SetLineColor(kColorITS);
1396 sub4node->SetVisibility(0);
1397 sub4node->cd();
1398 //
1399 // Place copy #1 of ITS1 in I101
1400 //
1401 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
1402 sub5node->SetLineColor(kColorITS);
1403 fNodes->Add(sub5node);
1404 sub4node->cd();
1405 fNodes->Add(sub4node);
1406 sub3node->cd();
1407 fNodes->Add(sub3node);
1408 sub2node->cd();
1409 //
1410 // Place copy #2 of I107 in I10B
1411 //
1412 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],3.536,"");
1413 sub3node->SetLineColor(kColorITS);
1414 sub3node->SetVisibility(0);
1415 sub3node->cd();
1416 //
1417 // Place copy #1 of I101 in I107
1418 //
1419 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
1420 sub4node->SetLineColor(kColorITS);
1421 sub4node->SetVisibility(0);
1422 sub4node->cd();
1423 //
1424 // Place copy #1 of ITS1 in I101
1425 //
1426 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
1427 sub5node->SetLineColor(kColorITS);
1428 fNodes->Add(sub5node);
1429 sub4node->cd();
1430 fNodes->Add(sub4node);
1431 sub3node->cd();
1432 fNodes->Add(sub3node);
1433 sub2node->cd();
1434 //
1435 // Place copy #3 of I107 in I10B
1436 //
1437 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-3.536,"");
1438 sub3node->SetLineColor(kColorITS);
1439 sub3node->SetVisibility(0);
1440 sub3node->cd();
1441 //
1442 // Place copy #1 of I101 in I107
1443 //
1444 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
1445 sub4node->SetLineColor(kColorITS);
1446 sub4node->SetVisibility(0);
1447 sub4node->cd();
1448 //
1449 // Place copy #1 of ITS1 in I101
1450 //
1451 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
1452 sub5node->SetLineColor(kColorITS);
1453 fNodes->Add(sub5node);
1454 sub4node->cd();
1455 fNodes->Add(sub4node);
1456 sub3node->cd();
1457 fNodes->Add(sub3node);
1458 sub2node->cd();
1459 //
1460 // Place copy #4 of I107 in I10B
1461 //
1462 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-10.708,"");
1463 sub3node->SetLineColor(kColorITS);
1464 sub3node->SetVisibility(0);
1465 sub3node->cd();
1466 //
1467 // Place copy #1 of I101 in I107
1468 //
1469 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
1470 sub4node->SetLineColor(kColorITS);
1471 sub4node->SetVisibility(0);
1472 sub4node->cd();
1473 //
1474 // Place copy #1 of ITS1 in I101
1475 //
1476 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
1477 sub5node->SetLineColor(kColorITS);
1478 fNodes->Add(sub5node);
1479 sub4node->cd();
1480 fNodes->Add(sub4node);
1481 sub3node->cd();
1482 fNodes->Add(sub3node);
1483 sub2node->cd();
1484 fNodes->Add(sub2node);
1485 sub1node->cd();
1486 //
1487 // Place copy #2 of I10B in I12B
1488 //
1489 deltax=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Cos(270.*TMath::Pi()/180.);
1490 deltay=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Sin(270.*TMath::Pi()/180.);
1266e9b4 1491 sub2node = new TNode("I10B","I10B","I10B",0.203+deltax,3.8206+deltay,0.,"itsrot238");
1f99c14b 1492 sub2node->SetLineColor(kColorITS);
1493 sub2node->SetVisibility(0);
1494 sub2node->cd();
1495 //
1496 // Place copy #1 of I107 in I10B
1497 //
1498 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],10.708,"");
1499 sub3node->SetLineColor(kColorITS);
1500 sub3node->SetVisibility(0);
1501 sub3node->cd();
1502 //
1503 // Place copy #1 of I101 in I107
1504 //
1505 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
1506 sub4node->SetLineColor(kColorITS);
1507 sub4node->SetVisibility(0);
1508 sub4node->cd();
1509 //
1510 // Place copy #1 of ITS1 in I101
1511 //
1512 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
1513 sub5node->SetLineColor(kColorITS);
1514 fNodes->Add(sub5node);
1515 sub4node->cd();
1516 fNodes->Add(sub4node);
1517 sub3node->cd();
1518 fNodes->Add(sub3node);
1519 sub2node->cd();
1520 //
1521 // Place copy #2 of I107 in I10B
1522 //
1523 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],3.536,"");
1524 sub3node->SetLineColor(kColorITS);
1525 sub3node->SetVisibility(0);
1526 sub3node->cd();
1527 //
1528 // Place copy #1 of I101 in I107
1529 //
1530 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
1531 sub4node->SetLineColor(kColorITS);
1532 sub4node->SetVisibility(0);
1533 sub4node->cd();
1534 //
1535 // Place copy #1 of ITS1 in I101
1536 //
1537 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
1538 sub5node->SetLineColor(kColorITS);
1539 fNodes->Add(sub5node);
1540 sub4node->cd();
1541 fNodes->Add(sub4node);
1542 sub3node->cd();
1543 fNodes->Add(sub3node);
1544 sub2node->cd();
1545 //
1546 // Place copy #3 of I107 in I10B
1547 //
1548 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-3.536,"");
1549 sub3node->SetLineColor(kColorITS);
1550 sub3node->SetVisibility(0);
1551 sub3node->cd();
1552 //
1553 // Place copy #1 of I101 in I107
1554 //
1555 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
1556 sub4node->SetLineColor(kColorITS);
1557 sub4node->SetVisibility(0);
1558 sub4node->cd();
1559 //
1560 // Place copy #1 of ITS1 in I101
1561 //
1562 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
1563 sub5node->SetLineColor(kColorITS);
1564 fNodes->Add(sub5node);
1565 sub4node->cd();
1566 fNodes->Add(sub4node);
1567 sub3node->cd();
1568 fNodes->Add(sub3node);
1569 sub2node->cd();
1570 //
1571 // Place copy #4 of I107 in I10B
1572 //
1573 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-10.708,"");
1574 sub3node->SetLineColor(kColorITS);
1575 sub3node->SetVisibility(0);
1576 sub3node->cd();
1577 //
1578 // Place copy #1 of I101 in I107
1579 //
1580 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
1581 sub4node->SetLineColor(kColorITS);
1582 sub4node->SetVisibility(0);
1583 sub4node->cd();
1584 //
1585 // Place copy #1 of ITS1 in I101
1586 //
1587 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
1588 sub5node->SetLineColor(kColorITS);
1589 fNodes->Add(sub5node);
1590 sub4node->cd();
1591 fNodes->Add(sub4node);
1592 sub3node->cd();
1593 fNodes->Add(sub3node);
1594 sub2node->cd();
1595 fNodes->Add(sub2node);
1596 sub1node->cd();
1597 //
1598 // Place copy #1 of I20B in I12B
1599 //
1600 deltax=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Cos(40.*TMath::Pi()/180.);
1601 deltay=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Sin(40.*TMath::Pi()/180.);
1266e9b4 1602 sub2node = new TNode("I20B","I20B","I20B",3.0174+deltax,6.5143+deltay,0.,"itsrot240");
1f99c14b 1603 sub2node->SetLineColor(kColorITS);
1604 sub2node->SetVisibility(0);
1605 sub2node->cd();
1606 //
1607 // Place copy #1 of I1D7 in I20B
1608 //
1609 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],10.708,"");
1610 sub3node->SetLineColor(kColorITS);
1611 sub3node->SetVisibility(0);
1612 sub3node->cd();
1613 //
1614 // Place copy #1 of I1D1 in I1D7
1615 //
1616 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1617 sub4node->SetLineColor(kColorITS);
1618 sub4node->SetVisibility(0);
1619 sub4node->cd();
1620 //
1621 // Place copy #1 of ITS2 in I1D1
1622 //
1623 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1624 sub5node->SetLineColor(kColorITS);
1625 fNodes->Add(sub5node);
1626 sub4node->cd();
1627 fNodes->Add(sub4node);
1628 sub3node->cd();
1629 fNodes->Add(sub3node);
1630 sub2node->cd();
1631 //
1632 // Place copy #2 of I1D7 in I20B
1633 //
1634 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],3.536,"");
1635 sub3node->SetLineColor(kColorITS);
1636 sub3node->SetVisibility(0);
1637 sub3node->cd();
1638 //
1639 // Place copy #1 of I1D1 in I1D7
1640 //
1641 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1642 sub4node->SetLineColor(kColorITS);
1643 sub4node->SetVisibility(0);
1644 sub4node->cd();
1645 //
1646 // Place copy #1 of ITS2 in I1D1
1647 //
1648 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1649 sub5node->SetLineColor(kColorITS);
1650 fNodes->Add(sub5node);
1651 sub4node->cd();
1652 fNodes->Add(sub4node);
1653 sub3node->cd();
1654 fNodes->Add(sub3node);
1655 sub2node->cd();
1656 //
1657 // Place copy #3 of I1D7 in I20B
1658 //
1659 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-3.536,"");
1660 sub3node->SetLineColor(kColorITS);
1661 sub3node->SetVisibility(0);
1662 sub3node->cd();
1663 //
1664 // Place copy #1 of I1D1 in I1D7
1665 //
1666 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1667 sub4node->SetLineColor(kColorITS);
1668 sub4node->SetVisibility(0);
1669 sub4node->cd();
1670 //
1671 // Place copy #1 of ITS2 in I1D1
1672 //
1673 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1674 sub5node->SetLineColor(kColorITS);
1675 fNodes->Add(sub5node);
1676 sub4node->cd();
1677 fNodes->Add(sub4node);
1678 sub3node->cd();
1679 fNodes->Add(sub3node);
1680 sub2node->cd();
1681 //
1682 // Place copy #4 of I1D7 in I20B
1683 //
1684 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-10.708,"");
1685 sub3node->SetLineColor(kColorITS);
1686 sub3node->SetVisibility(0);
1687 sub3node->cd();
1688 //
1689 // Place copy #1 of I1D1 in I1D7
1690 //
1691 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1692 sub4node->SetLineColor(kColorITS);
1693 sub4node->SetVisibility(0);
1694 sub4node->cd();
1695 //
1696 // Place copy #1 of ITS2 in I1D1
1697 //
1698 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1699 sub5node->SetLineColor(kColorITS);
1700 fNodes->Add(sub5node);
1701 sub4node->cd();
1702 fNodes->Add(sub4node);
1703 sub3node->cd();
1704 fNodes->Add(sub3node);
1705 sub2node->cd();
1706 fNodes->Add(sub2node);
1707 sub1node->cd();
1708 //
1709 // Place copy #2 of I20B in I12B
1710 //
1711 deltax=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Cos(49.*TMath::Pi()/180.);
1712 deltay=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Sin(49.*TMath::Pi()/180.);
1266e9b4 1713 sub2node = new TNode("I20B","I20B","I20B",1.9612+deltax,6.9062+deltay,0.,"itsrot241");
1f99c14b 1714 sub2node->SetLineColor(kColorITS);
1715 sub2node->SetVisibility(0);
1716 sub2node->cd();
1717 //
1718 // Place copy #1 of I1D7 in I20B
1719 //
1720 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],10.708,"");
1721 sub3node->SetLineColor(kColorITS);
1722 sub3node->SetVisibility(0);
1723 sub3node->cd();
1724 //
1725 // Place copy #1 of I1D1 in I1D7
1726 //
1727 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1728 sub4node->SetLineColor(kColorITS);
1729 sub4node->SetVisibility(0);
1730 sub4node->cd();
1731 //
1732 // Place copy #1 of ITS2 in I1D1
1733 //
1734 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1735 sub5node->SetLineColor(kColorITS);
1736 fNodes->Add(sub5node);
1737 sub4node->cd();
1738 fNodes->Add(sub4node);
1739 sub3node->cd();
1740 fNodes->Add(sub3node);
1741 sub2node->cd();
1742 //
1743 // Place copy #2 of I1D7 in I20B
1744 //
1745 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],3.536,"");
1746 sub3node->SetLineColor(kColorITS);
1747 sub3node->SetVisibility(0);
1748 sub3node->cd();
1749 //
1750 // Place copy #1 of I1D1 in I1D7
1751 //
1752 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1753 sub4node->SetLineColor(kColorITS);
1754 sub4node->SetVisibility(0);
1755 sub4node->cd();
1756 //
1757 // Place copy #1 of ITS2 in I1D1
1758 //
1759 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1760 sub5node->SetLineColor(kColorITS);
1761 fNodes->Add(sub5node);
1762 sub4node->cd();
1763 fNodes->Add(sub4node);
1764 sub3node->cd();
1765 fNodes->Add(sub3node);
1766 sub2node->cd();
1767 //
1768 // Place copy #3 of I1D7 in I20B
1769 //
1770 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-3.536,"");
1771 sub3node->SetLineColor(kColorITS);
1772 sub3node->SetVisibility(0);
1773 sub3node->cd();
1774 //
1775 // Place copy #1 of I1D1 in I1D7
1776 //
1777 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1778 sub4node->SetLineColor(kColorITS);
1779 sub4node->SetVisibility(0);
1780 sub4node->cd();
1781 //
1782 // Place copy #1 of ITS2 in I1D1
1783 //
1784 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1785 sub5node->SetLineColor(kColorITS);
1786 fNodes->Add(sub5node);
1787 sub4node->cd();
1788 fNodes->Add(sub4node);
1789 sub3node->cd();
1790 fNodes->Add(sub3node);
1791 sub2node->cd();
1792 //
1793 // Place copy #4 of I1D7 in I20B
1794 //
1795 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-10.708,"");
1796 sub3node->SetLineColor(kColorITS);
1797 sub3node->SetVisibility(0);
1798 sub3node->cd();
1799 //
1800 // Place copy #1 of I1D1 in I1D7
1801 //
1802 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1803 sub4node->SetLineColor(kColorITS);
1804 sub4node->SetVisibility(0);
1805 sub4node->cd();
1806 //
1807 // Place copy #1 of ITS2 in I1D1
1808 //
1809 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1810 sub5node->SetLineColor(kColorITS);
1811 fNodes->Add(sub5node);
1812 sub4node->cd();
1813 fNodes->Add(sub4node);
1814 sub3node->cd();
1815 fNodes->Add(sub3node);
1816 sub2node->cd();
1817 fNodes->Add(sub2node);
1818 sub1node->cd();
1819 //
1820 // Place copy #3 of I20B in I12B
1821 //
1822 deltax=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Cos(58.*TMath::Pi()/180.);
1823 deltay=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Sin(58.*TMath::Pi()/180.);
1266e9b4 1824 sub2node = new TNode("I20B","I20B","I20B",0.8567+deltax,7.1279+deltay,0.,"itsrot242");
1f99c14b 1825 sub2node->SetLineColor(kColorITS);
1826 sub2node->SetVisibility(0);
1827 sub2node->cd();
1828 //
1829 // Place copy #1 of I1D7 in I20B
1830 //
1831 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],10.708,"");
1832 sub3node->SetLineColor(kColorITS);
1833 sub3node->SetVisibility(0);
1834 sub3node->cd();
1835 //
1836 // Place copy #1 of I1D1 in I1D7
1837 //
1838 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1839 sub4node->SetLineColor(kColorITS);
1840 sub4node->SetVisibility(0);
1841 sub4node->cd();
1842 //
1843 // Place copy #1 of ITS2 in I1D1
1844 //
1845 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1846 sub5node->SetLineColor(kColorITS);
1847 fNodes->Add(sub5node);
1848 sub4node->cd();
1849 fNodes->Add(sub4node);
1850 sub3node->cd();
1851 fNodes->Add(sub3node);
1852 sub2node->cd();
1853 //
1854 // Place copy #2 of I1D7 in I20B
1855 //
1856 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],3.536,"");
1857 sub3node->SetLineColor(kColorITS);
1858 sub3node->SetVisibility(0);
1859 sub3node->cd();
1860 //
1861 // Place copy #1 of I1D1 in I1D7
1862 //
1863 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1864 sub4node->SetLineColor(kColorITS);
1865 sub4node->SetVisibility(0);
1866 sub4node->cd();
1867 //
1868 // Place copy #1 of ITS2 in I1D1
1869 //
1870 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1871 sub5node->SetLineColor(kColorITS);
1872 fNodes->Add(sub5node);
1873 sub4node->cd();
1874 fNodes->Add(sub4node);
1875 sub3node->cd();
1876 fNodes->Add(sub3node);
1877 sub2node->cd();
1878 //
1879 // Place copy #3 of I1D7 in I20B
1880 //
1881 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-3.536,"");
1882 sub3node->SetLineColor(kColorITS);
1883 sub3node->SetVisibility(0);
1884 sub3node->cd();
1885 //
1886 // Place copy #1 of I1D1 in I1D7
1887 //
1888 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1889 sub4node->SetLineColor(kColorITS);
1890 sub4node->SetVisibility(0);
1891 sub4node->cd();
1892 //
1893 // Place copy #1 of ITS2 in I1D1
1894 //
1895 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1896 sub5node->SetLineColor(kColorITS);
1897 fNodes->Add(sub5node);
1898 sub4node->cd();
1899 fNodes->Add(sub4node);
1900 sub3node->cd();
1901 fNodes->Add(sub3node);
1902 sub2node->cd();
1903 //
1904 // Place copy #4 of I1D7 in I20B
1905 //
1906 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-10.708,"");
1907 sub3node->SetLineColor(kColorITS);
1908 sub3node->SetVisibility(0);
1909 sub3node->cd();
1910 //
1911 // Place copy #1 of I1D1 in I1D7
1912 //
1913 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1914 sub4node->SetLineColor(kColorITS);
1915 sub4node->SetVisibility(0);
1916 sub4node->cd();
1917 //
1918 // Place copy #1 of ITS2 in I1D1
1919 //
1920 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1921 sub5node->SetLineColor(kColorITS);
1922 fNodes->Add(sub5node);
1923 sub4node->cd();
1924 fNodes->Add(sub4node);
1925 sub3node->cd();
1926 fNodes->Add(sub3node);
1927 sub2node->cd();
1928 fNodes->Add(sub2node);
1929 sub1node->cd();
1930 //
1931 // Place copy #4 of I20B in I12B
1932 //
1933 deltax=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Cos(67.*TMath::Pi()/180.);
1934 deltay=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Sin(67.*TMath::Pi()/180.);
1266e9b4 1935 sub2node = new TNode("I20B","I20B","I20B",-0.2689+deltax,7.1742+deltay,0.,"itsrot243");
1f99c14b 1936 sub2node->SetLineColor(kColorITS);
1937 sub2node->SetVisibility(0);
1938 sub2node->cd();
1939 //
1940 // Place copy #1 of I1D7 in I20B
1941 //
1942 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],10.708,"");
1943 sub3node->SetLineColor(kColorITS);
1944 sub3node->SetVisibility(0);
1945 sub3node->cd();
1946 //
1947 // Place copy #1 of I1D1 in I1D7
1948 //
1949 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1950 sub4node->SetLineColor(kColorITS);
1951 sub4node->SetVisibility(0);
1952 sub4node->cd();
1953 //
1954 // Place copy #1 of ITS2 in I1D1
1955 //
1956 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1957 sub5node->SetLineColor(kColorITS);
1958 fNodes->Add(sub5node);
1959 sub4node->cd();
1960 fNodes->Add(sub4node);
1961 sub3node->cd();
1962 fNodes->Add(sub3node);
1963 sub2node->cd();
1964 //
1965 // Place copy #2 of I1D7 in I20B
1966 //
1967 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],3.536,"");
1968 sub3node->SetLineColor(kColorITS);
1969 sub3node->SetVisibility(0);
1970 sub3node->cd();
1971 //
1972 // Place copy #1 of I1D1 in I1D7
1973 //
1974 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
1975 sub4node->SetLineColor(kColorITS);
1976 sub4node->SetVisibility(0);
1977 sub4node->cd();
1978 //
1979 // Place copy #1 of ITS2 in I1D1
1980 //
1981 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
1982 sub5node->SetLineColor(kColorITS);
1983 fNodes->Add(sub5node);
1984 sub4node->cd();
1985 fNodes->Add(sub4node);
1986 sub3node->cd();
1987 fNodes->Add(sub3node);
1988 sub2node->cd();
1989 //
1990 // Place copy #3 of I1D7 in I20B
1991 //
1992 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-3.536,"");
1993 sub3node->SetLineColor(kColorITS);
1994 sub3node->SetVisibility(0);
1995 sub3node->cd();
1996 //
1997 // Place copy #1 of I1D1 in I1D7
1998 //
1999 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2000 sub4node->SetLineColor(kColorITS);
2001 sub4node->SetVisibility(0);
2002 sub4node->cd();
2003 //
2004 // Place copy #1 of ITS2 in I1D1
2005 //
2006 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2007 sub5node->SetLineColor(kColorITS);
2008 fNodes->Add(sub5node);
2009 sub4node->cd();
2010 fNodes->Add(sub4node);
2011 sub3node->cd();
2012 fNodes->Add(sub3node);
2013 sub2node->cd();
2014 //
2015 // Place copy #4 of I1D7 in I20B
2016 //
2017 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-10.708,"");
2018 sub3node->SetLineColor(kColorITS);
2019 sub3node->SetVisibility(0);
2020 sub3node->cd();
2021 //
2022 // Place copy #1 of I1D1 in I1D7
2023 //
2024 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2025 sub4node->SetLineColor(kColorITS);
2026 sub4node->SetVisibility(0);
2027 sub4node->cd();
2028 //
2029 // Place copy #1 of ITS2 in I1D1
2030 //
2031 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2032 sub5node->SetLineColor(kColorITS);
2033 fNodes->Add(sub5node);
2034 sub4node->cd();
2035 fNodes->Add(sub4node);
2036 sub3node->cd();
2037 fNodes->Add(sub3node);
2038 sub2node->cd();
2039 fNodes->Add(sub2node);
2040 sub1node->cd();
2041 fNodes->Add(sub1node);
2042 node->cd();
2043 //
2044 // Place copy #3 of I12B in IT12
2045 //
1266e9b4 2046 sub1node = new TNode("I12B","I12B","I12B",0.,0.,0.,"itsrot234");
1f99c14b 2047 sub1node->SetLineColor(kColorITS);
2048 sub1node->SetVisibility(0);
2049 sub1node->cd();
2050 //
2051 // Place copy #1 of I10B in I12B
2052 //
2053 deltax=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Cos(252.*TMath::Pi()/180.);
2054 deltay=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Sin(252.*TMath::Pi()/180.);
1266e9b4 2055 sub2node = new TNode("I10B","I10B","I10B",1.4531+deltax,3.8152+deltay,0.,"itsrot239");
1f99c14b 2056 sub2node->SetLineColor(kColorITS);
2057 sub2node->SetVisibility(0);
2058 sub2node->cd();
2059 //
2060 // Place copy #1 of I107 in I10B
2061 //
2062 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],10.708,"");
2063 sub3node->SetLineColor(kColorITS);
2064 sub3node->SetVisibility(0);
2065 sub3node->cd();
2066 //
2067 // Place copy #1 of I101 in I107
2068 //
2069 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
2070 sub4node->SetLineColor(kColorITS);
2071 sub4node->SetVisibility(0);
2072 sub4node->cd();
2073 //
2074 // Place copy #1 of ITS1 in I101
2075 //
2076 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
2077 sub5node->SetLineColor(kColorITS);
2078 fNodes->Add(sub5node);
2079 sub4node->cd();
2080 fNodes->Add(sub4node);
2081 sub3node->cd();
2082 fNodes->Add(sub3node);
2083 sub2node->cd();
2084 //
2085 // Place copy #2 of I107 in I10B
2086 //
2087 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],3.536,"");
2088 sub3node->SetLineColor(kColorITS);
2089 sub3node->SetVisibility(0);
2090 sub3node->cd();
2091 //
2092 // Place copy #1 of I101 in I107
2093 //
2094 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
2095 sub4node->SetLineColor(kColorITS);
2096 sub4node->SetVisibility(0);
2097 sub4node->cd();
2098 //
2099 // Place copy #1 of ITS1 in I101
2100 //
2101 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
2102 sub5node->SetLineColor(kColorITS);
2103 fNodes->Add(sub5node);
2104 sub4node->cd();
2105 fNodes->Add(sub4node);
2106 sub3node->cd();
2107 fNodes->Add(sub3node);
2108 sub2node->cd();
2109 //
2110 // Place copy #3 of I107 in I10B
2111 //
2112 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-3.536,"");
2113 sub3node->SetLineColor(kColorITS);
2114 sub3node->SetVisibility(0);
2115 sub3node->cd();
2116 //
2117 // Place copy #1 of I101 in I107
2118 //
2119 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
2120 sub4node->SetLineColor(kColorITS);
2121 sub4node->SetVisibility(0);
2122 sub4node->cd();
2123 //
2124 // Place copy #1 of ITS1 in I101
2125 //
2126 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
2127 sub5node->SetLineColor(kColorITS);
2128 fNodes->Add(sub5node);
2129 sub4node->cd();
2130 fNodes->Add(sub4node);
2131 sub3node->cd();
2132 fNodes->Add(sub3node);
2133 sub2node->cd();
2134 //
2135 // Place copy #4 of I107 in I10B
2136 //
2137 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-10.708,"");
2138 sub3node->SetLineColor(kColorITS);
2139 sub3node->SetVisibility(0);
2140 sub3node->cd();
2141 //
2142 // Place copy #1 of I101 in I107
2143 //
2144 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
2145 sub4node->SetLineColor(kColorITS);
2146 sub4node->SetVisibility(0);
2147 sub4node->cd();
2148 //
2149 // Place copy #1 of ITS1 in I101
2150 //
2151 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
2152 sub5node->SetLineColor(kColorITS);
2153 fNodes->Add(sub5node);
2154 sub4node->cd();
2155 fNodes->Add(sub4node);
2156 sub3node->cd();
2157 fNodes->Add(sub3node);
2158 sub2node->cd();
2159 fNodes->Add(sub2node);
2160 sub1node->cd();
2161 //
2162 // Place copy #2 of I10B in I12B
2163 //
2164 deltax=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Cos(270.*TMath::Pi()/180.);
2165 deltay=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Sin(270.*TMath::Pi()/180.);
1266e9b4 2166 sub2node = new TNode("I10B","I10B","I10B",0.203+deltax,3.8206+deltay,0.,"itsrot238");
1f99c14b 2167 sub2node->SetLineColor(kColorITS);
2168 sub2node->SetVisibility(0);
2169 sub2node->cd();
2170 //
2171 // Place copy #1 of I107 in I10B
2172 //
2173 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],10.708,"");
2174 sub3node->SetLineColor(kColorITS);
2175 sub3node->SetVisibility(0);
2176 sub3node->cd();
2177 //
2178 // Place copy #1 of I101 in I107
2179 //
2180 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
2181 sub4node->SetLineColor(kColorITS);
2182 sub4node->SetVisibility(0);
2183 sub4node->cd();
2184 //
2185 // Place copy #1 of ITS1 in I101
2186 //
2187 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
2188 sub5node->SetLineColor(kColorITS);
2189 fNodes->Add(sub5node);
2190 sub4node->cd();
2191 fNodes->Add(sub4node);
2192 sub3node->cd();
2193 fNodes->Add(sub3node);
2194 sub2node->cd();
2195 //
2196 // Place copy #2 of I107 in I10B
2197 //
2198 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],3.536,"");
2199 sub3node->SetLineColor(kColorITS);
2200 sub3node->SetVisibility(0);
2201 sub3node->cd();
2202 //
2203 // Place copy #1 of I101 in I107
2204 //
2205 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
2206 sub4node->SetLineColor(kColorITS);
2207 sub4node->SetVisibility(0);
2208 sub4node->cd();
2209 //
2210 // Place copy #1 of ITS1 in I101
2211 //
2212 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
2213 sub5node->SetLineColor(kColorITS);
2214 fNodes->Add(sub5node);
2215 sub4node->cd();
2216 fNodes->Add(sub4node);
2217 sub3node->cd();
2218 fNodes->Add(sub3node);
2219 sub2node->cd();
2220 //
2221 // Place copy #3 of I107 in I10B
2222 //
2223 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-3.536,"");
2224 sub3node->SetLineColor(kColorITS);
2225 sub3node->SetVisibility(0);
2226 sub3node->cd();
2227 //
2228 // Place copy #1 of I101 in I107
2229 //
2230 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
2231 sub4node->SetLineColor(kColorITS);
2232 sub4node->SetVisibility(0);
2233 sub4node->cd();
2234 //
2235 // Place copy #1 of ITS1 in I101
2236 //
2237 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
2238 sub5node->SetLineColor(kColorITS);
2239 fNodes->Add(sub5node);
2240 sub4node->cd();
2241 fNodes->Add(sub4node);
2242 sub3node->cd();
2243 fNodes->Add(sub3node);
2244 sub2node->cd();
2245 //
2246 // Place copy #4 of I107 in I10B
2247 //
2248 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-10.708,"");
2249 sub3node->SetLineColor(kColorITS);
2250 sub3node->SetVisibility(0);
2251 sub3node->cd();
2252 //
2253 // Place copy #1 of I101 in I107
2254 //
2255 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
2256 sub4node->SetLineColor(kColorITS);
2257 sub4node->SetVisibility(0);
2258 sub4node->cd();
2259 //
2260 // Place copy #1 of ITS1 in I101
2261 //
2262 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
2263 sub5node->SetLineColor(kColorITS);
2264 fNodes->Add(sub5node);
2265 sub4node->cd();
2266 fNodes->Add(sub4node);
2267 sub3node->cd();
2268 fNodes->Add(sub3node);
2269 sub2node->cd();
2270 fNodes->Add(sub2node);
2271 sub1node->cd();
2272 //
2273 // Place copy #1 of I20B in I12B
2274 //
2275 deltax=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Cos(40.*TMath::Pi()/180.);
2276 deltay=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Sin(40.*TMath::Pi()/180.);
1266e9b4 2277 sub2node = new TNode("I20B","I20B","I20B",3.0174+deltax,6.5143+deltay,0.,"itsrot240");
1f99c14b 2278 sub2node->SetLineColor(kColorITS);
2279 sub2node->SetVisibility(0);
2280 sub2node->cd();
2281 //
2282 // Place copy #1 of I1D7 in I20B
2283 //
2284 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],10.708,"");
2285 sub3node->SetLineColor(kColorITS);
2286 sub3node->SetVisibility(0);
2287 sub3node->cd();
2288 //
2289 // Place copy #1 of I1D1 in I1D7
2290 //
2291 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2292 sub4node->SetLineColor(kColorITS);
2293 sub4node->SetVisibility(0);
2294 sub4node->cd();
2295 //
2296 // Place copy #1 of ITS2 in I1D1
2297 //
2298 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2299 sub5node->SetLineColor(kColorITS);
2300 fNodes->Add(sub5node);
2301 sub4node->cd();
2302 fNodes->Add(sub4node);
2303 sub3node->cd();
2304 fNodes->Add(sub3node);
2305 sub2node->cd();
2306 //
2307 // Place copy #2 of I1D7 in I20B
2308 //
2309 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],3.536,"");
2310 sub3node->SetLineColor(kColorITS);
2311 sub3node->SetVisibility(0);
2312 sub3node->cd();
2313 //
2314 // Place copy #1 of I1D1 in I1D7
2315 //
2316 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2317 sub4node->SetLineColor(kColorITS);
2318 sub4node->SetVisibility(0);
2319 sub4node->cd();
2320 //
2321 // Place copy #1 of ITS2 in I1D1
2322 //
2323 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2324 sub5node->SetLineColor(kColorITS);
2325 fNodes->Add(sub5node);
2326 sub4node->cd();
2327 fNodes->Add(sub4node);
2328 sub3node->cd();
2329 fNodes->Add(sub3node);
2330 sub2node->cd();
2331 //
2332 // Place copy #3 of I1D7 in I20B
2333 //
2334 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-3.536,"");
2335 sub3node->SetLineColor(kColorITS);
2336 sub3node->SetVisibility(0);
2337 sub3node->cd();
2338 //
2339 // Place copy #1 of I1D1 in I1D7
2340 //
2341 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2342 sub4node->SetLineColor(kColorITS);
2343 sub4node->SetVisibility(0);
2344 sub4node->cd();
2345 //
2346 // Place copy #1 of ITS2 in I1D1
2347 //
2348 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2349 sub5node->SetLineColor(kColorITS);
2350 fNodes->Add(sub5node);
2351 sub4node->cd();
2352 fNodes->Add(sub4node);
2353 sub3node->cd();
2354 fNodes->Add(sub3node);
2355 sub2node->cd();
2356 //
2357 // Place copy #4 of I1D7 in I20B
2358 //
2359 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-10.708,"");
2360 sub3node->SetLineColor(kColorITS);
2361 sub3node->SetVisibility(0);
2362 sub3node->cd();
2363 //
2364 // Place copy #1 of I1D1 in I1D7
2365 //
2366 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2367 sub4node->SetLineColor(kColorITS);
2368 sub4node->SetVisibility(0);
2369 sub4node->cd();
2370 //
2371 // Place copy #1 of ITS2 in I1D1
2372 //
2373 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2374 sub5node->SetLineColor(kColorITS);
2375 fNodes->Add(sub5node);
2376 sub4node->cd();
2377 fNodes->Add(sub4node);
2378 sub3node->cd();
2379 fNodes->Add(sub3node);
2380 sub2node->cd();
2381 fNodes->Add(sub2node);
2382 sub1node->cd();
2383 //
2384 // Place copy #2 of I20B in I12B
2385 //
2386 deltax=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Cos(49.*TMath::Pi()/180.);
2387 deltay=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Sin(49.*TMath::Pi()/180.);
1266e9b4 2388 sub2node = new TNode("I20B","I20B","I20B",1.9612+deltax,6.9062+deltay,0.,"itsrot241");
1f99c14b 2389 sub2node->SetLineColor(kColorITS);
2390 sub2node->SetVisibility(0);
2391 sub2node->cd();
2392 //
2393 // Place copy #1 of I1D7 in I20B
2394 //
2395 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],10.708,"");
2396 sub3node->SetLineColor(kColorITS);
2397 sub3node->SetVisibility(0);
2398 sub3node->cd();
2399 //
2400 // Place copy #1 of I1D1 in I1D7
2401 //
2402 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2403 sub4node->SetLineColor(kColorITS);
2404 sub4node->SetVisibility(0);
2405 sub4node->cd();
2406 //
2407 // Place copy #1 of ITS2 in I1D1
2408 //
2409 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2410 sub5node->SetLineColor(kColorITS);
2411 fNodes->Add(sub5node);
2412 sub4node->cd();
2413 fNodes->Add(sub4node);
2414 sub3node->cd();
2415 fNodes->Add(sub3node);
2416 sub2node->cd();
2417 //
2418 // Place copy #2 of I1D7 in I20B
2419 //
2420 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],3.536,"");
2421 sub3node->SetLineColor(kColorITS);
2422 sub3node->SetVisibility(0);
2423 sub3node->cd();
2424 //
2425 // Place copy #1 of I1D1 in I1D7
2426 //
2427 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2428 sub4node->SetLineColor(kColorITS);
2429 sub4node->SetVisibility(0);
2430 sub4node->cd();
2431 //
2432 // Place copy #1 of ITS2 in I1D1
2433 //
2434 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2435 sub5node->SetLineColor(kColorITS);
2436 fNodes->Add(sub5node);
2437 sub4node->cd();
2438 fNodes->Add(sub4node);
2439 sub3node->cd();
2440 fNodes->Add(sub3node);
2441 sub2node->cd();
2442 //
2443 // Place copy #3 of I1D7 in I20B
2444 //
2445 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-3.536,"");
2446 sub3node->SetLineColor(kColorITS);
2447 sub3node->SetVisibility(0);
2448 sub3node->cd();
2449 //
2450 // Place copy #1 of I1D1 in I1D7
2451 //
2452 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2453 sub4node->SetLineColor(kColorITS);
2454 sub4node->SetVisibility(0);
2455 sub4node->cd();
2456 //
2457 // Place copy #1 of ITS2 in I1D1
2458 //
2459 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2460 sub5node->SetLineColor(kColorITS);
2461 fNodes->Add(sub5node);
2462 sub4node->cd();
2463 fNodes->Add(sub4node);
2464 sub3node->cd();
2465 fNodes->Add(sub3node);
2466 sub2node->cd();
2467 //
2468 // Place copy #4 of I1D7 in I20B
2469 //
2470 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-10.708,"");
2471 sub3node->SetLineColor(kColorITS);
2472 sub3node->SetVisibility(0);
2473 sub3node->cd();
2474 //
2475 // Place copy #1 of I1D1 in I1D7
2476 //
2477 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2478 sub4node->SetLineColor(kColorITS);
2479 sub4node->SetVisibility(0);
2480 sub4node->cd();
2481 //
2482 // Place copy #1 of ITS2 in I1D1
2483 //
2484 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2485 sub5node->SetLineColor(kColorITS);
2486 fNodes->Add(sub5node);
2487 sub4node->cd();
2488 fNodes->Add(sub4node);
2489 sub3node->cd();
2490 fNodes->Add(sub3node);
2491 sub2node->cd();
2492 fNodes->Add(sub2node);
2493 sub1node->cd();
2494 //
2495 // Place copy #3 of I20B in I12B
2496 //
2497 deltax=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Cos(58.*TMath::Pi()/180.);
2498 deltay=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Sin(58.*TMath::Pi()/180.);
1266e9b4 2499 sub2node = new TNode("I20B","I20B","I20B",0.8567+deltax,7.1279+deltay,0.,"itsrot242");
1f99c14b 2500 sub2node->SetLineColor(kColorITS);
2501 sub2node->SetVisibility(0);
2502 sub2node->cd();
2503 //
2504 // Place copy #1 of I1D7 in I20B
2505 //
2506 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],10.708,"");
2507 sub3node->SetLineColor(kColorITS);
2508 sub3node->SetVisibility(0);
2509 sub3node->cd();
2510 //
2511 // Place copy #1 of I1D1 in I1D7
2512 //
2513 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2514 sub4node->SetLineColor(kColorITS);
2515 sub4node->SetVisibility(0);
2516 sub4node->cd();
2517 //
2518 // Place copy #1 of ITS2 in I1D1
2519 //
2520 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2521 sub5node->SetLineColor(kColorITS);
2522 fNodes->Add(sub5node);
2523 sub4node->cd();
2524 fNodes->Add(sub4node);
2525 sub3node->cd();
2526 fNodes->Add(sub3node);
2527 sub2node->cd();
2528 //
2529 // Place copy #2 of I1D7 in I20B
2530 //
2531 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],3.536,"");
2532 sub3node->SetLineColor(kColorITS);
2533 sub3node->SetVisibility(0);
2534 sub3node->cd();
2535 //
2536 // Place copy #1 of I1D1 in I1D7
2537 //
2538 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2539 sub4node->SetLineColor(kColorITS);
2540 sub4node->SetVisibility(0);
2541 sub4node->cd();
2542 //
2543 // Place copy #1 of ITS2 in I1D1
2544 //
2545 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2546 sub5node->SetLineColor(kColorITS);
2547 fNodes->Add(sub5node);
2548 sub4node->cd();
2549 fNodes->Add(sub4node);
2550 sub3node->cd();
2551 fNodes->Add(sub3node);
2552 sub2node->cd();
2553 //
2554 // Place copy #3 of I1D7 in I20B
2555 //
2556 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-3.536,"");
2557 sub3node->SetLineColor(kColorITS);
2558 sub3node->SetVisibility(0);
2559 sub3node->cd();
2560 //
2561 // Place copy #1 of I1D1 in I1D7
2562 //
2563 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2564 sub4node->SetLineColor(kColorITS);
2565 sub4node->SetVisibility(0);
2566 sub4node->cd();
2567 //
2568 // Place copy #1 of ITS2 in I1D1
2569 //
2570 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2571 sub5node->SetLineColor(kColorITS);
2572 fNodes->Add(sub5node);
2573 sub4node->cd();
2574 fNodes->Add(sub4node);
2575 sub3node->cd();
2576 fNodes->Add(sub3node);
2577 sub2node->cd();
2578 //
2579 // Place copy #4 of I1D7 in I20B
2580 //
2581 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-10.708,"");
2582 sub3node->SetLineColor(kColorITS);
2583 sub3node->SetVisibility(0);
2584 sub3node->cd();
2585 //
2586 // Place copy #1 of I1D1 in I1D7
2587 //
2588 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2589 sub4node->SetLineColor(kColorITS);
2590 sub4node->SetVisibility(0);
2591 sub4node->cd();
2592 //
2593 // Place copy #1 of ITS2 in I1D1
2594 //
2595 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2596 sub5node->SetLineColor(kColorITS);
2597 fNodes->Add(sub5node);
2598 sub4node->cd();
2599 fNodes->Add(sub4node);
2600 sub3node->cd();
2601 fNodes->Add(sub3node);
2602 sub2node->cd();
2603 fNodes->Add(sub2node);
2604 sub1node->cd();
2605 //
2606 // Place copy #4 of I20B in I12B
2607 //
2608 deltax=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Cos(67.*TMath::Pi()/180.);
2609 deltay=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Sin(67.*TMath::Pi()/180.);
1266e9b4 2610 sub2node = new TNode("I20B","I20B","I20B",-0.2689+deltax,7.1742+deltay,0.,"itsrot243");
1f99c14b 2611 sub2node->SetLineColor(kColorITS);
2612 sub2node->SetVisibility(0);
2613 sub2node->cd();
2614 //
2615 // Place copy #1 of I1D7 in I20B
2616 //
2617 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],10.708,"");
2618 sub3node->SetLineColor(kColorITS);
2619 sub3node->SetVisibility(0);
2620 sub3node->cd();
2621 //
2622 // Place copy #1 of I1D1 in I1D7
2623 //
2624 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2625 sub4node->SetLineColor(kColorITS);
2626 sub4node->SetVisibility(0);
2627 sub4node->cd();
2628 //
2629 // Place copy #1 of ITS2 in I1D1
2630 //
2631 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2632 sub5node->SetLineColor(kColorITS);
2633 fNodes->Add(sub5node);
2634 sub4node->cd();
2635 fNodes->Add(sub4node);
2636 sub3node->cd();
2637 fNodes->Add(sub3node);
2638 sub2node->cd();
2639 //
2640 // Place copy #2 of I1D7 in I20B
2641 //
2642 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],3.536,"");
2643 sub3node->SetLineColor(kColorITS);
2644 sub3node->SetVisibility(0);
2645 sub3node->cd();
2646 //
2647 // Place copy #1 of I1D1 in I1D7
2648 //
2649 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2650 sub4node->SetLineColor(kColorITS);
2651 sub4node->SetVisibility(0);
2652 sub4node->cd();
2653 //
2654 // Place copy #1 of ITS2 in I1D1
2655 //
2656 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2657 sub5node->SetLineColor(kColorITS);
2658 fNodes->Add(sub5node);
2659 sub4node->cd();
2660 fNodes->Add(sub4node);
2661 sub3node->cd();
2662 fNodes->Add(sub3node);
2663 sub2node->cd();
2664 //
2665 // Place copy #3 of I1D7 in I20B
2666 //
2667 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-3.536,"");
2668 sub3node->SetLineColor(kColorITS);
2669 sub3node->SetVisibility(0);
2670 sub3node->cd();
2671 //
2672 // Place copy #1 of I1D1 in I1D7
2673 //
2674 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2675 sub4node->SetLineColor(kColorITS);
2676 sub4node->SetVisibility(0);
2677 sub4node->cd();
2678 //
2679 // Place copy #1 of ITS2 in I1D1
2680 //
2681 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2682 sub5node->SetLineColor(kColorITS);
2683 fNodes->Add(sub5node);
2684 sub4node->cd();
2685 fNodes->Add(sub4node);
2686 sub3node->cd();
2687 fNodes->Add(sub3node);
2688 sub2node->cd();
2689 //
2690 // Place copy #4 of I1D7 in I20B
2691 //
2692 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-10.708,"");
2693 sub3node->SetLineColor(kColorITS);
2694 sub3node->SetVisibility(0);
2695 sub3node->cd();
2696 //
2697 // Place copy #1 of I1D1 in I1D7
2698 //
2699 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2700 sub4node->SetLineColor(kColorITS);
2701 sub4node->SetVisibility(0);
2702 sub4node->cd();
2703 //
2704 // Place copy #1 of ITS2 in I1D1
2705 //
2706 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2707 sub5node->SetLineColor(kColorITS);
2708 fNodes->Add(sub5node);
2709 sub4node->cd();
2710 fNodes->Add(sub4node);
2711 sub3node->cd();
2712 fNodes->Add(sub3node);
2713 sub2node->cd();
2714 fNodes->Add(sub2node);
2715 sub1node->cd();
2716 fNodes->Add(sub1node);
2717 node->cd();
2718 //
2719 // Place copy #4 of I12B in IT12
2720 //
1266e9b4 2721 sub1node = new TNode("I12B","I12B","I12B",0.,0.,0.,"itsrot246");
1f99c14b 2722 sub1node->SetLineColor(kColorITS);
2723 sub1node->SetVisibility(0);
2724 sub1node->cd();
2725 //
2726 // Place copy #1 of I10B in I12B
2727 //
2728 deltax=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Cos(252.*TMath::Pi()/180.);
2729 deltay=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Sin(252.*TMath::Pi()/180.);
1266e9b4 2730 sub2node = new TNode("I10B","I10B","I10B",1.4531+deltax,3.8152+deltay,0.,"itsrot239");
1f99c14b 2731 sub2node->SetLineColor(kColorITS);
2732 sub2node->SetVisibility(0);
2733 sub2node->cd();
2734 //
2735 // Place copy #1 of I107 in I10B
2736 //
2737 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],10.708,"");
2738 sub3node->SetLineColor(kColorITS);
2739 sub3node->SetVisibility(0);
2740 sub3node->cd();
2741 //
2742 // Place copy #1 of I101 in I107
2743 //
2744 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
2745 sub4node->SetLineColor(kColorITS);
2746 sub4node->SetVisibility(0);
2747 sub4node->cd();
2748 //
2749 // Place copy #1 of ITS1 in I101
2750 //
2751 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
2752 sub5node->SetLineColor(kColorITS);
2753 fNodes->Add(sub5node);
2754 sub4node->cd();
2755 fNodes->Add(sub4node);
2756 sub3node->cd();
2757 fNodes->Add(sub3node);
2758 sub2node->cd();
2759 //
2760 // Place copy #2 of I107 in I10B
2761 //
2762 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],3.536,"");
2763 sub3node->SetLineColor(kColorITS);
2764 sub3node->SetVisibility(0);
2765 sub3node->cd();
2766 //
2767 // Place copy #1 of I101 in I107
2768 //
2769 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
2770 sub4node->SetLineColor(kColorITS);
2771 sub4node->SetVisibility(0);
2772 sub4node->cd();
2773 //
2774 // Place copy #1 of ITS1 in I101
2775 //
2776 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
2777 sub5node->SetLineColor(kColorITS);
2778 fNodes->Add(sub5node);
2779 sub4node->cd();
2780 fNodes->Add(sub4node);
2781 sub3node->cd();
2782 fNodes->Add(sub3node);
2783 sub2node->cd();
2784 //
2785 // Place copy #3 of I107 in I10B
2786 //
2787 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-3.536,"");
2788 sub3node->SetLineColor(kColorITS);
2789 sub3node->SetVisibility(0);
2790 sub3node->cd();
2791 //
2792 // Place copy #1 of I101 in I107
2793 //
2794 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
2795 sub4node->SetLineColor(kColorITS);
2796 sub4node->SetVisibility(0);
2797 sub4node->cd();
2798 //
2799 // Place copy #1 of ITS1 in I101
2800 //
2801 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
2802 sub5node->SetLineColor(kColorITS);
2803 fNodes->Add(sub5node);
2804 sub4node->cd();
2805 fNodes->Add(sub4node);
2806 sub3node->cd();
2807 fNodes->Add(sub3node);
2808 sub2node->cd();
2809 //
2810 // Place copy #4 of I107 in I10B
2811 //
2812 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-10.708,"");
2813 sub3node->SetLineColor(kColorITS);
2814 sub3node->SetVisibility(0);
2815 sub3node->cd();
2816 //
2817 // Place copy #1 of I101 in I107
2818 //
2819 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
2820 sub4node->SetLineColor(kColorITS);
2821 sub4node->SetVisibility(0);
2822 sub4node->cd();
2823 //
2824 // Place copy #1 of ITS1 in I101
2825 //
2826 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
2827 sub5node->SetLineColor(kColorITS);
2828 fNodes->Add(sub5node);
2829 sub4node->cd();
2830 fNodes->Add(sub4node);
2831 sub3node->cd();
2832 fNodes->Add(sub3node);
2833 sub2node->cd();
2834 fNodes->Add(sub2node);
2835 sub1node->cd();
2836 //
2837 // Place copy #2 of I10B in I12B
2838 //
2839 deltax=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Cos(270.*TMath::Pi()/180.);
2840 deltay=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Sin(270.*TMath::Pi()/180.);
1266e9b4 2841 sub2node = new TNode("I10B","I10B","I10B",0.203+deltax,3.8206+deltay,0.,"itsrot238");
1f99c14b 2842 sub2node->SetLineColor(kColorITS);
2843 sub2node->SetVisibility(0);
2844 sub2node->cd();
2845 //
2846 // Place copy #1 of I107 in I10B
2847 //
2848 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],10.708,"");
2849 sub3node->SetLineColor(kColorITS);
2850 sub3node->SetVisibility(0);
2851 sub3node->cd();
2852 //
2853 // Place copy #1 of I101 in I107
2854 //
2855 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
2856 sub4node->SetLineColor(kColorITS);
2857 sub4node->SetVisibility(0);
2858 sub4node->cd();
2859 //
2860 // Place copy #1 of ITS1 in I101
2861 //
2862 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
2863 sub5node->SetLineColor(kColorITS);
2864 fNodes->Add(sub5node);
2865 sub4node->cd();
2866 fNodes->Add(sub4node);
2867 sub3node->cd();
2868 fNodes->Add(sub3node);
2869 sub2node->cd();
2870 //
2871 // Place copy #2 of I107 in I10B
2872 //
2873 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],3.536,"");
2874 sub3node->SetLineColor(kColorITS);
2875 sub3node->SetVisibility(0);
2876 sub3node->cd();
2877 //
2878 // Place copy #1 of I101 in I107
2879 //
2880 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
2881 sub4node->SetLineColor(kColorITS);
2882 sub4node->SetVisibility(0);
2883 sub4node->cd();
2884 //
2885 // Place copy #1 of ITS1 in I101
2886 //
2887 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
2888 sub5node->SetLineColor(kColorITS);
2889 fNodes->Add(sub5node);
2890 sub4node->cd();
2891 fNodes->Add(sub4node);
2892 sub3node->cd();
2893 fNodes->Add(sub3node);
2894 sub2node->cd();
2895 //
2896 // Place copy #3 of I107 in I10B
2897 //
2898 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-3.536,"");
2899 sub3node->SetLineColor(kColorITS);
2900 sub3node->SetVisibility(0);
2901 sub3node->cd();
2902 //
2903 // Place copy #1 of I101 in I107
2904 //
2905 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
2906 sub4node->SetLineColor(kColorITS);
2907 sub4node->SetVisibility(0);
2908 sub4node->cd();
2909 //
2910 // Place copy #1 of ITS1 in I101
2911 //
2912 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
2913 sub5node->SetLineColor(kColorITS);
2914 fNodes->Add(sub5node);
2915 sub4node->cd();
2916 fNodes->Add(sub4node);
2917 sub3node->cd();
2918 fNodes->Add(sub3node);
2919 sub2node->cd();
2920 //
2921 // Place copy #4 of I107 in I10B
2922 //
2923 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-10.708,"");
2924 sub3node->SetLineColor(kColorITS);
2925 sub3node->SetVisibility(0);
2926 sub3node->cd();
2927 //
2928 // Place copy #1 of I101 in I107
2929 //
2930 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
2931 sub4node->SetLineColor(kColorITS);
2932 sub4node->SetVisibility(0);
2933 sub4node->cd();
2934 //
2935 // Place copy #1 of ITS1 in I101
2936 //
2937 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
2938 sub5node->SetLineColor(kColorITS);
2939 fNodes->Add(sub5node);
2940 sub4node->cd();
2941 fNodes->Add(sub4node);
2942 sub3node->cd();
2943 fNodes->Add(sub3node);
2944 sub2node->cd();
2945 fNodes->Add(sub2node);
2946 sub1node->cd();
2947 //
2948 // Place copy #1 of I20B in I12B
2949 //
2950 deltax=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Cos(40.*TMath::Pi()/180.);
2951 deltay=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Sin(40.*TMath::Pi()/180.);
1266e9b4 2952 sub2node = new TNode("I20B","I20B","I20B",3.0174+deltax,6.5143+deltay,0.,"itsrot240");
1f99c14b 2953 sub2node->SetLineColor(kColorITS);
2954 sub2node->SetVisibility(0);
2955 sub2node->cd();
2956 //
2957 // Place copy #1 of I1D7 in I20B
2958 //
2959 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],10.708,"");
2960 sub3node->SetLineColor(kColorITS);
2961 sub3node->SetVisibility(0);
2962 sub3node->cd();
2963 //
2964 // Place copy #1 of I1D1 in I1D7
2965 //
2966 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2967 sub4node->SetLineColor(kColorITS);
2968 sub4node->SetVisibility(0);
2969 sub4node->cd();
2970 //
2971 // Place copy #1 of ITS2 in I1D1
2972 //
2973 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2974 sub5node->SetLineColor(kColorITS);
2975 fNodes->Add(sub5node);
2976 sub4node->cd();
2977 fNodes->Add(sub4node);
2978 sub3node->cd();
2979 fNodes->Add(sub3node);
2980 sub2node->cd();
2981 //
2982 // Place copy #2 of I1D7 in I20B
2983 //
2984 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],3.536,"");
2985 sub3node->SetLineColor(kColorITS);
2986 sub3node->SetVisibility(0);
2987 sub3node->cd();
2988 //
2989 // Place copy #1 of I1D1 in I1D7
2990 //
2991 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
2992 sub4node->SetLineColor(kColorITS);
2993 sub4node->SetVisibility(0);
2994 sub4node->cd();
2995 //
2996 // Place copy #1 of ITS2 in I1D1
2997 //
2998 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
2999 sub5node->SetLineColor(kColorITS);
3000 fNodes->Add(sub5node);
3001 sub4node->cd();
3002 fNodes->Add(sub4node);
3003 sub3node->cd();
3004 fNodes->Add(sub3node);
3005 sub2node->cd();
3006 //
3007 // Place copy #3 of I1D7 in I20B
3008 //
3009 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-3.536,"");
3010 sub3node->SetLineColor(kColorITS);
3011 sub3node->SetVisibility(0);
3012 sub3node->cd();
3013 //
3014 // Place copy #1 of I1D1 in I1D7
3015 //
3016 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
3017 sub4node->SetLineColor(kColorITS);
3018 sub4node->SetVisibility(0);
3019 sub4node->cd();
3020 //
3021 // Place copy #1 of ITS2 in I1D1
3022 //
3023 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
3024 sub5node->SetLineColor(kColorITS);
3025 fNodes->Add(sub5node);
3026 sub4node->cd();
3027 fNodes->Add(sub4node);
3028 sub3node->cd();
3029 fNodes->Add(sub3node);
3030 sub2node->cd();
3031 //
3032 // Place copy #4 of I1D7 in I20B
3033 //
3034 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-10.708,"");
3035 sub3node->SetLineColor(kColorITS);
3036 sub3node->SetVisibility(0);
3037 sub3node->cd();
3038 //
3039 // Place copy #1 of I1D1 in I1D7
3040 //
3041 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
3042 sub4node->SetLineColor(kColorITS);
3043 sub4node->SetVisibility(0);
3044 sub4node->cd();
3045 //
3046 // Place copy #1 of ITS2 in I1D1
3047 //
3048 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
3049 sub5node->SetLineColor(kColorITS);
3050 fNodes->Add(sub5node);
3051 sub4node->cd();
3052 fNodes->Add(sub4node);
3053 sub3node->cd();
3054 fNodes->Add(sub3node);
3055 sub2node->cd();
3056 fNodes->Add(sub2node);
3057 sub1node->cd();
3058 //
3059 // Place copy #2 of I20B in I12B
3060 //
3061 deltax=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Cos(49.*TMath::Pi()/180.);
3062 deltay=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Sin(49.*TMath::Pi()/180.);
1266e9b4 3063 sub2node = new TNode("I20B","I20B","I20B",1.9612+deltax,6.9062+deltay,0.,"itsrot241");
1f99c14b 3064 sub2node->SetLineColor(kColorITS);
3065 sub2node->SetVisibility(0);
3066 sub2node->cd();
3067 //
3068 // Place copy #1 of I1D7 in I20B
3069 //
3070 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],10.708,"");
3071 sub3node->SetLineColor(kColorITS);
3072 sub3node->SetVisibility(0);
3073 sub3node->cd();
3074 //
3075 // Place copy #1 of I1D1 in I1D7
3076 //
3077 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
3078 sub4node->SetLineColor(kColorITS);
3079 sub4node->SetVisibility(0);
3080 sub4node->cd();
3081 //
3082 // Place copy #1 of ITS2 in I1D1
3083 //
3084 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
3085 sub5node->SetLineColor(kColorITS);
3086 fNodes->Add(sub5node);
3087 sub4node->cd();
3088 fNodes->Add(sub4node);
3089 sub3node->cd();
3090 fNodes->Add(sub3node);
3091 sub2node->cd();
3092 //
3093 // Place copy #2 of I1D7 in I20B
3094 //
3095 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],3.536,"");
3096 sub3node->SetLineColor(kColorITS);
3097 sub3node->SetVisibility(0);
3098 sub3node->cd();
3099 //
3100 // Place copy #1 of I1D1 in I1D7
3101 //
3102 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
3103 sub4node->SetLineColor(kColorITS);
3104 sub4node->SetVisibility(0);
3105 sub4node->cd();
3106 //
3107 // Place copy #1 of ITS2 in I1D1
3108 //
3109 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
3110 sub5node->SetLineColor(kColorITS);
3111 fNodes->Add(sub5node);
3112 sub4node->cd();
3113 fNodes->Add(sub4node);
3114 sub3node->cd();
3115 fNodes->Add(sub3node);
3116 sub2node->cd();
3117 //
3118 // Place copy #3 of I1D7 in I20B
3119 //
3120 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-3.536,"");
3121 sub3node->SetLineColor(kColorITS);
3122 sub3node->SetVisibility(0);
3123 sub3node->cd();
3124 //
3125 // Place copy #1 of I1D1 in I1D7
3126 //
3127 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
3128 sub4node->SetLineColor(kColorITS);
3129 sub4node->SetVisibility(0);
3130 sub4node->cd();
3131 //
3132 // Place copy #1 of ITS2 in I1D1
3133 //
3134 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
3135 sub5node->SetLineColor(kColorITS);
3136 fNodes->Add(sub5node);
3137 sub4node->cd();
3138 fNodes->Add(sub4node);
3139 sub3node->cd();
3140 fNodes->Add(sub3node);
3141 sub2node->cd();
3142 //
3143 // Place copy #4 of I1D7 in I20B
3144 //
3145 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-10.708,"");
3146 sub3node->SetLineColor(kColorITS);
3147 sub3node->SetVisibility(0);
3148 sub3node->cd();
3149 //
3150 // Place copy #1 of I1D1 in I1D7
3151 //
3152 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
3153 sub4node->SetLineColor(kColorITS);
3154 sub4node->SetVisibility(0);
3155 sub4node->cd();
3156 //
3157 // Place copy #1 of ITS2 in I1D1
3158 //
3159 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
3160 sub5node->SetLineColor(kColorITS);
3161 fNodes->Add(sub5node);
3162 sub4node->cd();
3163 fNodes->Add(sub4node);
3164 sub3node->cd();
3165 fNodes->Add(sub3node);
3166 sub2node->cd();
3167 fNodes->Add(sub2node);
3168 sub1node->cd();
3169 //
3170 // Place copy #3 of I20B in I12B
3171 //
3172 deltax=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Cos(58.*TMath::Pi()/180.);
3173 deltay=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Sin(58.*TMath::Pi()/180.);
1266e9b4 3174 sub2node = new TNode("I20B","I20B","I20B",0.8567+deltax,7.1279+deltay,0.,"itsrot242");
1f99c14b 3175 sub2node->SetLineColor(kColorITS);
3176 sub2node->SetVisibility(0);
3177 sub2node->cd();
3178 //
3179 // Place copy #1 of I1D7 in I20B
3180 //
3181 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],10.708,"");
3182 sub3node->SetLineColor(kColorITS);
3183 sub3node->SetVisibility(0);
3184 sub3node->cd();
3185 //
3186 // Place copy #1 of I1D1 in I1D7
3187 //
3188 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
3189 sub4node->SetLineColor(kColorITS);
3190 sub4node->SetVisibility(0);
3191 sub4node->cd();
3192 //
3193 // Place copy #1 of ITS2 in I1D1
3194 //
3195 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
3196 sub5node->SetLineColor(kColorITS);
3197 fNodes->Add(sub5node);
3198 sub4node->cd();
3199 fNodes->Add(sub4node);
3200 sub3node->cd();
3201 fNodes->Add(sub3node);
3202 sub2node->cd();
3203 //
3204 // Place copy #2 of I1D7 in I20B
3205 //
3206 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],3.536,"");
3207 sub3node->SetLineColor(kColorITS);
3208 sub3node->SetVisibility(0);
3209 sub3node->cd();
3210 //
3211 // Place copy #1 of I1D1 in I1D7
3212 //
3213 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
3214 sub4node->SetLineColor(kColorITS);
3215 sub4node->SetVisibility(0);
3216 sub4node->cd();
3217 //
3218 // Place copy #1 of ITS2 in I1D1
3219 //
3220 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
3221 sub5node->SetLineColor(kColorITS);
3222 fNodes->Add(sub5node);
3223 sub4node->cd();
3224 fNodes->Add(sub4node);
3225 sub3node->cd();
3226 fNodes->Add(sub3node);
3227 sub2node->cd();
3228 //
3229 // Place copy #3 of I1D7 in I20B
3230 //
3231 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-3.536,"");
3232 sub3node->SetLineColor(kColorITS);
3233 sub3node->SetVisibility(0);
3234 sub3node->cd();
3235 //
3236 // Place copy #1 of I1D1 in I1D7
3237 //
3238 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
3239 sub4node->SetLineColor(kColorITS);
3240 sub4node->SetVisibility(0);
3241 sub4node->cd();
3242 //
3243 // Place copy #1 of ITS2 in I1D1
3244 //
3245 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
3246 sub5node->SetLineColor(kColorITS);
3247 fNodes->Add(sub5node);
3248 sub4node->cd();
3249 fNodes->Add(sub4node);
3250 sub3node->cd();
3251 fNodes->Add(sub3node);
3252 sub2node->cd();
3253 //
3254 // Place copy #4 of I1D7 in I20B
3255 //
3256 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-10.708,"");
3257 sub3node->SetLineColor(kColorITS);
3258 sub3node->SetVisibility(0);
3259 sub3node->cd();
3260 //
3261 // Place copy #1 of I1D1 in I1D7
3262 //
3263 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
3264 sub4node->SetLineColor(kColorITS);
3265 sub4node->SetVisibility(0);
3266 sub4node->cd();
3267 //
3268 // Place copy #1 of ITS2 in I1D1
3269 //
3270 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
3271 sub5node->SetLineColor(kColorITS);
3272 fNodes->Add(sub5node);
3273 sub4node->cd();
3274 fNodes->Add(sub4node);
3275 sub3node->cd();
3276 fNodes->Add(sub3node);
3277 sub2node->cd();
3278 fNodes->Add(sub2node);
3279 sub1node->cd();
3280 //
3281 // Place copy #4 of I20B in I12B
3282 //
3283 deltax=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Cos(67.*TMath::Pi()/180.);
3284 deltay=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Sin(67.*TMath::Pi()/180.);
1266e9b4 3285 sub2node = new TNode("I20B","I20B","I20B",-0.2689+deltax,7.1742+deltay,0.,"itsrot243");
1f99c14b 3286 sub2node->SetLineColor(kColorITS);
3287 sub2node->SetVisibility(0);
3288 sub2node->cd();
3289 //
3290 // Place copy #1 of I1D7 in I20B
3291 //
3292 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],10.708,"");
3293 sub3node->SetLineColor(kColorITS);
3294 sub3node->SetVisibility(0);
3295 sub3node->cd();
3296 //
3297 // Place copy #1 of I1D1 in I1D7
3298 //
3299 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
3300 sub4node->SetLineColor(kColorITS);
3301 sub4node->SetVisibility(0);
3302 sub4node->cd();
3303 //
3304 // Place copy #1 of ITS2 in I1D1
3305 //
3306 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
3307 sub5node->SetLineColor(kColorITS);
3308 fNodes->Add(sub5node);
3309 sub4node->cd();
3310 fNodes->Add(sub4node);
3311 sub3node->cd();
3312 fNodes->Add(sub3node);
3313 sub2node->cd();
3314 //
3315 // Place copy #2 of I1D7 in I20B
3316 //
3317 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],3.536,"");
3318 sub3node->SetLineColor(kColorITS);
3319 sub3node->SetVisibility(0);
3320 sub3node->cd();
3321 //
3322 // Place copy #1 of I1D1 in I1D7
3323 //
3324 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
3325 sub4node->SetLineColor(kColorITS);
3326 sub4node->SetVisibility(0);
3327 sub4node->cd();
3328 //
3329 // Place copy #1 of ITS2 in I1D1
3330 //
3331 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
3332 sub5node->SetLineColor(kColorITS);
3333 fNodes->Add(sub5node);
3334 sub4node->cd();
3335 fNodes->Add(sub4node);
3336 sub3node->cd();
3337 fNodes->Add(sub3node);
3338 sub2node->cd();
3339 //
3340 // Place copy #3 of I1D7 in I20B
3341 //
3342 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-3.536,"");
3343 sub3node->SetLineColor(kColorITS);
3344 sub3node->SetVisibility(0);
3345 sub3node->cd();
3346 //
3347 // Place copy #1 of I1D1 in I1D7
3348 //
3349 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
3350 sub4node->SetLineColor(kColorITS);
3351 sub4node->SetVisibility(0);
3352 sub4node->cd();
3353 //
3354 // Place copy #1 of ITS2 in I1D1
3355 //
3356 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
3357 sub5node->SetLineColor(kColorITS);
3358 fNodes->Add(sub5node);
3359 sub4node->cd();
3360 fNodes->Add(sub4node);
3361 sub3node->cd();
3362 fNodes->Add(sub3node);
3363 sub2node->cd();
3364 //
3365 // Place copy #4 of I1D7 in I20B
3366 //
3367 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-10.708,"");
3368 sub3node->SetLineColor(kColorITS);
3369 sub3node->SetVisibility(0);
3370 sub3node->cd();
3371 //
3372 // Place copy #1 of I1D1 in I1D7
3373 //
3374 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
3375 sub4node->SetLineColor(kColorITS);
3376 sub4node->SetVisibility(0);
3377 sub4node->cd();
3378 //
3379 // Place copy #1 of ITS2 in I1D1
3380 //
3381 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
3382 sub5node->SetLineColor(kColorITS);
3383 fNodes->Add(sub5node);
3384 sub4node->cd();
3385 fNodes->Add(sub4node);
3386 sub3node->cd();
3387 fNodes->Add(sub3node);
3388 sub2node->cd();
3389 fNodes->Add(sub2node);
3390 sub1node->cd();
3391 fNodes->Add(sub1node);
3392 node->cd();
3393 //
3394 // Place copy #5 of I12B in IT12
3395 //
1266e9b4 3396 sub1node = new TNode("I12B","I12B","I12B",0.,0.,0.,"itsrot247");
1f99c14b 3397 sub1node->SetLineColor(kColorITS);
3398 sub1node->SetVisibility(0);
3399 sub1node->cd();
3400 //
3401 // Place copy #1 of I10B in I12B
3402 //
3403 deltax=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Cos(252.*TMath::Pi()/180.);
3404 deltay=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Sin(252.*TMath::Pi()/180.);
1266e9b4 3405 sub2node = new TNode("I10B","I10B","I10B",1.4531+deltax,3.8152+deltay,0.,"itsrot239");
1f99c14b 3406 sub2node->SetLineColor(kColorITS);
3407 sub2node->SetVisibility(0);
3408 sub2node->cd();
3409 //
3410 // Place copy #1 of I107 in I10B
3411 //
3412 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],10.708,"");
3413 sub3node->SetLineColor(kColorITS);
3414 sub3node->SetVisibility(0);
3415 sub3node->cd();
3416 //
3417 // Place copy #1 of I101 in I107
3418 //
3419 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
3420 sub4node->SetLineColor(kColorITS);
3421 sub4node->SetVisibility(0);
3422 sub4node->cd();
3423 //
3424 // Place copy #1 of ITS1 in I101
3425 //
3426 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
3427 sub5node->SetLineColor(kColorITS);
3428 fNodes->Add(sub5node);
3429 sub4node->cd();
3430 fNodes->Add(sub4node);
3431 sub3node->cd();
3432 fNodes->Add(sub3node);
3433 sub2node->cd();
3434 //
3435 // Place copy #2 of I107 in I10B
3436 //
3437 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],3.536,"");
3438 sub3node->SetLineColor(kColorITS);
3439 sub3node->SetVisibility(0);
3440 sub3node->cd();
3441 //
3442 // Place copy #1 of I101 in I107
3443 //
3444 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
3445 sub4node->SetLineColor(kColorITS);
3446 sub4node->SetVisibility(0);
3447 sub4node->cd();
3448 //
3449 // Place copy #1 of ITS1 in I101
3450 //
3451 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
3452 sub5node->SetLineColor(kColorITS);
3453 fNodes->Add(sub5node);
3454 sub4node->cd();
3455 fNodes->Add(sub4node);
3456 sub3node->cd();
3457 fNodes->Add(sub3node);
3458 sub2node->cd();
3459 //
3460 // Place copy #3 of I107 in I10B
3461 //
3462 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-3.536,"");
3463 sub3node->SetLineColor(kColorITS);
3464 sub3node->SetVisibility(0);
3465 sub3node->cd();
3466 //
3467 // Place copy #1 of I101 in I107
3468 //
3469 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
3470 sub4node->SetLineColor(kColorITS);
3471 sub4node->SetVisibility(0);
3472 sub4node->cd();
3473 //
3474 // Place copy #1 of ITS1 in I101
3475 //
3476 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
3477 sub5node->SetLineColor(kColorITS);
3478 fNodes->Add(sub5node);
3479 sub4node->cd();
3480 fNodes->Add(sub4node);
3481 sub3node->cd();
3482 fNodes->Add(sub3node);
3483 sub2node->cd();
3484 //
3485 // Place copy #4 of I107 in I10B
3486 //
3487 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-10.708,"");
3488 sub3node->SetLineColor(kColorITS);
3489 sub3node->SetVisibility(0);
3490 sub3node->cd();
3491 //
3492 // Place copy #1 of I101 in I107
3493 //
3494 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
3495 sub4node->SetLineColor(kColorITS);
3496 sub4node->SetVisibility(0);
3497 sub4node->cd();
3498 //
3499 // Place copy #1 of ITS1 in I101
3500 //
3501 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
3502 sub5node->SetLineColor(kColorITS);
3503 fNodes->Add(sub5node);
3504 sub4node->cd();
3505 fNodes->Add(sub4node);
3506 sub3node->cd();
3507 fNodes->Add(sub3node);
3508 sub2node->cd();
3509 fNodes->Add(sub2node);
3510 sub1node->cd();
3511 //
3512 // Place copy #2 of I10B in I12B
3513 //
3514 deltax=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Cos(270.*TMath::Pi()/180.);
3515 deltay=((ddet1-0.01/2.)+(dchip1-0.015/2.))*TMath::Sin(270.*TMath::Pi()/180.);
1266e9b4 3516 sub2node = new TNode("I10B","I10B","I10B",0.203+deltax,3.8206+deltay,0.,"itsrot238");
1f99c14b 3517 sub2node->SetLineColor(kColorITS);
3518 sub2node->SetVisibility(0);
3519 sub2node->cd();
3520 //
3521 // Place copy #1 of I107 in I10B
3522 //
3523 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],10.708,"");
3524 sub3node->SetLineColor(kColorITS);
3525 sub3node->SetVisibility(0);
3526 sub3node->cd();
3527 //
3528 // Place copy #1 of I101 in I107
3529 //
3530 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
3531 sub4node->SetLineColor(kColorITS);
3532 sub4node->SetVisibility(0);
3533 sub4node->cd();
3534 //
3535 // Place copy #1 of ITS1 in I101
3536 //
3537 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
3538 sub5node->SetLineColor(kColorITS);
3539 fNodes->Add(sub5node);
3540 sub4node->cd();
3541 fNodes->Add(sub4node);
3542 sub3node->cd();
3543 fNodes->Add(sub3node);
3544 sub2node->cd();
3545 //
3546 // Place copy #2 of I107 in I10B
3547 //
3548 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],3.536,"");
3549 sub3node->SetLineColor(kColorITS);
3550 sub3node->SetVisibility(0);
3551 sub3node->cd();
3552 //
3553 // Place copy #1 of I101 in I107
3554 //
3555 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
3556 sub4node->SetLineColor(kColorITS);
3557 sub4node->SetVisibility(0);
3558 sub4node->cd();
3559 //
3560 // Place copy #1 of ITS1 in I101
3561 //
3562 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
3563 sub5node->SetLineColor(kColorITS);
3564 fNodes->Add(sub5node);
3565 sub4node->cd();
3566 fNodes->Add(sub4node);
3567 sub3node->cd();
3568 fNodes->Add(sub3node);
3569 sub2node->cd();
3570 //
3571 // Place copy #3 of I107 in I10B
3572 //
3573 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-3.536,"");
3574 sub3node->SetLineColor(kColorITS);
3575 sub3node->SetVisibility(0);
3576 sub3node->cd();
3577 //
3578 // Place copy #1 of I101 in I107
3579 //
3580 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
3581 sub4node->SetLineColor(kColorITS);
3582 sub4node->SetVisibility(0);
3583 sub4node->cd();
3584 //
3585 // Place copy #1 of ITS1 in I101
3586 //
3587 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
3588 sub5node->SetLineColor(kColorITS);
3589 fNodes->Add(sub5node);
3590 sub4node->cd();
3591 fNodes->Add(sub4node);
3592 sub3node->cd();
3593 fNodes->Add(sub3node);
3594 sub2node->cd();
3595 //
3596 // Place copy #4 of I107 in I10B
3597 //
3598 sub3node = new TNode("I107","I107","I107",-0.0455,-di10b[1]+di107[1],-10.708,"");
3599 sub3node->SetLineColor(kColorITS);
3600 sub3node->SetVisibility(0);
3601 sub3node->cd();
3602 //
3603 // Place copy #1 of I101 in I107
3604 //
3605 sub4node = new TNode("I101","I101","I101",0.,ddet1,0.,"");
3606 sub4node->SetLineColor(kColorITS);
3607 sub4node->SetVisibility(0);
3608 sub4node->cd();
3609 //
3610 // Place copy #1 of ITS1 in I101
3611 //
3612 sub5node = new TNode("ITS1","ITS1","ITS1",0.,0.,0.,"");
3613 sub5node->SetLineColor(kColorITS);
3614 fNodes->Add(sub5node);
3615 sub4node->cd();
3616 fNodes->Add(sub4node);
3617 sub3node->cd();
3618 fNodes->Add(sub3node);
3619 sub2node->cd();
3620 fNodes->Add(sub2node);
3621 sub1node->cd();
3622 //
3623 // Place copy #1 of I20B in I12B
3624 //
3625 deltax=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Cos(40.*TMath::Pi()/180.);
3626 deltay=((ddet2-0.01/2.)+(dchip2-0.015/2.))*TMath::Sin(40.*TMath::Pi()/180.);
1266e9b4 3627 sub2node = new TNode("I20B","I20B","I20B",3.0174+deltax,6.5143+deltay,0.,"itsrot240");
1f99c14b 3628 sub2node->SetLineColor(kColorITS);
3629 sub2node->SetVisibility(0);
3630 sub2node->cd();
3631 //
3632 // Place copy #1 of I1D7 in I20B
3633 //
3634 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],10.708,"");
3635 sub3node->SetLineColor(kColorITS);
3636 sub3node->SetVisibility(0);
3637 sub3node->cd();
3638 //
3639 // Place copy #1 of I1D1 in I1D7
3640 //
3641 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
3642 sub4node->SetLineColor(kColorITS);
3643 sub4node->SetVisibility(0);
3644 sub4node->cd();
3645 //
3646 // Place copy #1 of ITS2 in I1D1
3647 //
3648 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
3649 sub5node->SetLineColor(kColorITS);
3650 fNodes->Add(sub5node);
3651 sub4node->cd();
3652 fNodes->Add(sub4node);
3653 sub3node->cd();
3654 fNodes->Add(sub3node);
3655 sub2node->cd();
3656 //
3657 // Place copy #2 of I1D7 in I20B
3658 //
3659 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],3.536,"");
3660 sub3node->SetLineColor(kColorITS);
3661 sub3node->SetVisibility(0);
3662 sub3node->cd();
3663 //
3664 // Place copy #1 of I1D1 in I1D7
3665 //
3666 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
3667 sub4node->SetLineColor(kColorITS);
3668 sub4node->SetVisibility(0);
3669 sub4node->cd();
3670 //
3671 // Place copy #1 of ITS2 in I1D1
3672 //
3673 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
3674 sub5node->SetLineColor(kColorITS);
3675 fNodes->Add(sub5node);
3676 sub4node->cd();
3677 fNodes->Add(sub4node);
3678 sub3node->cd();
3679 fNodes->Add(sub3node);
3680 sub2node->cd();
3681 //
3682 // Place copy #3 of I1D7 in I20B
3683 //
3684 sub3node = new TNode("I1D7","I1D7","I1D7",-0.0455,-di20b[1]+di1d7[1],-3.536,"");
3685 sub3node->SetLineColor(kColorITS);
3686 sub3node->SetVisibility(0);
3687 sub3node->cd();
3688 //
3689 // Place copy #1 of I1D1 in I1D7
3690 //
3691 sub4node = new TNode("I1D1","I1D1","I1D1",0.,ddet2,0.,"");
3692 sub4node->SetLineColor(kColorITS);
3693 sub4node->SetVisibility(0);
3694 sub4node->cd();
3695 //
3696 // Place copy #1 of ITS2 in I1D1
3697 //
3698 sub5node = new TNode("ITS2","ITS2","ITS2",0.,0.,0.,"");
3699 sub5node->SetLineColor(kColorITS);
3700 fNodes->Add(sub5node);
3701 sub4node->cd();
3702 fNodes->Add(sub4node);
3703 sub3node->cd();
3704 fNodes->Add(sub3node);
3705 sub2node->cd();