Project

General

Profile

Feature #1543 » Step_3pi2_alt_5.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    (38.86)
11
  Substitution $DownFCCurrent  (37.77)
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      (119.94)
21
  Substitution $M2Current      (135.06)
22
  Substitution $DownM1Current  (109.23)
23
  Substitution $DownM2Current  (125.42)
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
  Substitution $SecondaryAbsorberLength (32.5)
31

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

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

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

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

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

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

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

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

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

    
718
  Module Absorber
719
  {
720
    Volume Cylinder
721
    Position 0. 0. -2200. mm
722
    Dimensions 225. $SecondaryAbsorberLength mm
723
    PropertyString Material MICE_LITHIUM_HYDRIDE
724
    PropertyDouble GreenColour 1.
725
  }
726

    
727
  Module Absorber
728
  {
729
    Volume Cylinder
730
    Position 0. 0. 2200. mm
731
    Dimensions 225. $SecondaryAbsorberLength mm
732
    PropertyString Material MICE_LITHIUM_HYDRIDE
733
    PropertyDouble GreenColour 1.
734
  }
735

    
736
  Module SSAperture
737
  {
738
    Volume Tube
739
    // upstream edge of SS is 124 mm upstream from centre of End2
740
    // centre of tube is upstream edge - $SSLength/2.
741
    Position 0. 0. +124.+3200+$SolenoidOffset+$CellLength/2.-$SSLength/2. mm
742
    Dimensions $SSRadius 500. $SSLength mm
743
    PropertyString Material STEEL304
744
    PropertyDouble BlueColour 1.
745
  }
746

    
747
  Module Tracker1
748
  {
749
    Position 0.0 0.0 +124.+3200+$SolenoidOffset+$CellLength/2.-$SSLength/2.+575.5 mm
750
    Rotation 0.0 0.0 0.0 degree
751
    Volume Cylinder
752
    Dimensions 20.0 113.0 cm
753
    PropertyInt Tracker 1
754
    PropertyBool Invisible 1
755
    PropertyString Material He
756

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

    
1344
  Module HeWindow
1345
  {
1346
    Position 0.0 0.0 +124.+3200+$SolenoidOffset+$CellLength/2.-$SSLength/2.-399.0 mm
1347
    Rotation 0.0 180.0 0.0 degree
1348

    
1349
    Volume Cylinder
1350
    Dimensions 187.5 185.0 mm
1351
    PropertyString Material Galactic
1352
    Module HeWindowInnerMaterial
1353
    {
1354
      Volume Boolean
1355
      PropertyString BaseModule Tracker/HeWindowInnerCylinder.dat
1356
      PropertyString BooleanModule1 Tracker/HeWindowOuterSphere.dat
1357
      PropertyString BooleanModule1Type Intersection
1358
      PropertyHep3Vector BooleanModule1Pos 0.0 0.0 -171.85 mm
1359
      PropertyHep3Vector BooleanModule1Rot 0.0 0.0 0.0 degree
1360
      PropertyString BooleanModule2 Tracker/HeWindowInnerSphere.dat
1361
      PropertyString BooleanModule2Type Subtraction
1362
      PropertyHep3Vector BooleanModule2Pos 0.0 0.0 -169.09 mm
1363
      PropertyHep3Vector BooleanModule2Rot 0.0 0.0 0.0 degree
1364
      PropertyString Material Al
1365
      Position 0.0 0.0 0.0 mm
1366
      Rotation 0.0 0.0 0.0 degree
1367
    } // EndHeWindowInnerMaterial
1368

    
1369
    Module HeWindowOuterMaterial
1370
    {
1371
      Volume Boolean
1372
      PropertyString BaseModule Tracker/HeWindowOuterCylinder.dat
1373
      PropertyString BooleanModule1 Tracker/HeWindowOuterTorus.dat
1374
      PropertyString BooleanModule1Type Intersection
1375
      PropertyHep3Vector BooleanModule1Pos 0.0 0.0 62.07 mm
1376
      PropertyHep3Vector BooleanModule1Rot 0.0 0.0 0.0 degree
1377
      PropertyString BooleanModule2 Tracker/HeWindowInnerTorus.dat
1378
      PropertyString BooleanModule2Type Subtraction
1379
      PropertyHep3Vector BooleanModule2Pos 0.0 0.0 62.07 mm
1380
      PropertyHep3Vector BooleanModule2Rot 0.0 0.0 0.0 degree
1381
      PropertyString Material Al
1382
      Position 0.0 0.0 0.0 mm
1383
      Rotation 0.0 0.0 0.0 degree
1384
    } // EndHeWindowOuterMaterial
1385

    
1386
    Module HeWindowOuterHe
1387
    {
1388
      Volume Boolean
1389
      PropertyString BaseModule Tracker/HeWindowOuterCylinder.dat
1390
      PropertyString BooleanModule1 Tracker/HeWindowOuterTorus.dat
1391
      PropertyString BooleanModule1Type Subtraction
1392
      PropertyHep3Vector BooleanModule1Pos 0.0 0.0 62.07 mm
1393
      PropertyHep3Vector BooleanModule1Rot 0.0 0.0 0.0 degree
1394
      PropertyString Material He
1395
      Position 0.0 0.0 0.0 mm
1396
      Rotation 0.0 0.0 0.0 degree
1397
    } // EndHeWindowOuterHe
1398

    
1399
    Module HeWindowInnerHe
1400
    {
1401
      Volume Boolean
1402
      PropertyString BaseModule Tracker/HeWindowInnerCylinder.dat
1403
      PropertyString BooleanModule1 Tracker/HeWindowInnerSphere.dat
1404
      PropertyString BooleanModule1Type Intersection
1405
      PropertyHep3Vector BooleanModule1Pos 0.0 0.0 -169.09 mm
1406
      PropertyHep3Vector BooleanModule1Rot 0.0 0.0 0.0 degree
1407
      PropertyString Material He
1408
      Position 0.0 0.0 0.0 mm
1409
      Rotation 0.0 0.0 0.0 degree
1410
    } // EndHeWindowInnerHe
1411

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

    
1648
  Module VirtualPlane
1649
  {
1650
    Volume None
1651
    Position 0.0 0.0 -4050.0+@RepeatNumber*100 mm
1652
    PropertyString SensitiveDetector Virtual
1653
    PropertyBool   RepeatModule2 True
1654
    PropertyInt    NumberOfRepeats 81
1655
  }
1656
  Module VirtualPlane // always instrument AFC centre
1657
  {
1658
    Volume None
1659
    Position 0.0 0.0 -$CellLength/2. mm
1660
    PropertyString SensitiveDetector Virtual
1661
  }
1662
  Module VirtualPlane // always instrument cell centre
1663
  {
1664
    Volume None
1665
    Position 0.0 0.0 0.0 mm
1666
    PropertyString SensitiveDetector Virtual
1667
  }
1668
  Module VirtualPlane // always instrument AFC centre
1669
  {
1670
    Volume None
1671
    Position 0.0 0.0 $CellLength/2. mm
1672
    PropertyString SensitiveDetector Virtual
1673
  }
1674

    
1675
  Module RFCC/CavityWithFieldMap.dat // 10 mm stay clear
1676
  {
1677
    Position 0.0 0.0 234.5+$AbsorberLength/2. mm
1678
    Rotation 0.0 180.0 0.0 degree
1679
    ScaleFactor -1.*$RF_Gradient/9 // rotate through 180 degrees => field must be in opposite sense
1680
  }
1681
  Module RFCC/CavityWithFieldMap.dat // 10 mm stay clear
1682
  {
1683
    Position 0.0 0.0 -234.5-$AbsorberLength/2. mm
1684
    Rotation 0.0 0.0 0.0 degree
1685
    ScaleFactor $RF_Gradient/9.
1686
  }
1687
  Module Absorber
1688
  {
1689
    Volume Cylinder
1690
    Position 0. 0. 0. mm
1691
    Dimensions 225. $AbsorberLength mm
1692
    PropertyString Material MICE_LITHIUM_HYDRIDE
1693
    PropertyDouble GreenColour 1.
1694
  }
1695
}
1696

    
(50-50/57)