#  type  matter  c    de maxpath / x0   y0   z0   a  b  c
---------------------------------------------------------
#eq  a 28

#eq  aa 30
#eq  emth  0.006d0
#eq  pbth 0.1d0
#eq  scifith  0.1d0
#eq  scinth   1.0d0

#news	new-1 	angle
#news	new-2	sqpipe


#subd emplate
c    emulsion 0
1 box g5 2 0 0 / 0 0 0.025d0 aa aa emth
2 box Acrylic 0 0 0 / 0 0 + = = .05d0
3 box g5 2 0 0 / 0 0 + = = emth
4 box_w sp 0 0 0 / 0 0 0.0 0 0 0.112d0
#end emplate              

#subd emplate2
c    emulsion 0
1 emplate  0 0 0 /0 0 0.025d0
2 box_w Bakelite 0 0 0 / -2 -2 0.0 33.8d0 33.8d0 .1620d0
#end emplate2

#subd frame1        square pipe 
1 sqpipe Al 0 0 0 / 0 0 0 33.8d0 33.8d0 4.0d0 2.5 2.5 28.8 28.8
#end  frame1

#subd withpb
1 box Pb 0 0 0 / 0 0 .025d0 aa aa pbth
2 emplate  0 0 0 / 0 0 +
#     world height is determined automatically (must be actual h)
3 box_w Bakelite 0 0 0 /-1.9 -1.9 0.0 33.8d0 33.8d0 0.262d0
#end withpb

#subd withpb2
1 box Pb 0 0 0 / 0 0 0.025d0 aa aa 0.25d0
2 emplate  0 0 0 / 0 0 +
3 box_w Bakelite 0 0 0 / -1.9 -1.9 0.0 33.8d0 33.8d0 0.412d0
#end withpb2

#subd frame2      angle
1 angle Al 0 0 0 / 1.1 1.1 0 4 4 1.1 1.1 12
2 angle Al 0 0 0 / 36.9 1.1 0 4 4 1.1 1.1 = 0 1 0 -1 0 0
3 angle Al 0 0 0 / 36.9 36.9 0 4 4 1.1 1.1 12 -1 0 0 0 -1 0
4 angle Al 0 0 0 / 1.1 36.9 0 4 4 1.1 1.1 12 0 -1 0 1 0 0
5 box_w sp 0 0 0 / 0 0 0
#end  frame2

#subd frame3      angle
1 angle Al 0 0 0 / 1.1 1.1 0 4 4 1.1 1.1 28.2
2 angle Al 0 0 0 / 36.9 1.1 0 4 4 1.1 1.1 28.2 0 1 0 -1 0 0
3 angle Al 0 0 0 / 36.9 36.9 0 4 4 1.1 1.1 28.2 -1 0 0 0 -1 0
4 angle Al 0 0 0 / 1.1 36.9 0 4 4 1.1 1.1 28.2 0 -1 0 1 0 0
5 box_w sp 0 0 0 / 0 0 0
#end  frame3

#subd topanti
#  top anti cm sinti
1 box scin 0 2 0 / 0 0 0 38 38 1 / 2 3 4 5
2 angle Al 0 0 0 / 1.1 1.1 0 4 4 1.1 1.1 1
3 angle Al 0 0 0 / 36.9 1.1 0 4 4 1.1 1.1 1 0 1 0 -1 0 0
4 angle Al 0 0 0 / 36.9 36.9 0 4 4 1.1 1.1 1 -1 0 0 0 -1 0
5 angle Al 0 0 0 / 1.1 36.9 0 4 4 1.1 1.1 1 0 -1 0 1 0 0
#   top anti; 4 peripheral part
6 sqpipe scin 0 2 0 / 0 0 1 38 38 1.1 1.1 1.1 35.8 35.8 / 7
7 box sp 0 0 0 / 4.3 0 1.4 29 1.1 0.7
8 box_w sp 0 0 0 / 0 0 0
#end topanti


#subd calorim   
1 box Pb 0 0 0 / 0 0 0.025d0 aa aa 0.5d0
2 emplate  0 0 0 / 0 0 +
#     world height is determined automatically (must be < actual h)
3 box_w Bakelite 0 0 0 / -1.9 -1.9 0.0 33.8d0 33.8d0 0.662d0
#end calorim

#subd xybelt
1 box scin 0 2 0 / 0 0 0.025d0 a a scifith
2 box scin 0 2 0 / 0 0 + a a =
#     world height is determined automatically (must be actual h)
3 box_w Acrylic 0 0 0 / -2.9 -2.9 0.0 33.8d0 33.8d0 0.25
#end xybelt

#subd fourxy     internally tawarazumi 4layers 
1 box scin 0 2 0 / 0 0 0.025d0 a a .36
#     world height is determined automatically (must be actual h)
2 box_w Acrylic 0 0 0 / -2.9 -2.9 0. 33.8d0 33.8d0 .41d0
#end fourxy

#subd sideanti
1 box scin 0 2 0 / 0 0 0 36.7 1.5 14.75d0
2 box_w sp 0 0 0 / 0 0 0
#end sideanti

#subd trigger
1 box scin 0 2 0 / 0 0 0.025d0 a a scinth
2 box_w Acrylic 0 0 0 / -3 -3 0.0 34.d0 34.d0 1.05d0
#end trigger

#subd clrfibx 
c         4 tawarazumi scifi x 0
1 box scin 0 0 0 / -3 0 28 28 28 0.36 -0.5 0 0.8660254 0 1 0/
c                       scifi x 1
2 box scin 0 0 0 / -3 0 30.3 25 28 0.36 -0.5 0 0.8660254 0 1 0/
c                   scifi x 2
3 box scin 0 0 0 / -3 0 32.6 25 28 0.36 -0.5 0 0.8660254 0 1 0/
c                  scifi x 3
4 box scin 0 0 0 / -3 0 35.3 25 28 0.1 -0.5 0 0.8660254 0 1 0/
c           scifi x  4
5 box scin 0 0 0 / -3 0 36.2 25 28 0.1 -0.5 0 0.8660254 0 1 0/
c           scifi 5
6 box scin 0 0 0 / -3 0 37.1 25 28 0.1 -0.5 0 0.8660254 0 1 0/
c             scifi 6
7 box scin 0 0 0 / -3 0 38.002 25 28 0.1 -0.5 0 0.8660254 0 1 0/
c          scifi 7
8 box scin 0 0 0 / -3 0 39.0 25 28 0.1 -0.5 0 0.8660254 0 1 0/
c           scifi 8
9 box scin 0 0 0 / -3 0 40.0 25 28 0.1 -0.5 0 0.8660254 0 1 0/
10 box_w sp 0 0 0 / 0 0 0
#end clrfibx

#subd clrfiby
c             4  scifi  y
1 box scin 0 0 0 / 0 -3.5 28.4 28 25 0.36 1 0 0 0 -0.5 0.8660254/
2 box scin 0 0 0 / 0 -3.5 30.7 28 25 0.36 1 0 0 0 -0.5 0.8660254/
3 box scin 0 0 0 / 0 -3.5 32.0 28 25 0.36 1 0 0 0 -0.5 0.8660254/
4 box scin 0 0 0 / 0 -3.5 35.4 28 25 0.1 1 0 0 0 -0.5 0.8660254/
5 box scin 0 0 0 / 0 -3.5 36.3 28 25 0.1 1 0 0 0 -0.5 0.8660254/
6 box scin 0 0 0 / 0 -3.5 37.2 28 25 0.1 1 0 0 0 -0.5 0.8660254/
7 box scin 0 0 0 / 0 -3.5 38.102 28 25 0.1 1 0 0 0 -0.5 0.8660254/
8 box scin 0 0 0 / 0 -3.5 39.1 28 25 0.1 1 0 0 0 -0.5 0.8660254/
9 box scin 0 0 0 / 0 -3.5 40.1 28 25 0.1 1 0 0 0 -0.5 0.8660254/
10 box_w sp 0 0 0 /0 0 0
#end clrfiby

# #################################################################
1 frame2  0 0 0 / -5d0 -5d0 0
2 frame1 0 0 0 / -2.9d0 -2.9d0 =8.0d0
3 topanti  0 0 0 /-5.d0 -5d.0 +
4 frame3  0 0 0 / -5d0 -5d0  =1.d0
5 angle Al 0 0 0 / -3.9d0 -3.9d0 =1 4 4 1.1 1.1 28.2
6 angle Al 0 0 0 / 31.9 -3.9 = 4 4 1.1 1.1 28.2 0 1 0 -1 0 0
7 angle Al 0 0 0 / 31.9 31.9 = 4 4 1.1 1.1 28.2 -1 0 0 0 -1 0
8 angle Al 0 0 0 / -3.9 31.9 = 4 4 1.1 1.1 28.2 0 -1 0 1 0 0
c    top trigger schinti to select vertical showers
9 trigger sp 0 0 0 / 0 0 =1.1
c
10 box sp 0 0 0 / 0 0 + a a 15.0
c      4 side anti's 
11 sideanti  0 0 0 / -5.1d0 -5.1d0 =
12 sideanti  0 0 0 / 33.1d0 -5.1d0 = 0 1 0 -1 0 0
13 sideanti  0 0 0 / 33.1d0 33.1d0 = -1 0 0 0 -1 0
14 sideanti  0 0 0 / -5.1d0 33.1d0 = 0 -1 0 1 0 0
c    emulsion 0
15 emplate2  0 0 0 / -1 -1 +
c    fiber xy 0 4 layes 
16 fourxy  0 0 0 / 0 0 +
17 fourxy  0 0 0 / 0 0 +
c    emulsion 1-6
18 emplate2 0 0 0 / -1 -1 +
19 withpb  0 0 0 / = = +
20 withpb  0 0 0 / = = +
21 withpb  0 0 0 / = = +
22 withpb  0 0 0 / = = +
23 withpb  0 0 0 / = = +
c    fiber xy 1 4 layers
24 fourxy  0 0 0 / 0 0 +
25 fourxy  0 0 0 / 0 0 +
c    emulsion 7-12
26 emplate2  0 0 0 / -1 -1 +
27 withpb  0 0 0 / = = +
28 withpb  0 0 0 / = = +
29 withpb  0 0 0 / = = +
30 withpb  0 0 0 / = = +
31 withpb  0 0 0 / = = +
c    fiber xy 2 4layers
32 fourxy  0 0 0 / 0 0 +
33 fourxy  0 0 0 / 0 0 +
c     2nd   trigger scinti
34 trigger  0 0 0 / 0 0 +
c    emulsion 13,14
35 withpb2  0 0 0 / -1 -1 +
36 withpb2  0 0 0 / = = +
c    fiber xy 3
37 xybelt 0 0 0 / 0 0 +
c    em 15
38 calorim  0 0 0 / -1 -1 +
c    fiber xy 4
39 xybelt 0 0 0 / 0 0 +
c    em 16
40 calorim  0 0 0 / -1 -1 +
c    fiber xy 5
41 xybelt  0 0 0 / 0 0 +
c      em 17
42 calorim  0 0 0 / -1 -1 +
c    fiber xy 6
43 xybelt 0 0 0 / 0 0 +
c     em 18
44 calorim  0 0 0 / -1 -1 +
c    fiber xy 7
45 xybelt  0 0 0 / 0 0 +

46 calorim  0 0 0 / -1 -1 +
c    fiber xy 8
47 xybelt  0 0 0 / 0 0 +
c    trigger
48 trigger  0 0 0 / 0 0 +
49 box Bakelite 0 0 0 / -1 -1 + aa aa 1
50 pipe Al 0 0 0 / 14 14 -5 50 50.4 70
51 cyl Al 0 0 0 / 14 14 -5.4 50.4 .4
52 cyl Al 0 0 0 / 14 14 65. 50.4 .4
c        1st scinti light guid
53 box Acrylic 0 0 0 / 33.5 0 12 35 28 1 .5 0. 0.8660254 0 1 0/
c        2nd scinti light guid
54 box Acrylic 0 0 0 / 28 33.5 32.5 25 28 1 0 0.5 0.8660254 -1 0 0/
55 clrfibx  0 0 0 / 0 0 0
56 clrfiby  0 0 0 / 0 0 0
57 sphere_w sp 0 0 0 / 14 14 50 50
--------------------------------------------------------


