Project

General

Profile

Feature #1543 » Step_3pi2_alt_4.dat

Hunt, Christopher, 20 November 2014 17:40

 
1

    
2
Module StepPi
3
{
4
  PropertyString Material Galactic
5
  PropertyHep3Vector Dimensions 1000.0 1000.0 20000.0 mm 
6

    
7
  Substitution $FieldMapMode   Write
8
  Substitution $SolenoidOffset (600.0)
9
  Substitution $CellLength     (2180.0)
10
  Substitution $UpFCCurrent    (39.7)
11
  Substitution $DownFCCurrent  (38.61)
12
  Substitution $Pol1           (+1)
13
  Substitution $Pol2           (+1)
14
  Substitution $Pol3           (-1)
15
  Substitution $Pol4           (-1)
16

    
17
  Substitution $FCLength 844.
18
  Substitution $FCRadius 235.5
19

    
20
  Substitution $M1Current      (117.25)
21
  Substitution $M2Current      (134.76)
22
  Substitution $DownM1Current  (114.24)
23
  Substitution $DownM2Current  (131.28)
24

    
25
  Substitution $SSLength (2923.) // this is not quite right
26
  Substitution $SSRadius (200.5)
27

    
28
  Substitution $RF_Gradient (10.3)
29
  Substitution $AbsorberLength (65.0)
30

    
31
  Module SSAperture
32
  {
33
    Volume Tube
34
    // upstream edge of SS is 124 mm upstream from centre of End2
35
    // centre of tube is upstream edge + $SSLength/2.
36
    Position 0. 0. -1*(+124.+3200+$SolenoidOffset+$CellLength/2.-$SSLength/2.) mm
37
    Dimensions $SSRadius 500. $SSLength mm
38
    PropertyString Material STEEL304
39
    PropertyDouble BlueColour 1.
40
  }
41

    
42
  Module Tracker0
43
  {
44
    Position 0.0 0.0 -1*(+124.+3200+$SolenoidOffset+$CellLength/2.-$SSLength/2.)-575.5 mm
45
    Rotation 0.0 180.0 0.0 degree
46
    Volume Cylinder
47
    Dimensions 20.0 113.0 cm
48
    PropertyInt Tracker 0
49
    PropertyBool Invisible 1
50
    PropertyString Material He
51

    
52
    Module TrackerStation1
53
    {
54
      Position 0.0 0.0 -54.98789 cm
55
      Rotation 0.0 0.0 0.0 degree
56
      Volume Cylinder
57
      Dimensions 19.0 0.20 cm
58
      PropertyDouble GreenColour 1.0
59
      PropertyDouble RedColour 1.0
60
      PropertyInt Station 1
61
      PropertyString Material POLYSTYRENE
62
      PropertyDouble OpticsMaterialLength 0 mm
63
      Module TrackerViewV
64
      {
65
        Position 0.0 0.0 -0.6398 mm
66
        Rotation 0.0 0.0 -120.0 degree
67
        Volume Cylinder
68
        Dimensions 18.9 0.06273 cm
69
        PropertyString Material POLYSTYRENE
70
        PropertyString SensitiveDetector SciFi
71
        PropertyInt Plane 0
72
        PropertyDouble ActiveRadius 160. mm
73
        PropertyDouble Pitch 0.427 mm
74
        PropertyDouble FibreDiameter 0.350 mm
75
        PropertyDouble CoreDiameter 0.308 mm
76
        PropertyDouble CentralFibre 106.5
77
        PropertyBool Invisible 1
78
        PropertyString G4Detector SciFiPlane
79
        PropertyDouble G4StepMax .1 mm
80
        Module Virtual
81
        {
82
          Volume None
83
          Position 0.0 0.0 0.0 m
84
          Rotation 0.0 0.0 0.0 degree
85
          PropertyString SensitiveDetector Virtual
86
          PropertyString IndependentVariable z
87
        }
88
      }
89
      Module TrackerViewW
90
      {
91
        Position 0.0 0.0 0.00125 cm
92
        Rotation 0.0 0.0 120.0 degree
93
        Volume Cylinder
94
        Dimensions 18.9 0.06273 cm
95
        PropertyString Material POLYSTYRENE
96
        PropertyString SensitiveDetector SciFi
97
        PropertyInt Plane 1
98
        PropertyDouble ActiveRadius 160. mm
99
        PropertyDouble Pitch 0.427 mm
100
        PropertyDouble FibreDiameter 0.350 mm
101
        PropertyDouble CoreDiameter 0.308 mm
102
        PropertyDouble CentralFibre 106.5
103
        PropertyBool Invisible 1
104
        PropertyString G4Detector SciFiPlane
105
        PropertyDouble G4StepMax .1 mm
106
        Module Virtual
107
        {
108
          Volume None
109
          Position 0.0 0.0 0.0 m
110
          Rotation 0.0 0.0 0.0 degree
111
          PropertyString SensitiveDetector Virtual
112
          PropertyString IndependentVariable z
113
        }
114
      }
115
      Module TrackerViewX
116
      {
117
        Position 0.0 0.0 0.6648 mm
118
        Rotation 0.0 0.0 0.0 degree
119
        Volume Cylinder
120
        Dimensions 18.9 0.06273 cm
121
        PropertyString Material POLYSTYRENE
122
        PropertyString SensitiveDetector SciFi
123
        PropertyInt Plane 2
124
        PropertyDouble ActiveRadius 158.5 mm
125
        PropertyDouble Pitch 0.427 mm
126
        PropertyDouble FibreDiameter 0.350 mm
127
        PropertyDouble CoreDiameter 0.308 mm
128
        PropertyDouble CentralFibre 105.5
129
        PropertyBool Invisible 1
130
        PropertyString G4Detector SciFiPlane
131
        PropertyDouble G4StepMax .1 mm
132
        Module Virtual
133
        {
134
          Volume None
135
          Position 0.0 0.0 0.0 m
136
          Rotation 0.0 0.0 0.0 degree
137
          PropertyString SensitiveDetector Virtual
138
          PropertyString IndependentVariable z
139
        }
140
      }
141
      Module TrackerMylar
142
      {
143
        Position 0.0 0.0 0.096595 cm
144
        Rotation 0.0 0.0 0.0 degree
145
        Volume Cylinder
146
        Dimensions 18.9 0.0025 cm
147
        PropertyString Material MYLAR
148
        PropertyDouble RedColour 1.0
149
      }
150
      Module TrackerMylar
151
      {
152
        Position 0.0 0.0 0.031365 cm
153
        Rotation 0.0 0.0 0.0 degree
154
        Volume Cylinder
155
        Dimensions 18.9 0.0025 cm
156
        PropertyString Material MYLAR
157
        PropertyDouble RedColour 1.0
158
      }
159
      Module TrackerMylar
160
      {
161
        Position 0.0 0.0 -0.033865 cm
162
        Rotation 0.0 0.0 0.0 degree
163
        Volume Cylinder
164
        Dimensions 18.9 0.0025 cm
165
        PropertyString Material MYLAR
166
        PropertyDouble RedColour 1.0
167
      }
168
    }
169
    Module TrackerStation2
170
    {
171
      Position 0.0 0.0 -349.9143 mm
172
      Rotation 0.0 0.0 0.0 degree
173
      Volume Cylinder
174
      Dimensions 19.0 0.20 cm
175
      PropertyDouble GreenColour 1.0
176
      PropertyDouble RedColour 1.0
177
      PropertyInt Station 2
178
      PropertyString Material POLYSTYRENE
179
      PropertyDouble OpticsMaterialLength 0 mm
180
      Module TrackerViewV
181
      {
182
        Position 0.0 0.0 -0.6398 mm
183
        Rotation 0.0 0.0 -120.0 degree
184
        Volume Cylinder
185
        Dimensions 18.9 0.06273 cm
186
        PropertyString Material POLYSTYRENE
187
        PropertyString SensitiveDetector SciFi
188
        PropertyInt Plane 0
189
        PropertyDouble ActiveRadius 160. mm
190
        PropertyDouble Pitch 0.427 mm
191
        PropertyDouble FibreDiameter 0.350 mm
192
        PropertyDouble CoreDiameter 0.308 mm
193
        PropertyDouble CentralFibre 106.5
194
        PropertyBool Invisible 1
195
        PropertyString G4Detector SciFiPlane
196
        PropertyDouble G4StepMax .1 mm
197
        Module Virtual
198
        {
199
          Volume None
200
          Position 0.0 0.0 0.0 m
201
          Rotation 0.0 0.0 0.0 degree
202
          PropertyString SensitiveDetector Virtual
203
          PropertyString IndependentVariable z
204
        }
205
      }
206
      Module TrackerViewW
207
      {
208
        Position 0.0 0.0 0.00125 cm
209
        Rotation 0.0 0.0 120.0 degree
210
        Volume Cylinder
211
        Dimensions 18.9 0.06273 cm
212
        PropertyString Material POLYSTYRENE
213
        PropertyString SensitiveDetector SciFi
214
        PropertyInt Plane 1
215
        PropertyDouble ActiveRadius 160. mm
216
        PropertyDouble Pitch 0.427 mm
217
        PropertyDouble FibreDiameter 0.350 mm
218
        PropertyDouble CoreDiameter 0.308 mm
219
        PropertyDouble CentralFibre 106.5
220
        PropertyBool Invisible 1
221
        PropertyString G4Detector SciFiPlane
222
        PropertyDouble G4StepMax .1 mm
223
        Module Virtual
224
        {
225
          Volume None
226
          Position 0.0 0.0 0.0 m
227
          Rotation 0.0 0.0 0.0 degree
228
          PropertyString SensitiveDetector Virtual
229
          PropertyString IndependentVariable z
230
        }
231
      }
232
      Module TrackerViewX
233
      {
234
        Position 0.0 0.0 0.6648 mm
235
        Rotation 0.0 0.0 0.0 degree
236
        Volume Cylinder
237
        Dimensions 18.9 0.06273 cm
238
        PropertyString Material POLYSTYRENE
239
        PropertyString SensitiveDetector SciFi
240
        PropertyInt Plane 2
241
        PropertyDouble ActiveRadius 158.5 mm
242
        PropertyDouble Pitch 0.427 mm
243
        PropertyDouble FibreDiameter 0.350 mm
244
        PropertyDouble CoreDiameter 0.308 mm
245
        PropertyDouble CentralFibre 105.5
246
        PropertyBool Invisible 1
247
        PropertyString G4Detector SciFiPlane
248
        PropertyDouble G4StepMax .1 mm
249
        Module Virtual
250
        {
251
          Volume None
252
          Position 0.0 0.0 0.0 m
253
          Rotation 0.0 0.0 0.0 degree
254
          PropertyString SensitiveDetector Virtual
255
          PropertyString IndependentVariable z
256
        }
257
      }
258
      Module TrackerMylar
259
      {
260
        Position 0.0 0.0 0.096595 cm
261
        Rotation 0.0 0.0 0.0 degree
262
        Volume Cylinder
263
        Dimensions 18.9 0.0025 cm
264
        PropertyString Material MYLAR
265
        PropertyDouble RedColour 1.0
266
      }
267
      Module TrackerMylar
268
      {
269
        Position 0.0 0.0 0.031365 cm
270
        Rotation 0.0 0.0 0.0 degree
271
        Volume Cylinder
272
        Dimensions 18.9 0.0025 cm
273
        PropertyString Material MYLAR
274
        PropertyDouble RedColour 1.0
275
      }
276
      Module TrackerMylar
277
      {
278
        Position 0.0 0.0 -0.033865 cm
279
        Rotation 0.0 0.0 0.0 degree
280
        Volume Cylinder
281
        Dimensions 18.9 0.0025 cm
282
        PropertyString Material MYLAR
283
        PropertyDouble RedColour 1.0
284
      }
285
    }
286
    Module TrackerStation3
287
    {
288
      Position 0.0 0.0 -100.0513 mm
289
      Rotation 0.0 0.0 0.0 degree
290
      Volume Cylinder
291
      Dimensions 19.0 0.20 cm
292
      PropertyDouble GreenColour 1.0
293
      PropertyDouble RedColour 1.0
294
      PropertyInt Station 3
295
      PropertyString Material POLYSTYRENE
296
      PropertyDouble OpticsMaterialLength 0 mm
297
      Module TrackerViewV
298
      {
299
        Position 0.0 0.0 -0.6398 mm
300
        Rotation 0.0 0.0 -120.0 degree
301
        Volume Cylinder
302
        Dimensions 18.9 0.06273 cm
303
        PropertyString Material POLYSTYRENE
304
        PropertyString SensitiveDetector SciFi
305
        PropertyInt Plane 0
306
        PropertyDouble ActiveRadius 160. mm
307
        PropertyDouble Pitch 0.427 mm
308
        PropertyDouble FibreDiameter 0.350 mm
309
        PropertyDouble CoreDiameter 0.308 mm
310
        PropertyDouble CentralFibre 106.5
311
        PropertyBool Invisible 1
312
        PropertyString G4Detector SciFiPlane
313
        PropertyDouble G4StepMax .1 mm
314
        Module Virtual
315
        {
316
          Volume None
317
          Position 0.0 0.0 0.0 m
318
          Rotation 0.0 0.0 0.0 degree
319
          PropertyString SensitiveDetector Virtual
320
          PropertyString IndependentVariable z
321
        }
322
      }
323
      Module TrackerViewW
324
      {
325
        Position 0.0 0.0 0.00125 cm
326
        Rotation 0.0 0.0 120.0 degree
327
        Volume Cylinder
328
        Dimensions 18.9 0.06273 cm
329
        PropertyString Material POLYSTYRENE
330
        PropertyString SensitiveDetector SciFi
331
        PropertyInt Plane 1
332
        PropertyDouble ActiveRadius 160. mm
333
        PropertyDouble Pitch 0.427 mm
334
        PropertyDouble FibreDiameter 0.350 mm
335
        PropertyDouble CoreDiameter 0.308 mm
336
        PropertyDouble CentralFibre 106.5
337
        PropertyBool Invisible 1
338
        PropertyString G4Detector SciFiPlane
339
        PropertyDouble G4StepMax .1 mm
340
        Module Virtual
341
        {
342
          Volume None
343
          Position 0.0 0.0 0.0 m
344
          Rotation 0.0 0.0 0.0 degree
345
          PropertyString SensitiveDetector Virtual
346
          PropertyString IndependentVariable z
347
        }
348
      }
349
      Module TrackerViewX
350
      {
351
        Position 0.0 0.0 0.6648 mm
352
        Rotation 0.0 0.0 0.0 degree
353
        Volume Cylinder
354
        Dimensions 18.9 0.06273 cm
355
        PropertyString Material POLYSTYRENE
356
        PropertyString SensitiveDetector SciFi
357
        PropertyInt Plane 2
358
        PropertyDouble ActiveRadius 158.5 mm
359
        PropertyDouble Pitch 0.427 mm
360
        PropertyDouble FibreDiameter 0.350 mm
361
        PropertyDouble CoreDiameter 0.308 mm
362
        PropertyDouble CentralFibre 105.5
363
        PropertyBool Invisible 1
364
        PropertyString G4Detector SciFiPlane
365
        PropertyDouble G4StepMax .1 mm
366
        Module Virtual
367
        {
368
          Volume None
369
          Position 0.0 0.0 0.0 m
370
          Rotation 0.0 0.0 0.0 degree
371
          PropertyString SensitiveDetector Virtual
372
          PropertyString IndependentVariable z
373
        }
374
      }
375
      Module TrackerMylar
376
      {
377
        Position 0.0 0.0 0.096595 cm
378
        Rotation 0.0 0.0 0.0 degree
379
        Volume Cylinder
380
        Dimensions 18.9 0.0025 cm
381
        PropertyString Material MYLAR
382
        PropertyDouble RedColour 1.0
383
      }
384
      Module TrackerMylar
385
      {
386
        Position 0.0 0.0 0.031365 cm
387
        Rotation 0.0 0.0 0.0 degree
388
        Volume Cylinder
389
        Dimensions 18.9 0.0025 cm
390
        PropertyString Material MYLAR
391
        PropertyDouble RedColour 1.0
392
      }
393
      Module TrackerMylar
394
      {
395
        Position 0.0 0.0 -0.033865 cm
396
        Rotation 0.0 0.0 0.0 degree
397
        Volume Cylinder
398
        Dimensions 18.9 0.0025 cm
399
        PropertyString Material MYLAR
400
        PropertyDouble RedColour 1.0
401
      }
402
    }
403
    Module TrackerStation4
404
    {
405
      Position 0.0 0.0 199.949 mm
406
      Rotation 0.0 0.0 0.0 degree
407
      Volume Cylinder
408
      Dimensions 19.0 0.20 cm
409
      PropertyDouble GreenColour 1.0
410
      PropertyDouble RedColour 1.0
411
      PropertyInt Station 4
412
      PropertyString Material POLYSTYRENE
413
      PropertyDouble OpticsMaterialLength 0 mm
414
      Module TrackerViewV
415
      {
416
        Position 0.0 0.0 -0.6398 mm
417
        Rotation 0.0 0.0 -120.0 degree
418
        Volume Cylinder
419
        Dimensions 18.9 0.06273 cm
420
        PropertyString Material POLYSTYRENE
421
        PropertyString SensitiveDetector SciFi
422
        PropertyInt Plane 0
423
        PropertyDouble ActiveRadius 160. mm
424
        PropertyDouble Pitch 0.427 mm
425
        PropertyDouble FibreDiameter 0.350 mm
426
        PropertyDouble CoreDiameter 0.308 mm
427
        PropertyDouble CentralFibre 106.5
428
        PropertyBool Invisible 1
429
        PropertyString G4Detector SciFiPlane
430
        PropertyDouble G4StepMax .1 mm
431
        Module Virtual
432
        {
433
          Volume None
434
          Position 0.0 0.0 0.0 m
435
          Rotation 0.0 0.0 0.0 degree
436
          PropertyString SensitiveDetector Virtual
437
          PropertyString IndependentVariable z
438
        }
439
      }
440
      Module TrackerViewW
441
      {
442
        Position 0.0 0.0 0.00125 cm
443
        Rotation 0.0 0.0 120.0 degree
444
        Volume Cylinder
445
        Dimensions 18.9 0.06273 cm
446
        PropertyString Material POLYSTYRENE
447
        PropertyString SensitiveDetector SciFi
448
        PropertyInt Plane 1
449
        PropertyDouble ActiveRadius 160. mm
450
        PropertyDouble Pitch 0.427 mm
451
        PropertyDouble FibreDiameter 0.350 mm
452
        PropertyDouble CoreDiameter 0.308 mm
453
        PropertyDouble CentralFibre 106.5
454
        PropertyBool Invisible 1
455
        PropertyString G4Detector SciFiPlane
456
        PropertyDouble G4StepMax .1 mm
457
        Module Virtual
458
        {
459
          Volume None
460
          Position 0.0 0.0 0.0 m
461
          Rotation 0.0 0.0 0.0 degree
462
          PropertyString SensitiveDetector Virtual
463
          PropertyString IndependentVariable z
464
        }
465
      }
466
      Module TrackerViewX
467
      {
468
        Position 0.0 0.0 0.6648 mm
469
        Rotation 0.0 0.0 0.0 degree
470
        Volume Cylinder
471
        Dimensions 18.9 0.06273 cm
472
        PropertyString Material POLYSTYRENE
473
        PropertyString SensitiveDetector SciFi
474
        PropertyInt Plane 2
475
        PropertyDouble ActiveRadius 158.5 mm
476
        PropertyDouble Pitch 0.427 mm
477
        PropertyDouble FibreDiameter 0.350 mm
478
        PropertyDouble CoreDiameter 0.308 mm
479
        PropertyDouble CentralFibre 105.5
480
        PropertyBool Invisible 1
481
        PropertyString G4Detector SciFiPlane
482
        PropertyDouble G4StepMax .1 mm
483
        Module Virtual
484
        {
485
          Volume None
486
          Position 0.0 0.0 0.0 m
487
          Rotation 0.0 0.0 0.0 degree
488
          PropertyString SensitiveDetector Virtual
489
          PropertyString IndependentVariable z
490
        }
491
      }
492
      Module TrackerMylar
493
      {
494
        Position 0.0 0.0 0.096595 cm
495
        Rotation 0.0 0.0 0.0 degree
496
        Volume Cylinder
497
        Dimensions 18.9 0.0025 cm
498
        PropertyString Material MYLAR
499
        PropertyDouble RedColour 1.0
500
      }
501
      Module TrackerMylar
502
      {
503
        Position 0.0 0.0 0.031365 cm
504
        Rotation 0.0 0.0 0.0 degree
505
        Volume Cylinder
506
        Dimensions 18.9 0.0025 cm
507
        PropertyString Material MYLAR
508
        PropertyDouble RedColour 1.0
509
      }
510
      Module TrackerMylar
511
      {
512
        Position 0.0 0.0 -0.033865 cm
513
        Rotation 0.0 0.0 0.0 degree
514
        Volume Cylinder
515
        Dimensions 18.9 0.0025 cm
516
        PropertyString Material MYLAR
517
        PropertyDouble RedColour 1.0
518
      }
519
    }
520
    Module TrackerStation5
521
    {
522
      Position 0.0 0.0 54.98789 cm
523
      Rotation 0.0 0.0 0.0 degree
524
      Volume Cylinder
525
      Dimensions 19.0 0.20 cm
526
      PropertyDouble GreenColour 1.0
527
      PropertyDouble RedColour 1.0
528
      PropertyInt Station 5
529
      PropertyString Material POLYSTYRENE
530
      PropertyDouble OpticsMaterialLength 0 mm
531
      Module TrackerViewV
532
      {
533
        Position 0.0 0.0 -0.6398 mm
534
        Rotation 0.0 0.0 -120.0 degree
535
        Volume Cylinder
536
        Dimensions 18.9 0.06273 cm
537
        PropertyString Material POLYSTYRENE
538
        PropertyString SensitiveDetector SciFi
539
        PropertyInt Plane 0
540
        PropertyDouble ActiveRadius 160. mm
541
        PropertyDouble Pitch 0.427 mm
542
        PropertyDouble FibreDiameter 0.350 mm
543
        PropertyDouble CoreDiameter 0.308 mm
544
        PropertyDouble CentralFibre 106.5
545
        PropertyBool Invisible 1
546
        PropertyString G4Detector SciFiPlane
547
        PropertyDouble G4StepMax .1 mm
548
        Module Virtual
549
        {
550
          Volume None
551
          Position 0.0 0.0 0.0 m
552
          Rotation 0.0 0.0 0.0 degree
553
          PropertyString SensitiveDetector Virtual
554
          PropertyString IndependentVariable z
555
        }
556
      }
557
      Module TrackerViewW
558
      {
559
        Position 0.0 0.0 0.00125 cm
560
        Rotation 0.0 0.0 120.0 degree
561
        Volume Cylinder
562
        Dimensions 18.9 0.06273 cm
563
        PropertyString Material POLYSTYRENE
564
        PropertyString SensitiveDetector SciFi
565
        PropertyInt Plane 1
566
        PropertyDouble ActiveRadius 160. mm
567
        PropertyDouble Pitch 0.427 mm
568
        PropertyDouble FibreDiameter 0.350 mm
569
        PropertyDouble CoreDiameter 0.308 mm
570
        PropertyDouble CentralFibre 106.5
571
        PropertyBool Invisible 1
572
        PropertyString G4Detector SciFiPlane
573
        PropertyDouble G4StepMax .1 mm
574
        Module Virtual
575
        {
576
          Volume None
577
          Position 0.0 0.0 0.0 m
578
          Rotation 0.0 0.0 0.0 degree
579
          PropertyString SensitiveDetector Virtual
580
          PropertyString IndependentVariable z
581
        }
582
      }
583
      Module TrackerViewX
584
      {
585
        Position 0.0 0.0 0.6648 mm
586
        Rotation 0.0 0.0 0.0 degree
587
        Volume Cylinder
588
        Dimensions 18.9 0.06273 cm
589
        PropertyString Material POLYSTYRENE
590
        PropertyString SensitiveDetector SciFi
591
        PropertyInt Plane 2
592
        PropertyDouble ActiveRadius 160.7 mm
593
        PropertyDouble Pitch 0.427 mm
594
        PropertyDouble FibreDiameter 0.350 mm
595
        PropertyDouble CoreDiameter 0.308 mm
596
        PropertyDouble CentralFibre 107.0
597
        PropertyBool Invisible 1
598
        PropertyString G4Detector SciFiPlane
599
        PropertyDouble G4StepMax .1 mm
600
        Module Virtual
601
        {
602
          Volume None
603
          Position 0.0 0.0 0.0 m
604
          Rotation 0.0 0.0 0.0 degree
605
          PropertyString SensitiveDetector Virtual
606
          PropertyString IndependentVariable z
607
        }
608
      }
609
      Module TrackerMylar
610
      {
611
        Position 0.0 0.0 0.096595 cm
612
        Rotation 0.0 0.0 0.0 degree
613
        Volume Cylinder
614
        Dimensions 18.9 0.0025 cm
615
        PropertyString Material MYLAR
616
        PropertyDouble RedColour 1.0
617
      }
618
      Module TrackerMylar
619
      {
620
        Position 0.0 0.0 0.031365 cm
621
        Rotation 0.0 0.0 0.0 degree
622
        Volume Cylinder
623
        Dimensions 18.9 0.0025 cm
624
        PropertyString Material MYLAR
625
        PropertyDouble RedColour 1.0
626
      }
627
      Module TrackerMylar
628
      {
629
        Position 0.0 0.0 -0.033865 cm
630
        Rotation 0.0 0.0 0.0 degree
631
        Volume Cylinder
632
        Dimensions 18.9 0.0025 cm
633
        PropertyString Material MYLAR
634
        PropertyDouble RedColour 1.0
635
      }
636
    }
637
  }
638

    
639
  Module HeWindow
640
  {
641
    Position 0.0 0.0 -1*(+124.+3200+$SolenoidOffset+$CellLength/2.-$SSLength/2.)+399.0 mm
642
    Rotation 0.0 0.0 0.0 degree
643

    
644
    Volume Cylinder
645
    Dimensions 187.5 185.0 mm
646
    PropertyString Material Galactic
647
    Module HeWindowInnerMaterial
648
    {
649
      Volume Boolean
650
      PropertyString BaseModule Tracker/HeWindowInnerCylinder.dat
651
      PropertyString BooleanModule1 Tracker/HeWindowOuterSphere.dat
652
      PropertyString BooleanModule1Type Intersection
653
      PropertyHep3Vector BooleanModule1Pos 0.0 0.0 -171.85 mm
654
      PropertyHep3Vector BooleanModule1Rot 0.0 0.0 0.0 degree
655
      PropertyString BooleanModule2 Tracker/HeWindowInnerSphere.dat
656
      PropertyString BooleanModule2Type Subtraction
657
      PropertyHep3Vector BooleanModule2Pos 0.0 0.0 -169.09 mm
658
      PropertyHep3Vector BooleanModule2Rot 0.0 0.0 0.0 degree
659
      PropertyString Material Al
660
      Position 0.0 0.0 0.0 mm
661
      Rotation 0.0 0.0 0.0 degree
662
    } // EndHeWindowInnerMaterial
663

    
664
    Module HeWindowOuterMaterial
665
    {
666
      Volume Boolean
667
      PropertyString BaseModule Tracker/HeWindowOuterCylinder.dat
668
      PropertyString BooleanModule1 Tracker/HeWindowOuterTorus.dat
669
      PropertyString BooleanModule1Type Intersection
670
      PropertyHep3Vector BooleanModule1Pos 0.0 0.0 62.07 mm
671
      PropertyHep3Vector BooleanModule1Rot 0.0 0.0 0.0 degree
672
      PropertyString BooleanModule2 Tracker/HeWindowInnerTorus.dat
673
      PropertyString BooleanModule2Type Subtraction
674
      PropertyHep3Vector BooleanModule2Pos 0.0 0.0 62.07 mm
675
      PropertyHep3Vector BooleanModule2Rot 0.0 0.0 0.0 degree
676
      PropertyString Material Al
677
      Position 0.0 0.0 0.0 mm
678
      Rotation 0.0 0.0 0.0 degree
679
    } // EndHeWindowOuterMaterial
680

    
681
    Module HeWindowOuterHe
682
    {
683
      Volume Boolean
684
      PropertyString BaseModule Tracker/HeWindowOuterCylinder.dat
685
      PropertyString BooleanModule1 Tracker/HeWindowOuterTorus.dat
686
      PropertyString BooleanModule1Type Subtraction
687
      PropertyHep3Vector BooleanModule1Pos 0.0 0.0 62.07 mm
688
      PropertyHep3Vector BooleanModule1Rot 0.0 0.0 0.0 degree
689
      PropertyString Material He
690
      Position 0.0 0.0 0.0 mm
691
      Rotation 0.0 0.0 0.0 degree
692
    } // EndHeWindowOuterHe
693

    
694
    Module HeWindowInnerHe
695
    {
696
      Volume Boolean
697
      PropertyString BaseModule Tracker/HeWindowInnerCylinder.dat
698
      PropertyString BooleanModule1 Tracker/HeWindowInnerSphere.dat
699
      PropertyString BooleanModule1Type Intersection
700
      PropertyHep3Vector BooleanModule1Pos 0.0 0.0 -169.09 mm
701
      PropertyHep3Vector BooleanModule1Rot 0.0 0.0 0.0 degree
702
      PropertyString Material He
703
      Position 0.0 0.0 0.0 mm
704
      Rotation 0.0 0.0 0.0 degree
705
    } // EndHeWindowInnerHe
706

    
707
    Module HeWindowCase
708
    {
709
      Volume Tube
710
      Dimensions 182.5 187.5 185.0 mm
711
      PropertyString Material Al
712
      Position 0.0 0.0 0.0 mm
713
      Rotation 0.0 0.0 0.0 degree
714
    } // EndHeWindowCase
715
  }
716

    
717
  Module SSAperture
718
  {
719
    Volume Tube
720
    // upstream edge of SS is 124 mm upstream from centre of End2
721
    // centre of tube is upstream edge - $SSLength/2.
722
    Position 0. 0. +124.+3200+$SolenoidOffset+$CellLength/2.-$SSLength/2. mm
723
    Dimensions $SSRadius 500. $SSLength mm
724
    PropertyString Material STEEL304
725
    PropertyDouble BlueColour 1.
726
  }
727

    
728
  Module Tracker1
729
  {
730
    Position 0.0 0.0 +124.+3200+$SolenoidOffset+$CellLength/2.-$SSLength/2.+575.5 mm
731
    Rotation 0.0 0.0 0.0 degree
732
    Volume Cylinder
733
    Dimensions 20.0 113.0 cm
734
    PropertyInt Tracker 1
735
    PropertyBool Invisible 1
736
    PropertyString Material He
737

    
738
    Module Tracker1Station1
739
    {
740
      Position 0.0 0.0 -55.0 cm
741
      Rotation 0.0 0.0 0.0 degree
742
      Volume Cylinder
743
      Dimensions 19.0 0.20 cm
744
      PropertyDouble GreenColour 1.0
745
      PropertyDouble RedColour 1.0
746
      PropertyInt Station 1
747
      PropertyString Material POLYSTYRENE
748
      PropertyDouble OpticsMaterialLength 0 mm
749
      Module TrackerViewV
750
      {
751
        Position 0.0 0.0 -0.6398 mm
752
        Rotation 0.0 0.0 -120.0 degree
753
        Volume Cylinder
754
        Dimensions 18.9 0.06273 cm
755
        PropertyString Material POLYSTYRENE
756
        PropertyString SensitiveDetector SciFi
757
        PropertyInt Plane 0
758
        PropertyDouble ActiveRadius 160. mm
759
        PropertyDouble Pitch 0.427 mm
760
        PropertyDouble FibreDiameter 0.350 mm
761
        PropertyDouble CoreDiameter 0.308 mm
762
        PropertyDouble CentralFibre 106.5
763
        PropertyBool Invisible 1
764
        PropertyString G4Detector SciFiPlane
765
        PropertyDouble G4StepMax .1 mm
766
        Module Virtual
767
        {
768
          Volume None
769
          Position 0.0 0.0 0.0 m
770
          Rotation 0.0 0.0 0.0 degree
771
          PropertyString SensitiveDetector Virtual
772
          PropertyString IndependentVariable z
773
        }
774
      }
775
      Module TrackerViewW
776
      {
777
        Position 0.0 0.0 0.00125 cm
778
        Rotation 0.0 0.0 120.0 degree
779
        Volume Cylinder
780
        Dimensions 18.9 0.06273 cm
781
        PropertyString Material POLYSTYRENE
782
        PropertyString SensitiveDetector SciFi
783
        PropertyInt Plane 1
784
        PropertyDouble ActiveRadius 160. mm
785
        PropertyDouble Pitch 0.427 mm
786
        PropertyDouble FibreDiameter 0.350 mm
787
        PropertyDouble CoreDiameter 0.308 mm
788
        PropertyDouble CentralFibre 106.5
789
        PropertyBool Invisible 1
790
        PropertyString G4Detector SciFiPlane
791
        PropertyDouble G4StepMax .1 mm
792
        Module Virtual
793
        {
794
          Volume None
795
          Position 0.0 0.0 0.0 m
796
          Rotation 0.0 0.0 0.0 degree
797
          PropertyString SensitiveDetector Virtual
798
          PropertyString IndependentVariable z
799
        }
800
      }
801
      Module TrackerViewX
802
      {
803
        Position 0.0 0.0 0.6648 mm
804
        Rotation 0.0 0.0 0.0 degree
805
        Volume Cylinder
806
        Dimensions 18.9 0.06273 cm
807
        PropertyString Material POLYSTYRENE
808
        PropertyString SensitiveDetector SciFi
809
        PropertyInt Plane 2
810
        PropertyDouble ActiveRadius 158.5 mm
811
        PropertyDouble Pitch 0.427 mm
812
        PropertyDouble FibreDiameter 0.350 mm
813
        PropertyDouble CoreDiameter 0.308 mm
814
        PropertyDouble CentralFibre 105.5
815
        PropertyBool Invisible 1
816
        PropertyString G4Detector SciFiPlane
817
        PropertyDouble G4StepMax .1 mm
818
        Module Virtual
819
        {
820
          Volume None
821
          Position 0.0 0.0 0.0 m
822
          Rotation 0.0 0.0 0.0 degree
823
          PropertyString SensitiveDetector Virtual
824
          PropertyString IndependentVariable z
825
        }
826
      }
827
      Module TrackerMylar
828
      {
829
        Position 0.0 0.0 0.096595 cm
830
        Rotation 0.0 0.0 0.0 degree
831
        Volume Cylinder
832
        Dimensions 18.9 0.0025 cm
833
        PropertyString Material MYLAR
834
        PropertyDouble RedColour 1.0
835
      }
836
      Module TrackerMylar
837
      {
838
        Position 0.0 0.0 0.031365 cm
839
        Rotation 0.0 0.0 0.0 degree
840
        Volume Cylinder
841
        Dimensions 18.9 0.0025 cm
842
        PropertyString Material MYLAR
843
        PropertyDouble RedColour 1.0
844
      }
845
      Module TrackerMylar
846
      {
847
        Position 0.0 0.0 -0.033865 cm
848
        Rotation 0.0 0.0 0.0 degree
849
        Volume Cylinder
850
        Dimensions 18.9 0.0025 cm
851
        PropertyString Material MYLAR
852
        PropertyDouble RedColour 1.0
853
      }
854
    }
855
    Module Tracker1Station2
856
    {
857
      Position 0.0 0.0 -35.0 cm
858
      Rotation 0.0 0.0 0.0 degree
859
      Volume Cylinder
860
      Dimensions 19.0 0.20 cm
861
      PropertyDouble GreenColour 1.0
862
      PropertyDouble RedColour 1.0
863
      PropertyInt Station 2
864
      PropertyString Material POLYSTYRENE
865
      PropertyDouble OpticsMaterialLength 0 mm
866
      Module TrackerViewV
867
      {
868
        Position 0.0 0.0 -0.6398 mm
869
        Rotation 0.0 0.0 -120.0 degree
870
        Volume Cylinder
871
        Dimensions 18.9 0.06273 cm
872
        PropertyString Material POLYSTYRENE
873
        PropertyString SensitiveDetector SciFi
874
        PropertyInt Plane 0
875
        PropertyDouble ActiveRadius 160. mm
876
        PropertyDouble Pitch 0.427 mm
877
        PropertyDouble FibreDiameter 0.350 mm
878
        PropertyDouble CoreDiameter 0.308 mm
879
        PropertyDouble CentralFibre 106.5
880
        PropertyBool Invisible 1
881
        PropertyString G4Detector SciFiPlane
882
        PropertyDouble G4StepMax .1 mm
883
        Module Virtual
884
        {
885
          Volume None
886
          Position 0.0 0.0 0.0 m
887
          Rotation 0.0 0.0 0.0 degree
888
          PropertyString SensitiveDetector Virtual
889
          PropertyString IndependentVariable z
890
        }
891
      }
892
      Module TrackerViewW
893
      {
894
        Position 0.0 0.0 0.00125 cm
895
        Rotation 0.0 0.0 120.0 degree
896
        Volume Cylinder
897
        Dimensions 18.9 0.06273 cm
898
        PropertyString Material POLYSTYRENE
899
        PropertyString SensitiveDetector SciFi
900
        PropertyInt Plane 1
901
        PropertyDouble ActiveRadius 160. mm
902
        PropertyDouble Pitch 0.427 mm
903
        PropertyDouble FibreDiameter 0.350 mm
904
        PropertyDouble CoreDiameter 0.308 mm
905
        PropertyDouble CentralFibre 106.5
906
        PropertyBool Invisible 1
907
        PropertyString G4Detector SciFiPlane
908
        PropertyDouble G4StepMax .1 mm
909
        Module Virtual
910
        {
911
          Volume None
912
          Position 0.0 0.0 0.0 m
913
          Rotation 0.0 0.0 0.0 degree
914
          PropertyString SensitiveDetector Virtual
915
          PropertyString IndependentVariable z
916
        }
917
      }
918
      Module TrackerViewX
919
      {
920
        Position 0.0 0.0 0.6648 mm
921
        Rotation 0.0 0.0 0.0 degree
922
        Volume Cylinder
923
        Dimensions 18.9 0.06273 cm
924
        PropertyString Material POLYSTYRENE
925
        PropertyString SensitiveDetector SciFi
926
        PropertyInt Plane 2
927
        PropertyDouble ActiveRadius 158.5 mm
928
        PropertyDouble Pitch 0.427 mm
929
        PropertyDouble FibreDiameter 0.350 mm
930
        PropertyDouble CoreDiameter 0.308 mm
931
        PropertyDouble CentralFibre 105.5
932
        PropertyBool Invisible 1
933
        PropertyString G4Detector SciFiPlane
934
        PropertyDouble G4StepMax .1 mm
935
        Module Virtual
936
        {
937
          Volume None
938
          Position 0.0 0.0 0.0 m
939
          Rotation 0.0 0.0 0.0 degree
940
          PropertyString SensitiveDetector Virtual
941
          PropertyString IndependentVariable z
942
        }
943
      }
944
      Module TrackerMylar
945
      {
946
        Position 0.0 0.0 0.096595 cm
947
        Rotation 0.0 0.0 0.0 degree
948
        Volume Cylinder
949
        Dimensions 18.9 0.0025 cm
950
        PropertyString Material MYLAR
951
        PropertyDouble RedColour 1.0
952
      }
953
      Module TrackerMylar
954
      {
955
        Position 0.0 0.0 0.031365 cm
956
        Rotation 0.0 0.0 0.0 degree
957
        Volume Cylinder
958
        Dimensions 18.9 0.0025 cm
959
        PropertyString Material MYLAR
960
        PropertyDouble RedColour 1.0
961
      }
962
      Module TrackerMylar
963
      {
964
        Position 0.0 0.0 -0.033865 cm
965
        Rotation 0.0 0.0 0.0 degree
966
        Volume Cylinder
967
        Dimensions 18.9 0.0025 cm
968
        PropertyString Material MYLAR
969
        PropertyDouble RedColour 1.0
970
      }
971
    }
972
    Module Tracker1Station3
973
    {
974
      Position 0.0 0.0 -10.0 cm
975
      Rotation 0.0 0.0 0.0 degree
976
      Volume Cylinder
977
      Dimensions 19.0 0.20 cm
978
      PropertyDouble GreenColour 1.0
979
      PropertyDouble RedColour 1.0
980
      PropertyInt Station 3
981
      PropertyString Material POLYSTYRENE
982
      PropertyDouble OpticsMaterialLength 0 mm
983
      Module TrackerViewV
984
      {
985
        Position 0.0 0.0 -0.6398 mm
986
        Rotation 0.0 0.0 -120.0 degree
987
        Volume Cylinder
988
        Dimensions 18.9 0.06273 cm
989
        PropertyString Material POLYSTYRENE
990
        PropertyString SensitiveDetector SciFi
991
        PropertyInt Plane 0
992
        PropertyDouble ActiveRadius 160. mm
993
        PropertyDouble Pitch 0.427 mm
994
        PropertyDouble FibreDiameter 0.350 mm
995
        PropertyDouble CoreDiameter 0.308 mm
996
        PropertyDouble CentralFibre 106.5
997
        PropertyBool Invisible 1
998
        PropertyString G4Detector SciFiPlane
999
        PropertyDouble G4StepMax .1 mm
1000
        Module Virtual
1001
        {
1002
          Volume None
1003
          Position 0.0 0.0 0.0 m
1004
          Rotation 0.0 0.0 0.0 degree
1005
          PropertyString SensitiveDetector Virtual
1006
          PropertyString IndependentVariable z
1007
        }
1008
      }
1009
      Module TrackerViewW
1010
      {
1011
        Position 0.0 0.0 0.00125 cm
1012
        Rotation 0.0 0.0 120.0 degree
1013
        Volume Cylinder
1014
        Dimensions 18.9 0.06273 cm
1015
        PropertyString Material POLYSTYRENE
1016
        PropertyString SensitiveDetector SciFi
1017
        PropertyInt Plane 1
1018
        PropertyDouble ActiveRadius 160. mm
1019
        PropertyDouble Pitch 0.427 mm
1020
        PropertyDouble FibreDiameter 0.350 mm
1021
        PropertyDouble CoreDiameter 0.308 mm
1022
        PropertyDouble CentralFibre 106.5
1023
        PropertyBool Invisible 1
1024
        PropertyString G4Detector SciFiPlane
1025
        PropertyDouble G4StepMax .1 mm
1026
        Module Virtual
1027
        {
1028
          Volume None
1029
          Position 0.0 0.0 0.0 m
1030
          Rotation 0.0 0.0 0.0 degree
1031
          PropertyString SensitiveDetector Virtual
1032
          PropertyString IndependentVariable z
1033
        }
1034
      }
1035
      Module TrackerViewX
1036
      {
1037
        Position 0.0 0.0 0.6648 mm
1038
        Rotation 0.0 0.0 0.0 degree
1039
        Volume Cylinder
1040
        Dimensions 18.9 0.06273 cm
1041
        PropertyString Material POLYSTYRENE
1042
        PropertyString SensitiveDetector SciFi
1043
        PropertyInt Plane 2
1044
        PropertyDouble ActiveRadius 158.5 mm
1045
        PropertyDouble Pitch 0.427 mm
1046
        PropertyDouble FibreDiameter 0.350 mm
1047
        PropertyDouble CoreDiameter 0.308 mm
1048
        PropertyDouble CentralFibre 105.5
1049
        PropertyBool Invisible 1
1050
        PropertyString G4Detector SciFiPlane
1051
        PropertyDouble G4StepMax .1 mm
1052
        Module Virtual
1053
        {
1054
          Volume None
1055
          Position 0.0 0.0 0.0 m
1056
          Rotation 0.0 0.0 0.0 degree
1057
          PropertyString SensitiveDetector Virtual
1058
          PropertyString IndependentVariable z
1059
        }
1060
      }
1061
      Module TrackerMylar
1062
      {
1063
        Position 0.0 0.0 0.096595 cm
1064
        Rotation 0.0 0.0 0.0 degree
1065
        Volume Cylinder
1066
        Dimensions 18.9 0.0025 cm
1067
        PropertyString Material MYLAR
1068
        PropertyDouble RedColour 1.0
1069
      }
1070
      Module TrackerMylar
1071
      {
1072
        Position 0.0 0.0 0.031365 cm
1073
        Rotation 0.0 0.0 0.0 degree
1074
        Volume Cylinder
1075
        Dimensions 18.9 0.0025 cm
1076
        PropertyString Material MYLAR
1077
        PropertyDouble RedColour 1.0
1078
      }
1079
      Module TrackerMylar
1080
      {
1081
        Position 0.0 0.0 -0.033865 cm
1082
        Rotation 0.0 0.0 0.0 degree
1083
        Volume Cylinder
1084
        Dimensions 18.9 0.0025 cm
1085
        PropertyString Material MYLAR
1086
        PropertyDouble RedColour 1.0
1087
      }
1088
    }
1089
    Module Tracker1Station4
1090
    {
1091
      Position 0.0 0.0 20.0 cm
1092
      Rotation 0.0 0.0 0.0 degree
1093
      Volume Cylinder
1094
      Dimensions 19.0 0.20 cm
1095
      PropertyDouble GreenColour 1.0
1096
      PropertyDouble RedColour 1.0
1097
      PropertyInt Station 4
1098
      PropertyString Material POLYSTYRENE
1099
      PropertyDouble OpticsMaterialLength 0 mm
1100
      Module TrackerViewV
1101
      {
1102
        Position 0.0 0.0 -0.6398 mm
1103
        Rotation 0.0 0.0 -120.0 degree
1104
        Volume Cylinder
1105
        Dimensions 18.9 0.06273 cm
1106
        PropertyString Material POLYSTYRENE
1107
        PropertyString SensitiveDetector SciFi
1108
        PropertyInt Plane 0
1109
        PropertyDouble ActiveRadius 160. mm
1110
        PropertyDouble Pitch 0.427 mm
1111
        PropertyDouble FibreDiameter 0.350 mm
1112
        PropertyDouble CoreDiameter 0.308 mm
1113
        PropertyDouble CentralFibre 106.5
1114
        PropertyBool Invisible 1
1115
        PropertyString G4Detector SciFiPlane
1116
        PropertyDouble G4StepMax .1 mm
1117
        Module Virtual
1118
        {
1119
          Volume None
1120
          Position 0.0 0.0 0.0 m
1121
          Rotation 0.0 0.0 0.0 degree
1122
          PropertyString SensitiveDetector Virtual
1123
          PropertyString IndependentVariable z
1124
        }
1125
      }
1126
      Module TrackerViewW
1127
      {
1128
        Position 0.0 0.0 0.00125 cm
1129
        Rotation 0.0 0.0 120.0 degree
1130
        Volume Cylinder
1131
        Dimensions 18.9 0.06273 cm
1132
        PropertyString Material POLYSTYRENE
1133
        PropertyString SensitiveDetector SciFi
1134
        PropertyInt Plane 1
1135
        PropertyDouble ActiveRadius 160. mm
1136
        PropertyDouble Pitch 0.427 mm
1137
        PropertyDouble FibreDiameter 0.350 mm
1138
        PropertyDouble CoreDiameter 0.308 mm
1139
        PropertyDouble CentralFibre 106.5
1140
        PropertyBool Invisible 1
1141
        PropertyString G4Detector SciFiPlane
1142
        PropertyDouble G4StepMax .1 mm
1143
        Module Virtual
1144
        {
1145
          Volume None
1146
          Position 0.0 0.0 0.0 m
1147
          Rotation 0.0 0.0 0.0 degree
1148
          PropertyString SensitiveDetector Virtual
1149
          PropertyString IndependentVariable z
1150
        }
1151
      }
1152
      Module TrackerViewX
1153
      {
1154
        Position 0.0 0.0 0.6648 mm
1155
        Rotation 0.0 0.0 0.0 degree
1156
        Volume Cylinder
1157
        Dimensions 18.9 0.06273 cm
1158
        PropertyString Material POLYSTYRENE
1159
        PropertyString SensitiveDetector SciFi
1160
        PropertyInt Plane 2
1161
        PropertyDouble ActiveRadius 158.5 mm
1162
        PropertyDouble Pitch 0.427 mm
1163
        PropertyDouble FibreDiameter 0.350 mm
1164
        PropertyDouble CoreDiameter 0.308 mm
1165
        PropertyDouble CentralFibre 105.5
1166
        PropertyBool Invisible 1
1167
        PropertyString G4Detector SciFiPlane
1168
        PropertyDouble G4StepMax .1 mm
1169
        Module Virtual
1170
        {
1171
          Volume None
1172
          Position 0.0 0.0 0.0 m
1173
          Rotation 0.0 0.0 0.0 degree
1174
          PropertyString SensitiveDetector Virtual
1175
          PropertyString IndependentVariable z
1176
        }
1177
      }
1178
      Module TrackerMylar
1179
      {
1180
        Position 0.0 0.0 0.096595 cm
1181
        Rotation 0.0 0.0 0.0 degree
1182
        Volume Cylinder
1183
        Dimensions 18.9 0.0025 cm
1184
        PropertyString Material MYLAR
1185
        PropertyDouble RedColour 1.0
1186
      }
1187
      Module TrackerMylar
1188
      {
1189
        Position 0.0 0.0 0.031365 cm
1190
        Rotation 0.0 0.0 0.0 degree
1191
        Volume Cylinder
1192
        Dimensions 18.9 0.0025 cm
1193
        PropertyString Material MYLAR
1194
        PropertyDouble RedColour 1.0
1195
      }
1196
      Module TrackerMylar
1197
      {
1198
        Position 0.0 0.0 -0.033865 cm
1199
        Rotation 0.0 0.0 0.0 degree
1200
        Volume Cylinder
1201
        Dimensions 18.9 0.0025 cm
1202
        PropertyString Material MYLAR
1203
        PropertyDouble RedColour 1.0
1204
      }
1205
    }
1206
    Module Tracker1Station5
1207
    {
1208
      Position 0.0 0.0 55.0 cm
1209
      Rotation 0.0 0.0 0.0 degree
1210
      Volume Cylinder
1211
      Dimensions 19.0 0.20 cm
1212
      PropertyDouble GreenColour 1.0
1213
      PropertyDouble RedColour 1.0
1214
      PropertyInt Station 5
1215
      PropertyString Material POLYSTYRENE
1216
      PropertyDouble OpticsMaterialLength 0 mm
1217
      Module TrackerViewV
1218
      {
1219
        Position 0.0 0.0 -0.6398 mm
1220
        Rotation 0.0 0.0 -120.0 degree
1221
        Volume Cylinder
1222
        Dimensions 18.9 0.06273 cm
1223
        PropertyString Material POLYSTYRENE
1224
        PropertyString SensitiveDetector SciFi
1225
        PropertyInt Plane 0
1226
        PropertyDouble ActiveRadius 160. mm
1227
        PropertyDouble Pitch 0.427 mm
1228
        PropertyDouble FibreDiameter 0.350 mm
1229
        PropertyDouble CoreDiameter 0.308 mm
1230
        PropertyDouble CentralFibre 106.5
1231
        PropertyBool Invisible 1
1232
        PropertyString G4Detector SciFiPlane
1233
        PropertyDouble G4StepMax .1 mm
1234
        Module Virtual
1235
        {
1236
          Volume None
1237
          Position 0.0 0.0 0.0 m
1238
          Rotation 0.0 0.0 0.0 degree
1239
          PropertyString SensitiveDetector Virtual
1240
          PropertyString IndependentVariable z
1241
        }
1242
      }
1243
      Module TrackerViewW
1244
      {
1245
        Position 0.0 0.0 0.00125 cm
1246
        Rotation 0.0 0.0 120.0 degree
1247
        Volume Cylinder
1248
        Dimensions 18.9 0.06273 cm
1249
        PropertyString Material POLYSTYRENE
1250
        PropertyString SensitiveDetector SciFi
1251
        PropertyInt Plane 1
1252
        PropertyDouble ActiveRadius 160. mm
1253
        PropertyDouble Pitch 0.427 mm
1254
        PropertyDouble FibreDiameter 0.350 mm
1255
        PropertyDouble CoreDiameter 0.308 mm
1256
        PropertyDouble CentralFibre 106.5
1257
        PropertyBool Invisible 1
1258
        PropertyString G4Detector SciFiPlane
1259
        PropertyDouble G4StepMax .1 mm
1260
        Module Virtual
1261
        {
1262
          Volume None
1263
          Position 0.0 0.0 0.0 m
1264
          Rotation 0.0 0.0 0.0 degree
1265
          PropertyString SensitiveDetector Virtual
1266
          PropertyString IndependentVariable z
1267
        }
1268
      }
1269
      Module TrackerViewX
1270
      {
1271
        Position 0.0 0.0 0.6648 mm
1272
        Rotation 0.0 0.0 0.0 degree
1273
        Volume Cylinder
1274
        Dimensions 18.9 0.06273 cm
1275
        PropertyString Material POLYSTYRENE
1276
        PropertyString SensitiveDetector SciFi
1277
        PropertyInt Plane 2
1278
        PropertyDouble ActiveRadius 158.5 mm
1279
        PropertyDouble Pitch 0.427 mm
1280
        PropertyDouble FibreDiameter 0.350 mm
1281
        PropertyDouble CoreDiameter 0.308 mm
1282
        PropertyDouble CentralFibre 105.5
1283
        PropertyBool Invisible 1
1284
        PropertyString G4Detector SciFiPlane
1285
        PropertyDouble G4StepMax .1 mm
1286
        Module Virtual
1287
        {
1288
          Volume None
1289
          Position 0.0 0.0 0.0 m
1290
          Rotation 0.0 0.0 0.0 degree
1291
          PropertyString SensitiveDetector Virtual
1292
          PropertyString IndependentVariable z
1293
        }
1294
      }
1295
      Module TrackerMylar
1296
      {
1297
        Position 0.0 0.0 0.096595 cm
1298
        Rotation 0.0 0.0 0.0 degree
1299
        Volume Cylinder
1300
        Dimensions 18.9 0.0025 cm
1301
        PropertyString Material MYLAR
1302
        PropertyDouble RedColour 1.0
1303
      }
1304
      Module TrackerMylar
1305
      {
1306
        Position 0.0 0.0 0.031365 cm
1307
        Rotation 0.0 0.0 0.0 degree
1308
        Volume Cylinder
1309
        Dimensions 18.9 0.0025 cm
1310
        PropertyString Material MYLAR
1311
        PropertyDouble RedColour 1.0
1312
      }
1313
      Module TrackerMylar
1314
      {
1315
        Position 0.0 0.0 -0.033865 cm
1316
        Rotation 0.0 0.0 0.0 degree
1317
        Volume Cylinder
1318
        Dimensions 18.9 0.0025 cm
1319
        PropertyString Material MYLAR
1320
        PropertyDouble RedColour 1.0
1321
      }
1322
    }
1323
  }
1324

    
1325
  Module HeWindow
1326
  {
1327
    Position 0.0 0.0 +124.+3200+$SolenoidOffset+$CellLength/2.-$SSLength/2.-399.0 mm
1328
    Rotation 0.0 180.0 0.0 degree
1329

    
1330
    Volume Cylinder
1331
    Dimensions 187.5 185.0 mm
1332
    PropertyString Material Galactic
1333
    Module HeWindowInnerMaterial
1334
    {
1335
      Volume Boolean
1336
      PropertyString BaseModule Tracker/HeWindowInnerCylinder.dat
1337
      PropertyString BooleanModule1 Tracker/HeWindowOuterSphere.dat
1338
      PropertyString BooleanModule1Type Intersection
1339
      PropertyHep3Vector BooleanModule1Pos 0.0 0.0 -171.85 mm
1340
      PropertyHep3Vector BooleanModule1Rot 0.0 0.0 0.0 degree
1341
      PropertyString BooleanModule2 Tracker/HeWindowInnerSphere.dat
1342
      PropertyString BooleanModule2Type Subtraction
1343
      PropertyHep3Vector BooleanModule2Pos 0.0 0.0 -169.09 mm
1344
      PropertyHep3Vector BooleanModule2Rot 0.0 0.0 0.0 degree
1345
      PropertyString Material Al
1346
      Position 0.0 0.0 0.0 mm
1347
      Rotation 0.0 0.0 0.0 degree
1348
    } // EndHeWindowInnerMaterial
1349

    
1350
    Module HeWindowOuterMaterial
1351
    {
1352
      Volume Boolean
1353
      PropertyString BaseModule Tracker/HeWindowOuterCylinder.dat
1354
      PropertyString BooleanModule1 Tracker/HeWindowOuterTorus.dat
1355
      PropertyString BooleanModule1Type Intersection
1356
      PropertyHep3Vector BooleanModule1Pos 0.0 0.0 62.07 mm
1357
      PropertyHep3Vector BooleanModule1Rot 0.0 0.0 0.0 degree
1358
      PropertyString BooleanModule2 Tracker/HeWindowInnerTorus.dat
1359
      PropertyString BooleanModule2Type Subtraction
1360
      PropertyHep3Vector BooleanModule2Pos 0.0 0.0 62.07 mm
1361
      PropertyHep3Vector BooleanModule2Rot 0.0 0.0 0.0 degree
1362
      PropertyString Material Al
1363
      Position 0.0 0.0 0.0 mm
1364
      Rotation 0.0 0.0 0.0 degree
1365
    } // EndHeWindowOuterMaterial
1366

    
1367
    Module HeWindowOuterHe
1368
    {
1369
      Volume Boolean
1370
      PropertyString BaseModule Tracker/HeWindowOuterCylinder.dat
1371
      PropertyString BooleanModule1 Tracker/HeWindowOuterTorus.dat
1372
      PropertyString BooleanModule1Type Subtraction
1373
      PropertyHep3Vector BooleanModule1Pos 0.0 0.0 62.07 mm
1374
      PropertyHep3Vector BooleanModule1Rot 0.0 0.0 0.0 degree
1375
      PropertyString Material He
1376
      Position 0.0 0.0 0.0 mm
1377
      Rotation 0.0 0.0 0.0 degree
1378
    } // EndHeWindowOuterHe
1379

    
1380
    Module HeWindowInnerHe
1381
    {
1382
      Volume Boolean
1383
      PropertyString BaseModule Tracker/HeWindowInnerCylinder.dat
1384
      PropertyString BooleanModule1 Tracker/HeWindowInnerSphere.dat
1385
      PropertyString BooleanModule1Type Intersection
1386
      PropertyHep3Vector BooleanModule1Pos 0.0 0.0 -169.09 mm
1387
      PropertyHep3Vector BooleanModule1Rot 0.0 0.0 0.0 degree
1388
      PropertyString Material He
1389
      Position 0.0 0.0 0.0 mm
1390
      Rotation 0.0 0.0 0.0 degree
1391
    } // EndHeWindowInnerHe
1392

    
1393
    Module HeWindowCase
1394
    {
1395
      Volume Tube
1396
      Dimensions 182.5 187.5 185.0 mm
1397
      PropertyString Material Al
1398
      Position 0.0 0.0 0.0 mm
1399
      Rotation 0.0 0.0 0.0 degree
1400
    } // EndHeWindowCase
1401
  }
1402
  Module FCAperture
1403
  {
1404
    Volume Tube
1405
    Position 0. 0. -$CellLength/2. mm
1406
    Dimensions $FCRadius 600. $FCLength mm
1407
    PropertyString Material STEEL304
1408
    PropertyDouble BlueColour 1.
1409
  }
1410
  Module FCAperture
1411
  {
1412
    Volume Tube
1413
    Position 0. 0. +$CellLength/2. mm
1414
    Dimensions $FCRadius 600. $FCLength mm
1415
    PropertyString Material STEEL304
1416
    PropertyDouble BlueColour 1.
1417
  }
1418
  Module EndCoil2
1419
  {
1420
    Volume None
1421
    Position 0.0 0.0 -3200-$SolenoidOffset-$CellLength/2. mm
1422
    Rotation 0.0 0.0 0.0 degree
1423
    ScaleFactor $Pol1*135.18
1424
    // Field
1425
    PropertyString FieldType       Solenoid
1426
    PropertyString FieldMapMode    $FieldMapMode
1427
    PropertyString FileName        ${MAUS_ROOT_DIR}/tmp/tmp_reference/end2.fld
1428
    PropertyDouble CurrentDensity  1.
1429
    PropertyDouble Length          110.6
1430
    PropertyDouble Thickness       67.8
1431
    PropertyDouble InnerRadius     258.
1432
  }
1433
  Module CenterCoil
1434
  {
1435
    Volume None
1436
    Position 0.0 0.0 -2450.-$SolenoidOffset-$CellLength/2. mm
1437
    Rotation 0.0 0.0 0.0 degree
1438
    ScaleFactor $Pol1*152.44
1439
    // Field
1440
    PropertyString FieldType      Solenoid
1441
    PropertyString FieldMapMode   $FieldMapMode
1442
    PropertyString FileName       ${MAUS_ROOT_DIR}/tmp/tmp_reference/center.fld
1443
    PropertyDouble CurrentDensity 1.
1444
    PropertyDouble Length         1314.3
1445
    PropertyDouble Thickness      22.1
1446
    PropertyDouble InnerRadius    258.
1447
  }
1448
  Module EndCoil1
1449
  {
1450
    Volume None
1451
    Position 0.0 0.0 -1700.-$SolenoidOffset-$CellLength/2. mm
1452
    Rotation 0.0 0.0 0.0 degree
1453
    ScaleFactor $Pol1*127.37
1454
    // Field
1455
    PropertyString FieldType       Solenoid
1456
    PropertyString FieldMapMode    $FieldMapMode
1457
    PropertyString FileName        ${MAUS_ROOT_DIR}/tmp/tmp_reference/end1.fld
1458
    PropertyDouble CurrentDensity  1.
1459
    PropertyDouble Length          110.6
1460
    PropertyDouble Thickness       60.9
1461
    PropertyDouble InnerRadius     258.
1462
  }
1463
  Module MatchCoil2
1464
  {
1465
    Volume None
1466
    Position 0.0 0.0 -1300.-$SolenoidOffset-$CellLength/2. mm
1467
    Rotation 0.0 0.0 0.0 degree
1468
    ScaleFactor $Pol1*$M2Current
1469
    // Field
1470
    PropertyString FieldType         Solenoid
1471
    PropertyString FieldMapMode      $FieldMapMode
1472
    PropertyString FileName          ${MAUS_ROOT_DIR}/tmp/tmp_reference/match2.fld
1473
    PropertyDouble CurrentDensity    1.
1474
    PropertyDouble Length            199.5
1475
    PropertyDouble Thickness         30.9
1476
    PropertyDouble InnerRadius       258.
1477
  }
1478
  Module MatchCoil1
1479
  {
1480
    Volume None
1481
    Position 0.0 0.0 -861.0-$SolenoidOffset-$CellLength/2. mm
1482
    Rotation 0.0 0.0 0.0 degree
1483
    ScaleFactor $Pol1*$M1Current
1484
    //Field
1485
    PropertyString FieldType      Solenoid
1486
    PropertyString FieldMapMode   $FieldMapMode
1487
    PropertyString FileName       ${MAUS_ROOT_DIR}/tmp/tmp_reference/match1.fld
1488
    PropertyDouble CurrentDensity 1.
1489
    PropertyDouble Length         201.3
1490
    PropertyDouble Thickness      46.2
1491
    PropertyDouble InnerRadius    258.
1492
  }
1493
  Module FocusCoil
1494
  {
1495
    Volume None
1496
    Position 0.0 0.0 -202.75-$CellLength/2. mm
1497
    Rotation 0.0 0.0 0.0 degree
1498
    ScaleFactor $Pol1*$UpFCCurrent
1499
    // Field
1500
    PropertyString FieldType       Solenoid
1501
    PropertyString FieldMapMode    $FieldMapMode
1502
    PropertyString FileName        ${MAUS_ROOT_DIR}/tmp/tmp_reference/focus.fld
1503
    PropertyDouble CurrentDensity      1.
1504
    PropertyDouble Length            213.3
1505
    PropertyDouble Thickness          94.8
1506
    PropertyDouble InnerRadius       267.
1507
  }
1508
  Module FocusCoil
1509
  {
1510
    Volume None
1511
    Position 0.0 0.0 +202.75-$CellLength/2. mm
1512
    Rotation 0.0 0.0 0.0 degree
1513
    ScaleFactor $Pol2*$UpFCCurrent
1514
    // Field
1515
    PropertyString FieldType       Solenoid
1516
    PropertyString FieldMapMode    $FieldMapMode
1517
    PropertyString FileName        ${MAUS_ROOT_DIR}/tmp/tmp_reference/focus.fld
1518
    PropertyDouble CurrentDensity      1.
1519
    PropertyDouble Length            213.3
1520
    PropertyDouble Thickness          94.8
1521
    PropertyDouble InnerRadius       267.
1522
  }
1523
  Module FocusCoil
1524
  {
1525
    Volume None
1526
    Position 0.0 0.0 -202.75+$CellLength/2. mm
1527
    Rotation 0.0 0.0 0.0 degree
1528
    ScaleFactor $Pol3*$DownFCCurrent
1529
    // Field
1530
    PropertyString FieldType       Solenoid
1531
    PropertyString FieldMapMode    $FieldMapMode
1532
    PropertyString FileName        ${MAUS_ROOT_DIR}/tmp/tmp_reference/focus.fld
1533
    PropertyDouble CurrentDensity      1.
1534
    PropertyDouble Length            213.3
1535
    PropertyDouble Thickness          94.8
1536
    PropertyDouble InnerRadius       267.
1537
  }
1538
  Module FocusCoil
1539
  {
1540
    Volume None
1541
    Position 0.0 0.0 +202.75+$CellLength/2. mm
1542
    Rotation 0.0 0.0 0.0 degree
1543
    ScaleFactor $Pol4*$DownFCCurrent
1544
    // Field
1545
    PropertyString FieldType       Solenoid
1546
    PropertyString FieldMapMode    $FieldMapMode
1547
    PropertyString FileName        ${MAUS_ROOT_DIR}/tmp/tmp_reference/focus.fld
1548
    PropertyDouble CurrentDensity      1.
1549
    PropertyDouble Length            213.3
1550
    PropertyDouble Thickness          94.8
1551
    PropertyDouble InnerRadius       267.
1552
  }
1553
  Module MatchCoil1
1554
  {
1555
    Volume None
1556
    Position 0.0 0.0 861.0+$SolenoidOffset+$CellLength/2. mm
1557
    Rotation 0.0 0.0 0.0 degree
1558
    ScaleFactor $Pol4*$DownM1Current
1559
    // Field
1560
    PropertyString FieldType      Solenoid
1561
    PropertyString FieldMapMode   $FieldMapMode
1562
    PropertyString FileName       ${MAUS_ROOT_DIR}/tmp/tmp_reference/match1.fld
1563
    PropertyDouble CurrentDensity 1.
1564
    PropertyDouble Length         201.3
1565
    PropertyDouble Thickness      46.2
1566
    PropertyDouble InnerRadius    258.
1567
  }
1568
  Module MatchCoil2
1569
  {
1570
    Volume None
1571
    Position 0.0 0.0 1300.+$SolenoidOffset+$CellLength/2. mm
1572
    Rotation 0.0 0.0 0.0 degree
1573
    ScaleFactor $Pol4*$DownM2Current
1574
    // Field
1575
    PropertyString FieldType         Solenoid
1576
    PropertyString FieldMapMode      $FieldMapMode
1577
    PropertyString FileName          ${MAUS_ROOT_DIR}/tmp/tmp_reference/match2.fld
1578
    PropertyDouble CurrentDensity    1.
1579
    PropertyDouble Length            199.5
1580
    PropertyDouble Thickness         30.9
1581
    PropertyDouble InnerRadius       258.
1582
  }
1583
  Module EndCoil1
1584
  {
1585
    Volume None
1586
    Position 0.0 0.0 1700+$SolenoidOffset+$CellLength/2. mm
1587
    Rotation 0.0 0.0 0.0 degree
1588
    ScaleFactor $Pol4*127.37
1589
    // Field
1590
    PropertyString FieldType       Solenoid
1591
    PropertyString FieldMapMode    $FieldMapMode
1592
    PropertyString FileName        ${MAUS_ROOT_DIR}/tmp/tmp_reference/end1.fld
1593
    PropertyDouble CurrentDensity  1.
1594
    PropertyDouble Length          110.6
1595
    PropertyDouble Thickness       60.9
1596
    PropertyDouble InnerRadius     258.
1597
  }
1598
  Module CenterCoil
1599
  {
1600
    Volume None
1601
    Position 0.0 0.0 2450.+$SolenoidOffset+$CellLength/2. mm
1602
    Rotation 0.0 0.0 0.0 degree
1603
    ScaleFactor $Pol4*152.44
1604
    // Field
1605
    PropertyString FieldType      Solenoid
1606
    PropertyString FieldMapMode   $FieldMapMode
1607
    PropertyString FileName       ${MAUS_ROOT_DIR}/tmp/tmp_reference/center.fld
1608
    PropertyDouble CurrentDensity 1.
1609
    PropertyDouble Length         1314.3
1610
    PropertyDouble Thickness      22.1
1611
    PropertyDouble InnerRadius    258.
1612
  }
1613
  Module EndCoil2
1614
  {
1615
    Volume None
1616
    Position 0.0 0.0 3200+$SolenoidOffset+$CellLength/2. mm
1617
    Rotation 0.0 0.0 0.0 degree
1618
    ScaleFactor $Pol4*135.18
1619
    // Field
1620
    PropertyString FieldType       Solenoid
1621
    PropertyString FieldMapMode    $FieldMapMode
1622
    PropertyString FileName        ${MAUS_ROOT_DIR}/tmp/tmp_reference/end2.fld
1623
    PropertyDouble CurrentDensity  1.
1624
    PropertyDouble Length          110.6
1625
    PropertyDouble Thickness       67.8 
1626
    PropertyDouble InnerRadius     258.
1627
  }
1628

    
1629
  Module VirtualPlane
1630
  {
1631
    Volume None
1632
    Position 0.0 0.0 -4050.0+@RepeatNumber*100 mm
1633
    PropertyString SensitiveDetector Virtual
1634
    PropertyBool   RepeatModule2 True
1635
    PropertyInt    NumberOfRepeats 81
1636
  }
1637
  Module VirtualPlane // always instrument AFC centre
1638
  {
1639
    Volume None
1640
    Position 0.0 0.0 -$CellLength/2. mm
1641
    PropertyString SensitiveDetector Virtual
1642
  }
1643
  Module VirtualPlane // always instrument cell centre
1644
  {
1645
    Volume None
1646
    Position 0.0 0.0 0.0 mm
1647
    PropertyString SensitiveDetector Virtual
1648
  }
1649
  Module VirtualPlane // always instrument AFC centre
1650
  {
1651
    Volume None
1652
    Position 0.0 0.0 $CellLength/2. mm
1653
    PropertyString SensitiveDetector Virtual
1654
  }
1655

    
1656
  Module RFCC/CavityWithFieldMap.dat // 10 mm stay clear
1657
  {
1658
    Position 0.0 0.0 234.5+$AbsorberLength/2. mm
1659
    Rotation 0.0 180.0 0.0 degree
1660
    ScaleFactor -1.*$RF_Gradient/9 // rotate through 180 degrees => field must be in opposite sense
1661
  }
1662
  Module RFCC/CavityWithFieldMap.dat // 10 mm stay clear
1663
  {
1664
    Position 0.0 0.0 -234.5-$AbsorberLength/2. mm
1665
    Rotation 0.0 0.0 0.0 degree
1666
    ScaleFactor $RF_Gradient/9.
1667
  }
1668
  Module Absorber
1669
  {
1670
    Volume Cylinder
1671
    Position 0. 0. 0. mm
1672
    Dimensions 225. $AbsorberLength mm
1673
    PropertyString Material MICE_LITHIUM_HYDRIDE
1674
    PropertyDouble GreenColour 1.
1675
  }
1676
}
1677

    
(49-49/57)