/[PAMELA software]/trieste/pamVMC/gpamela.C
ViewVC logotype

Annotation of /trieste/pamVMC/gpamela.C

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Wed Mar 4 12:51:07 2009 UTC (15 years, 8 months ago) by pamelats
Branch: MAIN, pamVMC
CVS Tags: start, v0r00, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Test pamVMC

1 pamelats 1.1 void gpamela()
2     {
3     //
4     // This file has been generated automatically via the root
5     // utility g2root from an interactive version of GEANT
6     // (see ROOT class TGeoManager for an example of use)
7     //
8     gSystem->Load("libGeom");
9     TGeoRotation *rot;
10     TGeoNode *Node, *Node1;
11    
12     TGeoManager *gpamela = new TGeoManager("gpamela","gpamela.C");
13    
14    
15     //-----------List of Materials and Mixtures--------------
16    
17     TGeoMaterial *mat1 = new TGeoMaterial("HYDROGEN",1.01,1,0.7080000E-01);
18     mat1->SetUniqueID( 1);
19     TGeoMaterial *mat2 = new TGeoMaterial("DEUTERIUM",2.01,1,0.162);
20     mat2->SetUniqueID( 2);
21     TGeoMaterial *mat3 = new TGeoMaterial("HELIUM",4,2,0.125);
22     mat3->SetUniqueID( 3);
23     TGeoMaterial *mat4 = new TGeoMaterial("LITHIUM",6.94,3,0.534);
24     mat4->SetUniqueID( 4);
25     TGeoMaterial *mat5 = new TGeoMaterial("BERILLIUM",9.01,4,1.848);
26     mat5->SetUniqueID( 5);
27     TGeoMaterial *mat6 = new TGeoMaterial("CARBON",12.01,6,2.265);
28     mat6->SetUniqueID( 6);
29     TGeoMaterial *mat7 = new TGeoMaterial("NITROGEN",14.01,7,0.808);
30     mat7->SetUniqueID( 7);
31     TGeoMaterial *mat8 = new TGeoMaterial("NEON",20.18,10,1.207);
32     mat8->SetUniqueID( 8);
33     TGeoMaterial *mat9 = new TGeoMaterial("ALUMINIUM",26.98,13,2.7);
34     mat9->SetUniqueID( 9);
35     TGeoMaterial *mat10 = new TGeoMaterial("IRON",55.85,26,7.87);
36     mat10->SetUniqueID( 10);
37     TGeoMaterial *mat11 = new TGeoMaterial("COPPER",63.54,29,8.96);
38     mat11->SetUniqueID( 11);
39     TGeoMaterial *mat12 = new TGeoMaterial("TUNGSTEN",183.85,74,19.3);
40     mat12->SetUniqueID( 12);
41     TGeoMaterial *mat13 = new TGeoMaterial("LEAD",207.19,82,11.35);
42     mat13->SetUniqueID( 13);
43     TGeoMaterial *mat14 = new TGeoMaterial("URANIUM",238.03,92,18.95);
44     mat14->SetUniqueID( 14);
45     TGeoMaterial *mat15 = new TGeoMaterial("AIR",14.61,7.3,0.1205000E-02);
46     mat15->SetUniqueID( 15);
47     TGeoMaterial *mat16 = new TGeoMaterial("VACUUM",0,0,0);
48     mat16->SetUniqueID( 16);
49     TGeoMixture *mat17 = new TGeoMixture("SCINT",2, 1.03200 );
50     mat17->SetUniqueID( 17);
51     mat17->DefineElement(0,12.01,6,0.922427);
52     mat17->DefineElement(1,1.01,1,0.7757296E-01);
53     TGeoMixture *mat18 = new TGeoMixture("G10",2, 1.70000 );
54     mat18->SetUniqueID( 18);
55     mat18->DefineElement(0,60.06,30,0.4686818);
56     mat18->DefineElement(1,102.13,48,0.5313182);
57     TGeoMaterial *mat19 = new TGeoMaterial("N2GAS",14.01,7,0.1250000E-02);
58     mat19->SetUniqueID( 19);
59     TGeoMaterial *mat20 = new TGeoMaterial("SILICON TR",28.09,14,2.33);
60     mat20->SetUniqueID( 20);
61     TGeoMaterial *mat21 = new TGeoMaterial("SILICON CA",28.09,14,2.33);
62     mat21->SetUniqueID( 21);
63     TGeoMaterial *mat22 = new TGeoMaterial("XENON",131.29,54,0.5858000E-02);
64     mat22->SetUniqueID( 22);
65     TGeoMaterial *mat23 = new TGeoMaterial("TRDRAD",12.01,6,0.6000000E-02);
66     mat23->SetUniqueID( 23);
67     TGeoMaterial *mat24 = new TGeoMaterial("AEROGEL",96.11,54,0.2);
68     mat24->SetUniqueID( 24);
69     TGeoMixture *mat25 = new TGeoMixture("TUNGA",3, 18.1000 );
70     mat25->SetUniqueID( 25);
71     mat25->DefineElement(0,183.5,74,0.9827841);
72     mat25->DefineElement(1,58.6934,28,0.8272327E-02);
73     mat25->DefineElement(2,63.456,29,0.8943575E-02);
74     TGeoMixture *mat26 = new TGeoMixture("CERAMIC",4, 2.59400 );
75     mat26->SetUniqueID( 26);
76     mat26->DefineElement(0,26.98,13,0.21);
77     mat26->DefineElement(1,28.09,14,0.217);
78     mat26->DefineElement(2,16,8,0.558);
79     mat26->DefineElement(3,1.01,1,0.1500000E-01);
80     TGeoMixture *mat27 = new TGeoMixture("G10C",4, 1.70000 );
81     mat27->SetUniqueID( 27);
82     mat27->DefineElement(0,28.09,14,0.53);
83     mat27->DefineElement(1,16,8,0.3);
84     mat27->DefineElement(2,12.01,6,0.15);
85     mat27->DefineElement(3,1.01,1,0.2000000E-01);
86     TGeoMixture *mat28 = new TGeoMixture("PLAST",2, 1.03200 );
87     mat28->SetUniqueID( 28);
88     mat28->DefineElement(0,12.01,6,0.9929774);
89     mat28->DefineElement(1,1.01,1,0.7022570E-02);
90     TGeoMixture *mat29 = new TGeoMixture("MYLAR",3, 1.39000 );
91     mat29->SetUniqueID( 29);
92     mat29->DefineElement(0,12.011,6,0.6250159);
93     mat29->DefineElement(1,1.00794,1,0.4196011E-01);
94     mat29->DefineElement(2,15.9994,8,0.3330241);
95     TGeoMixture *mat30 = new TGeoMixture("POLYSTYRENE",2, 0.350000E-01);
96     mat30->SetUniqueID( 30);
97     mat30->DefineElement(0,12.011,6,0.9225789);
98     mat30->DefineElement(1,1.00794,1,0.7742105E-01);
99     TGeoMaterial *mat31 = new TGeoMaterial("CADMIUM",112.411,48,8.65);
100     mat31->SetUniqueID( 31);
101     TGeoMixture *mat32 = new TGeoMixture("TIALVA",3, 4.49234 );
102     mat32->SetUniqueID( 32);
103     mat32->DefineElement(0,47.867,22,0.9);
104     mat32->DefineElement(1,26.9815,13,0.6000000E-01);
105     mat32->DefineElement(2,50.9415,23,0.4000000E-01);
106     TGeoMaterial *mat33 = new TGeoMaterial("He3",3,2,0.1246000E-02);
107     mat33->SetUniqueID( 33);
108     TGeoMixture *mat34 = new TGeoMixture("POLYETHYLENE",2, 0.930000 );
109     mat34->SetUniqueID( 34);
110     mat34->DefineElement(0,12.011,6,0.8562844);
111     mat34->DefineElement(1,1.00794,1,0.1437155);
112    
113     //-----------List of Tracking Media--------------
114    
115     TGeoMedium *med1 = new TGeoMedium("ALUMINIUM",1,9,-1,1,40,1,100,0.5000000E-01,0.1425,0.5000000E-03);
116     TGeoMedium *med2 = new TGeoMedium("G10",2,18,-1,1,40,1,0.15,0.5000000E-01,0.1750000E-02,0.5000000E-03);
117     TGeoMedium *med3 = new TGeoMedium("N2 GAS",3,19,-1,1,40,1,0.5000000E-01,0.5000000E-01,0.1000000E-01,0.5000000E-03);
118     TGeoMedium *med4 = new TGeoMedium("TUNGSTEN",4,12,-1,1,40,1,0.5000000E-01,0.5000000E-01,0.2630000E-02,0.5000000E-03);
119     TGeoMedium *med5 = new TGeoMedium("IRON",5,10,-1,1,40,1,0.5000000E-01,0.5000000E-01,0.8000000E-01,0.5000000E-03);
120     TGeoMedium *med6 = new TGeoMedium("KAPTON",6,17,1,1,40,1,100,0.5000000E-01,0.6000012E-04,0.5000000E-03);
121     TGeoMedium *med7 = new TGeoMedium("TRD RADIATOR",7,23,-1,1,40,1,0.5000000E-01,0.5000000E-01,0.1520000E-01,0.5000000E-03);
122     TGeoMedium *med8 = new TGeoMedium("ROACELL",8,17,-1,1,40,1,0.5000000E-01,0.5000000E-01,0.2000000E-01,0.5000000E-03);
123     TGeoMedium *med9 = new TGeoMedium("CARBON FIBER",9,17,-1,1,40,1,0.5000000E-01,0.5000000E-01,0.5000000E-02,0.5000000E-03);
124     TGeoMedium *med10 = new TGeoMedium("SCINTILLATOR",10,17,1,1,40,1,0.5000000E-01,0.5000000E-01,0.1000000E-01,0.5000000E-03);
125     TGeoMedium *med11 = new TGeoMedium("SICALO",11,21,1,1,40,1,100,0.5000000E-01,0.3800000E-03,0.5000000E-03);
126     TGeoMedium *med12 = new TGeoMedium("SITRACKER",12,20,1,1,40,1,0.1000000E-02,0.5000000E-01,0.5000000E-04,0.1569056E-01);
127     TGeoMedium *med13 = new TGeoMedium("XENON",13,22,1,1,40,1,0.5000000E-01,0.5000000E-01,0.2000000E-02,0.5000000E-03);
128     TGeoMedium *med14 = new TGeoMedium("AEROGEL",14,24,1,1,40,1,0.5000000E-01,0.5000000E-01,0.2000000E-01,0.5000000E-03);
129     TGeoMedium *med15 = new TGeoMedium("TUNGA",15,25,-1,1,40,1,100,0.5000000E-01,0.2630000E-02,0.5000000E-03);
130     TGeoMedium *med16 = new TGeoMedium("KAOLINITE",16,26,-1,1,40,1,100,0.5000000E-01,0.5000000E-04,0.5000000E-03);
131     TGeoMedium *med17 = new TGeoMedium("G10C",17,27,-1,1,40,1,100,0.5000000E-01,0.1200000E-02,0.5000000E-03);
132     TGeoMedium *med18 = new TGeoMedium("PLASTIC",18,28,-1,1,40,1,100,0.5000000E-01,0.1000000E-01,0.5000000E-03);
133     TGeoMedium *med19 = new TGeoMedium("MYLAR",19,29,-1,1,40,1,100,0.5000000E-01,0.2300000E-04,0.5000000E-03);
134     TGeoMedium *med20 = new TGeoMedium("POLYSTYRENE",20,30,-1,1,40,1,100,0.5000000E-01,0.4000000E-02,0.5000000E-03);
135     TGeoMedium *med21 = new TGeoMedium("CADMIUM",21,31,-1,1,40,1,0.5000000E-01,0.5000000E-01,0.5000000E-03,0.5000000E-03);
136     TGeoMedium *med22 = new TGeoMedium("He3",22,33,-1,1,40,1,0.5000000E-01,0.5000000E-01,0.1840000E-01,0.5000000E-03);
137     TGeoMedium *med23 = new TGeoMedium("POLYETHYLENE",23,34,-1,1,40,1,100,0.5000000E-01,0.2000000E-01,0.5000000E-03);
138     TGeoMedium *med24 = new TGeoMedium("TITANIUM Mixture",24,32,-1,1,40,1,0.5000000E-01,0.5000000E-01,0.3200000E-01,0.5000000E-03);
139    
140     //-----------List of Rotation matrices--------------
141    
142     TGeoRotation *rot1 = new TGeoRotation("rot1",90,90,90,180,0,0);
143     TGeoRotation *rot2 = new TGeoRotation("rot2",90,0,180,90,90,90);
144     TGeoRotation *rot3 = new TGeoRotation("rot3",90,90,90,360,180,0);
145     TGeoRotation *rot4 = new TGeoRotation("rot4",90,180,90,270,0,0);
146     TGeoRotation *rot5 = new TGeoRotation("rot5",90,180,90,90,180,0);
147     TGeoRotation *rot6 = new TGeoRotation("rot6",90,270,90,360,0,0);
148     TGeoRotation *rot7 = new TGeoRotation("rot7",0,0,90,90,90,180);
149     TGeoRotation *rot8 = new TGeoRotation("rot8",180,0,90,90,90,0);
150     TGeoRotation *rot9 = new TGeoRotation("rot9",90,180,90,90,180,0);
151     TGeoRotation *rot10 = new TGeoRotation("rot10",90,0,90,270,180,0);
152     TGeoRotation *rot11 = new TGeoRotation("rot11",90,0,73,90,163,90);
153     TGeoRotation *rot12 = new TGeoRotation("rot12",90,180,253,270,163,270);
154     TGeoRotation *rot13 = new TGeoRotation("rot13",90,270,70,0,160,0);
155     TGeoRotation *rot14 = new TGeoRotation("rot14",90,90,70,180,160,180);
156    
157     //-----------List of Volumes--------------
158    
159     TGeoVolume *PAME = gGeoManager->MakeTube("PAME",med3,0,53,130);
160     TGeoVolume *SHEL = gGeoManager->MakeCone("SHEL",med1,38.25,52.5,52.65,43.77,43.92);
161     TGeoVolume *TSPH = gGeoManager->MakeSphere("TSPH",med1,239.83,240,0,10.54455,0,360);
162     TGeoVolume *MSHE = gGeoManager->MakeTube("MSHE",med1,52.5,52.75,20);
163     TGeoVolume *BSPH = gGeoManager->MakeSphere("BSPH",med1,52.5,52.75,90,180,0,360);
164     TGeoVolume *TPLA = gGeoManager->MakeBox("TPLA",med3,28,27.165,1.6);
165     TGeoVolume *TPTU = gGeoManager->MakeBox("TPTU",med24,2.55,1.95,0.6);
166     TGeoVolume *TPTM = gGeoManager->MakeBox("TPTM",med24,3.45,3.3,0.75);
167     TGeoVolume *TPTL = gGeoManager->MakeBox("TPTL",med24,21.9,21.1,0.25);
168     TGeoVolume *TPCV = gGeoManager->MakeBox("TPCV",med3,8.5,7,0.25);
169     TGeoVolume *S1__ = gGeoManager->MakeBox("S1",med1,20.4184,16.5138,1.3976);
170     TGeoVolume *S2__ = gGeoManager->MakeBox("S2",med1,9.0046,7.5046,0.7476);
171     TGeoVolume *S1A_ = gGeoManager->MakeBox("S1A",med3,20.4184,16.5138,1.3646);
172     TGeoVolume *S2A_ = gGeoManager->MakeBox("S2A",med3,9.0046,7.5046,0.7146);
173     TGeoVolume *S3__ = gGeoManager->MakeBox("S3",med3,9.010349,7.51035,0.7819);
174     TGeoVolume *S11M = gGeoManager->MakeBox("S11M",med19,2.5523,16.5,0.3523);
175     TGeoVolume *S12M = gGeoManager->MakeBox("S12M",med19,20.4,2.7523,0.3523);
176     TGeoVolume *S21M = gGeoManager->MakeBox("S21M",med19,9,3.7523,0.2523);
177     TGeoVolume *S22M = gGeoManager->MakeBox("S22M",med19,4.5023,7.5,0.2523);
178     TGeoVolume *S31M = gGeoManager->MakeBox("S31M",med19,3.00345,7.5,0.35345);
179     TGeoVolume *S32M = gGeoManager->MakeBox("S32M",med19,9,2.50345,0.35345);
180     TGeoVolume *POL1 = gGeoManager->MakeBox("POL1",med20,20.4184,16.5138,0.45);
181     TGeoVolume *POL2 = gGeoManager->MakeBox("POL2",med20,20.4184,16.5138,0.2);
182     TGeoVolume *POLY = gGeoManager->MakeBox("POLY",med20,9.0046,7.5046,0.2);
183     TGeoVolume *S4AL = gGeoManager->MakeBox("S4AL",med1,24.2,24.2,0.6);
184     TGeoVolume *S4__ = gGeoManager->MakeBox("S4",med10,24.1,24.1,0.5);
185     TGeoVolume *S11Y = gGeoManager->MakeBox("S11Y",med10,2.55,16.5,0.35);
186     TGeoVolume *S12X = gGeoManager->MakeBox("S12X",med10,20.4,2.75,0.35);
187     TGeoVolume *S21X = gGeoManager->MakeBox("S21X",med10,9,3.75,0.25);
188     TGeoVolume *S22Y = gGeoManager->MakeBox("S22Y",med10,4.5,7.5,0.25);
189     TGeoVolume *S31Y = gGeoManager->MakeBox("S31Y",med10,3,7.5,0.35);
190     TGeoVolume *S32X = gGeoManager->MakeBox("S32X",med10,9,2.5,0.35);
191     TGeoVolume *CATA = gGeoManager->MakeBox("CATA",med3,28,0.6,27.165);
192     TGeoVolume *ATBB = gGeoManager->MakeBox("ATBB",med1,28,0.6,27.165);
193     TGeoVolume *PLA2 = gGeoManager->MakeBox("PLA2",med18,27.65,0.4,26.815);
194     TGeoVolume *TOP1 = gGeoManager->MakeBox("TOP1",med10,26.85,0.4,26.015);
195     TGeoVolume *PTBM = gGeoManager->MakeBox("PTBM",med18,10.11,0.4,8.44);
196     TGeoVolume *ATBM = gGeoManager->MakeBox("ATBM",med1,9.41,0.4,7.74);
197     TGeoVolume *LTBM = gGeoManager->MakeBox("LTBM",med3,9.11,0.6,7.44);
198     TGeoVolume *PTBC = gGeoManager->MakeBox("PTBC",med18,4.975,0.4,5.5575);
199     TGeoVolume *ATBC = gGeoManager->MakeBox("ATBC",med1,4.975,0.4,5.5575);
200     TGeoVolume *LTBC = gGeoManager->MakeBox("LTBC",med3,4.975,0.6,5.5575);
201     TGeoVolume *PTRT = gGeoManager->MakeTrd1("PTRT",med18,0,16.9,0.4,2.405);
202     TGeoVolume *ATRT = gGeoManager->MakeTrd1("ATRT",med1,0,17.7,0.4,2.405);
203     TGeoVolume *LTRT = gGeoManager->MakeTrd1("LTRT",med3,0,18.05,0.6,2.405);
204     TGeoVolume *PTRB = gGeoManager->MakeTrd1("PTRB",med18,16.9,0,0.4,2.405);
205     TGeoVolume *ATRB = gGeoManager->MakeTrd1("ATRB",med1,17.7,0,0.4,2.405);
206     TGeoVolume *LTRB = gGeoManager->MakeTrd1("LTRB",med3,18.05,0,0.6,2.405);
207     TGeoVolume *PTRL = gGeoManager->MakeTrd1("PTRL",med18,0,14.9,0.4,2.375);
208     TGeoVolume *ATRL = gGeoManager->MakeTrd1("ATRL",med1,0,15.7,0.4,2.375);
209     TGeoVolume *LTRL = gGeoManager->MakeTrd1("LTRL",med3,0,16.05,0.6,2.375);
210     TGeoVolume *CASA = gGeoManager->MakeBox("CASA",med3,21.45,0.6,20.55);
211     TGeoVolume *STRP = gGeoManager->MakeBox("STRP",med1,21.45,0.6,20.55);
212     TGeoVolume *SID1 = gGeoManager->MakeBox("SID1",med10,20.3,0.4,19.4);
213     TGeoVolume *PLA1 = gGeoManager->MakeBox("PLA1",med18,21.1,0.4,20.2);
214     TGeoVolume *STP1 = gGeoManager->MakeTrap("STP1",med18,16.1,7.361413,0,0.4,0,0,0,0.4,4.16,4.16,0);
215     TGeoVolume *STP2 = gGeoManager->MakeTrap("STP2",med18,2.4,20.55605,0,0.4,0,0,0,0.4,1.8,1.8,0);
216     TGeoVolume *STP3 = gGeoManager->MakeTrap("STP3",med18,0.9,58.17256,0,0.4,1.8,1.8,0,0.4,4.7,4.7,0);
217     TGeoVolume *STA1 = gGeoManager->MakeTrap("STA1",med1,16.5,7.355684,0,0.4,0,0,0,0.4,4.26,4.26,0);
218     TGeoVolume *STA2 = gGeoManager->MakeTrap("STA2",med1,2.8,21.44774,0,0.4,0,0,0,0.4,2.2,2.2,0);
219     TGeoVolume *STA3 = gGeoManager->MakeTrap("STA3",med1,0.9,58.17256,0,0.4,2.2,2.2,0,0.4,5.1,5.1,0);
220     TGeoVolume *STL1 = gGeoManager->MakeTrap("STL1",med3,16.675,7.355378,0,0.6,0,0,0,0.6,4.305,4.305,0);
221     TGeoVolume *STL2 = gGeoManager->MakeTrap("STL2",med3,2.8,21.44774,0,0.6,0,0,0,0.6,2.2,2.2,0);
222     TGeoVolume *STL3 = gGeoManager->MakeTrap("STL3",med3,1.075,58.18079,0,0.6,2.15,2.15,0,0.6,5.615,5.615,0);
223     TGeoVolume *C1D1 = gGeoManager->MakeTrap("C1D1",med10,9.075,17.37456,180,0.4,17.1515,17.1515,0,0.4,15.99778,15.99778,0);
224     TGeoVolume *C2D1 = gGeoManager->MakeTrap("C2D1",med10,9.075,14.89904,180,0.4,14.5515,14.5515,0,0.4,14.24778,14.24778,0);
225     TGeoVolume *CAR1 = gGeoManager->MakeTrap("CAR1",med1,10.175,17.37456,180,0.55,18.37594,18.37594,0,0.55,17.08238,17.08238,0);
226     TGeoVolume *CR1P = gGeoManager->MakeTrap("CR1P",med18,9.974999,17.37456,180,0.4,18.15331,18.15331,0,0.4,16.88518,16.88518,0);
227     TGeoVolume *CAR2 = gGeoManager->MakeTrap("CAR2",med1,10.175,14.89904,180,0.55,15.70831,15.70831,0,0.55,15.36778,15.36778,0);
228     TGeoVolume *CR2P = gGeoManager->MakeTrap("CR2P",med18,9.974999,14.89904,180,0.4,15.49798,15.49798,0,0.4,15.16415,15.16415,0);
229     TGeoVolume *VSN1 = gGeoManager->MakeTrap("VSN1",med3,3.3,14.05436,0,0.4,0,0,0,0.4,3.297782,3.297782,0);
230     TGeoVolume *VSN2 = gGeoManager->MakeTrap("VSN2",med18,0.9,63.27491,0,0.4,0,0,0,0.4,2.225,2.225,0);
231     TGeoVolume *VPN2 = gGeoManager->MakeTrap("VPN2",med1,0.7358874,63.27491,0,0.55,0,0,0,0.55,1.819277,1.819277,0);
232     TGeoVolume *VPN1 = gGeoManager->MakeTrap("VPN1",med3,4.214088,14.05436,0,0.4,0,0,0,0.4,4.211256,4.211256,0);
233     TGeoVolume *VAN1 = gGeoManager->MakeTrap("VAN1",med3,4.417219,14.05436,0,0.55,0,0,0,0.55,4.41425,4.41425,0);
234     TGeoVolume *VAN2 = gGeoManager->MakeTrap("VAN2",med3,0.6994181,63.27491,0,0.55,0,0,0,0.55,1.729117,1.729117,0);
235     TGeoVolume *CARD = gGeoManager->MakeBox("CARD",med3,27,22.8,12.35);
236     TGeoVolume *LEGB = gGeoManager->MakeBox("LEGB",med1,2.15,3.575,11.85);
237     TGeoVolume *LEG1 = gGeoManager->MakeTrap("LEG1",med3,0.65,0,0,0.15,6.85,6.85,0,0.15,10.85,10.85,0);
238     TGeoVolume *LEG2 = gGeoManager->MakeBox("LEG2",med3,0.65,1.65,11.35);
239     TGeoVolume *LEG3 = gGeoManager->MakeBox("LEG3",med3,0.1,1.3,0.325);
240     TGeoVolume *LEG4 = gGeoManager->MakeBox("LEG4",med3,0.65,1.625,11.85);
241     TGeoVolume *LEG5 = gGeoManager->MakeBox("LEG5",med3,1.125,2.575,11.85);
242     TGeoVolume *LEG6 = gGeoManager->MakeBox("LEG6",med3,0.1,0.55,11.2);
243     TGeoVolume *LEG7 = gGeoManager->MakeBox("LEG7",med3,1.1,0.75,3.25);
244     TGeoVolume *LEG8 = gGeoManager->MakeBox("LEG8",med3,1.1,0.75,4.35);
245     TGeoVolume *LEG9 = gGeoManager->MakeBox("LEG9",med3,1.1,0.75,3.25);
246     TGeoVolume *TPLT = gGeoManager->MakeBox("TPLT",med1,27,22.8,0.5);
247     TGeoVolume *TOPC = gGeoManager->MakeBox("TOPC",med3,20.4,16,0.5);
248     TGeoVolume *TH11 = gGeoManager->MakeBox("TH11",med3,2.8,3.2,0.5);
249     TGeoVolume *TH12 = gGeoManager->MakeBox("TH12",med3,2.8,5.3,0.5);
250     TGeoVolume *TH21 = gGeoManager->MakeBox("TH21",med3,1.7,3,0.5);
251     TGeoVolume *TH22 = gGeoManager->MakeBox("TH22",med3,4.9,3,0.5);
252     TGeoVolume *TOPT = gGeoManager->MakeTrap("TOPT",med3,0.5,0,0,2.25,2.25,0,-26.565,2.25,2.25,0,-26.565);
253     TGeoVolume *TOHO = gGeoManager->MakeTube("TOHO",med3,0.7,0.7,0.5);
254     TGeoVolume *MGSC = gGeoManager->MakeBox("MGSC",med10,16,15.4,0.12456);
255     TGeoVolume *MGSH = gGeoManager->MakeBox("MGSH",med3,9.8,8,0.12456);
256     TGeoVolume *SPEB = gGeoManager->MakeBox("SPEB",med3,15,14.4,22.615);
257     TGeoVolume *MGFR = gGeoManager->MakeBox("MGFR",med1,15,14.4,4.45);
258     TGeoVolume *MGPL = gGeoManager->MakeBox("MGPL",med5,12,11.4,4);
259     TGeoVolume *MGPI = gGeoManager->MakeBox("MGPI",med3,8.07,6.57,4);
260     TGeoVolume *TRPB = gGeoManager->MakeBox("TRPB",med1,10.49,12.15,0.365);
261     TGeoVolume *TPAS = gGeoManager->MakeBox("TPAS",med3,8.2,9.9,0.365);
262     TGeoVolume *TPAI = gGeoManager->MakeBox("TPAI",med1,8.144,1.25,0.5000000E-01);
263     TGeoVolume *TRSL = gGeoManager->MakeBox("TRSL",med12,2.6665,3.5,0.1500000E-01);
264     TGeoVolume *THBP = gGeoManager->MakeBox("THBP",med17,2.6665,2.75,0.1500000E-01);
265     TGeoVolume *TSPA = gGeoManager->MakeBox("TSPA",med12,2.596,3.413,0.1500000E-01);
266     TGeoVolume *TRCP = gGeoManager->MakeBox("TRCP",med9,0.3500000E-01,9.9,0.25);
267     TGeoVolume *TBAL = gGeoManager->MakeBox("TBAL",med1,1.49,2.25,0.365);
268     TGeoVolume *MGPA = gGeoManager->MakeBox("MGPA",med1,8.1,6.6,4);
269     TGeoVolume *TPGA = gGeoManager->MakeBox("TPGA",med3,10.29,10.65,0.4000000E-01);
270     TGeoVolume *TPGI = gGeoManager->MakeBox("TPGI",med3,8.07,6.57,0.1500000E-01);
271     TGeoVolume *TPGU = gGeoManager->MakeBox("TPGU",med3,10.49,12.15,0.1000000E-01);
272     TGeoVolume *TPGD = gGeoManager->MakeBox("TPGD",med3,12,11.4,0.5000000E-02);
273     TGeoVolume *CALB = gGeoManager->MakeBox("CALB",med3,23.2,23.2,10.589);
274     CALB->SetVisibility(-2);
275     TGeoVolume *CALS = gGeoManager->MakeBox("CALS",med1,24.2,24.2,10.639);
276     TGeoVolume *CAPL = gGeoManager->MakeBox("CAPL",med3,12.3,12.3,0.1900000E-01);
277     TGeoVolume *CANS = gGeoManager->MakeBox("CANS",med3,12.3,12.3,0.7000000E-01);
278     TGeoVolume *CAPD = gGeoManager->MakeBox("CAPD",med3,12.3,12.3,0.7000000E-01);
279     TGeoVolume *CASI = gGeoManager->MakeBox("CASI",med11,3.904,3.904,0.1900000E-01);
280     TGeoVolume *C10C = gGeoManager->MakeBox("C10C",med17,12.3,12.3,0.6000000E-01);
281     TGeoVolume *CAAB = gGeoManager->MakeBox("CAAB",med15,12.3,12.3,0.1315);
282     TGeoVolume *CAAD = gGeoManager->MakeBox("CAAD",med1,12.3,12.3,0.133);
283     TGeoVolume *CAKA = gGeoManager->MakeBox("CAKA",med16,12.3,12.3,0.2500000E-02);
284     TGeoVolume *CAKP = gGeoManager->MakeBox("CAKP",med6,12.3,12.3,0.2500000E-02);
285     TGeoVolume *CAGL = gGeoManager->MakeBox("CAGL",med11,12.3,12.3,0.5000000E-02);
286     TGeoVolume *NDBO = gGeoManager->MakeBox("NDBO",med3,27.5,30,7.5);
287     TGeoVolume *NDBX = gGeoManager->MakeBox("NDBX",med1,21.45,21.45,7);
288     TGeoVolume *NDCD = gGeoManager->MakeBox("NDCD",med21,21.25,21.25,6.9);
289     TGeoVolume *NDBI = gGeoManager->MakeBox("NDBI",med3,21.2,21.2,6.875);
290     TGeoVolume *NDTU = gGeoManager->MakeTube("NDTU",med10,0.92,0.925,10);
291     TGeoVolume *NDTI = gGeoManager->MakeTube("NDTI",med22,0,0.92,10);
292     TGeoVolume *NDPB = gGeoManager->MakeBox("NDPB",med23,21.2,21.2,1);
293     TGeoVolume *NDCO = gGeoManager->MakeBox("NDCO",med1,27.5,30,0.5);
294     TGeoVolume *NDBS = gGeoManager->MakeBox("NDBS",med1,15,4.275,7);
295     TGeoVolume *NDSS = gGeoManager->MakeBox("NDSS",med3,14.8,4.075,6.8);
296     TGeoVolume *NDCI = gGeoManager->MakeBox("NDCI",med3,21.2,11.3,0.325);
297     TGeoVolume *NDCM = gGeoManager->MakeBox("NDCM",med3,21.2,4.25,0.325);
298     TGeoVolume *NDCE = gGeoManager->MakeBox("NDCE",med3,14.6,2.875,0.325);
299     TGeoVolume *NDSI = gGeoManager->MakeBox("NDSI",med3,1,7.26,0.325);
300     TGeoVolume *NDSM = gGeoManager->MakeBox("NDSM",med3,1,5.8,0.325);
301     TGeoVolume *NDSE = gGeoManager->MakeBox("NDSE",med3,4.2,1.05,0.325);
302    
303     //-----------List of Nodes--------------
304    
305     gGeoManager->SetTopVolume(PAME);
306     PAME->AddNode(SHEL,1,new TGeoTranslation(0,0,65.939));
307     PAME->AddNode(TSPH,1,new TGeoTranslation(0,0,-131.7581));
308     PAME->AddNode(MSHE,1,new TGeoTranslation(0,0,7.689003));
309     PAME->AddNode(BSPH,1,new TGeoTranslation(0,0,-12.311));
310     PAME->AddNode(S1__,1,new TGeoTranslation(0,0,102.8866));
311     S1__->AddNode(S1A_,0,gGeoIdentity);
312     S1A_->AddNode(POL2,1,new TGeoTranslation(0,0,-1.1546));
313     S1A_->AddNode(S12M,1,new TGeoTranslation(0,-13.7592,-0.6022999));
314     S12M->AddNode(S12X,1,gGeoIdentity);
315     S1A_->AddNode(S12M,2,new TGeoTranslation(0,-8.2546,-0.6022999));
316     S1A_->AddNode(S12M,3,new TGeoTranslation(0,-2.75,-0.6022999));
317     S1A_->AddNode(S12M,4,new TGeoTranslation(0,2.754601,-0.6022999));
318     S1A_->AddNode(S12M,5,new TGeoTranslation(0,8.2592,-0.6022999));
319     S1A_->AddNode(S12M,6,new TGeoTranslation(0,13.7638,-0.6022999));
320     S1A_->AddNode(S11M,1,new TGeoTranslation(-17.8638,0,0.1023));
321     S11M->AddNode(S11Y,1,gGeoIdentity);
322     S1A_->AddNode(S11M,2,new TGeoTranslation(-12.7592,0,0.1023));
323     S1A_->AddNode(S11M,3,new TGeoTranslation(-7.6546,0,0.1023));
324     S1A_->AddNode(S11M,4,new TGeoTranslation(-2.55,0,0.1023));
325     S1A_->AddNode(S11M,5,new TGeoTranslation(2.5546,0,0.1023));
326     S1A_->AddNode(S11M,6,new TGeoTranslation(7.6592,0,0.1023));
327     S1A_->AddNode(S11M,7,new TGeoTranslation(12.7638,0,0.1023));
328     S1A_->AddNode(S11M,8,new TGeoTranslation(17.8684,0,0.1023));
329     S1A_->AddNode(POL1,1,new TGeoTranslation(0,0,0.9046));
330     PAME->AddNode(CARD,1,new TGeoTranslation(0,0,87.439));
331     CARD->AddNode(CAR1,1,new TGeoCombiTrans(-3.91289,-13.17068,0.1509358,rot11));
332     CAR1->AddNode(VAN1,1,new TGeoTranslation(-16.95761,0,5.757782));
333     CAR1->AddNode(VAN2,1,new TGeoTranslation(-11.09758,0,9.475582));
334     CAR1->AddNode(CR1P,1,new TGeoTranslation(0.3790001E-02,0,0));
335     CR1P->AddNode(VPN1,1,new TGeoTranslation(-16.84998,0,5.760911));
336     CR1P->AddNode(VPN2,1,new TGeoTranslation(-11.22606,0,9.239112));
337     CR1P->AddNode(C1D1,1,new TGeoTranslation(0.1705500E-01,0,0));
338     C1D1->AddNode(VSN1,1,new TGeoTranslation(-16.36562,0,5.775));
339     C1D1->AddNode(VSN2,1,new TGeoTranslation(-11.80423,0,8.175));
340     CARD->AddNode(CAR1,2,new TGeoCombiTrans(3.91289,13.17068,0.1509358,rot12));
341     CARD->AddNode(CAR2,1,new TGeoCombiTrans(15.79685,-4.187448,0.9491571E-02,rot14));
342     CAR2->AddNode(VAN1,2,new TGeoTranslation(-14.7665,0,5.757782));
343     CAR2->AddNode(VAN2,2,new TGeoTranslation(-8.906463,0,9.475582));
344     CAR2->AddNode(CR2P,1,new TGeoTranslation(0.8603846E-03,0,0));
345     CR2P->AddNode(VPN1,2,new TGeoTranslation(-14.66179,0,5.760911));
346     CR2P->AddNode(VPN2,2,new TGeoTranslation(-9.037874,0,9.239112));
347     CR2P->AddNode(C2D1,1,new TGeoTranslation(0.3871730E-02,0,0));
348     C2D1->AddNode(VSN1,2,new TGeoTranslation(-14.19062,0,5.775));
349     C2D1->AddNode(VSN2,2,new TGeoTranslation(-9.629226,0,8.175));
350     CARD->AddNode(CAR2,2,new TGeoCombiTrans(-15.79685,4.187448,0.9491571E-02,rot13));
351     CARD->AddNodeOverlap(LEGB,1,new TGeoTranslation(-21.05,-18.525,-0.5));
352     LEGB->AddNode(LEG1,1,new TGeoCombiTrans(-1.5,-3.425,0,rot7));
353     LEGB->AddNode(LEG1,2,new TGeoCombiTrans(-1.5,0.175,0,rot7));
354     LEGB->AddNode(LEG2,1,new TGeoTranslation(-1.5,-1.625,0));
355     LEGB->AddNode(LEG3,1,new TGeoTranslation(-0.5500001,2.275,11.525));
356     LEGB->AddNode(LEG3,2,new TGeoTranslation(-0.5500001,2.275,-11.525));
357     LEGB->AddNode(LEG4,1,new TGeoTranslation(-1.5,1.95,0));
358     LEGB->AddNode(LEG5,1,new TGeoTranslation(1.025,1,0));
359     LEGB->AddNode(LEG6,1,new TGeoTranslation(-0.7500001,3.025,0));
360     LEGB->AddNode(LEG7,1,new TGeoTranslation(0.6500001,-2.825,8));
361     LEGB->AddNode(LEG8,1,new TGeoTranslation(0.6500001,-2.825,0));
362     LEGB->AddNode(LEG9,1,new TGeoTranslation(0.6500001,-2.825,-8));
363     CARD->AddNodeOverlap(LEGB,2,new TGeoCombiTrans(-21.05,18.525,-0.5,rot10));
364     CARD->AddNodeOverlap(LEGB,3,new TGeoCombiTrans(21.05,18.525,-0.5,rot4));
365     CARD->AddNodeOverlap(LEGB,4,new TGeoCombiTrans(21.05,-18.525,-0.5,rot9));
366     CARD->AddNode(TPLT,1,new TGeoTranslation(0,0,11.85));
367     TPLT->AddNode(TOPC,1,gGeoIdentity);
368     TPLT->AddNode(TH11,1,new TGeoTranslation(-23.6,14.4,0));
369     TPLT->AddNode(TH11,2,new TGeoTranslation(-23.6,-14.4,0));
370     TPLT->AddNode(TH11,3,new TGeoTranslation(23.6,14.4,0));
371     TPLT->AddNode(TH11,4,new TGeoTranslation(23.6,-14.4,0));
372     TPLT->AddNode(TH12,1,new TGeoTranslation(-23.6,5.5,0));
373     TPLT->AddNode(TH12,2,new TGeoTranslation(-23.6,-5.5,0));
374     TPLT->AddNode(TH12,3,new TGeoTranslation(23.6,5.5,0));
375     TPLT->AddNode(TH12,4,new TGeoTranslation(23.6,-5.5,0));
376     TPLT->AddNode(TH21,1,new TGeoTranslation(-17.2,19.4,0));
377     TPLT->AddNode(TH21,2,new TGeoTranslation(-17.2,-19.4,0));
378     TPLT->AddNode(TH21,3,new TGeoTranslation(17.2,19.4,0));
379     TPLT->AddNode(TH21,4,new TGeoTranslation(17.2,-19.4,0));
380     TPLT->AddNode(TH22,1,new TGeoTranslation(-10.2,19.4,0));
381     TPLT->AddNode(TH22,2,new TGeoTranslation(-10.2,-19.4,0));
382     TPLT->AddNode(TH22,3,new TGeoTranslation(10.2,19.4,0));
383     TPLT->AddNode(TH22,4,new TGeoTranslation(10.2,-19.4,0));
384     TPLT->AddNode(TH22,5,new TGeoTranslation(0,19.4,0));
385     TPLT->AddNode(TH22,6,new TGeoTranslation(0,-19.4,0));
386     TPLT->AddNode(TOPT,1,new TGeoTranslation(-25.875,-20.55,0));
387     TPLT->AddNode(TOPT,2,new TGeoCombiTrans(-25.875,20.55,0,rot10));
388     TPLT->AddNode(TOPT,3,new TGeoCombiTrans(25.875,20.55,0,rot4));
389     TPLT->AddNode(TOPT,4,new TGeoCombiTrans(25.875,-20.55,0,rot9));
390     TPLT->AddNode(TOHO,1,new TGeoTranslation(20.1,18,0));
391     TPLT->AddNode(TOHO,2,new TGeoTranslation(-20.1,18,0));
392     TPLT->AddNode(TOHO,3,new TGeoTranslation(-20.1,-18,0));
393     TPLT->AddNode(TOHO,4,new TGeoTranslation(20.1,-18,0));
394     CARD->AddNode(MGSC,1,new TGeoTranslation(0,0,-12.22544));
395     MGSC->AddNode(MGSH,1,gGeoIdentity);
396     PAME->AddNode(TPLA,1,new TGeoTranslation(0,0,73.489));
397     TPLA->AddNode(TPTL,1,new TGeoTranslation(0,0,-1.35));
398     TPTL->AddNode(TPCV,1,gGeoIdentity);
399     TPLA->AddNode(S2__,1,new TGeoTranslation(0,0,-0.3524001));
400     S2__->AddNode(S2A_,1,gGeoIdentity);
401     S2A_->AddNode(S22M,1,new TGeoTranslation(-4.5,0,-0.4523));
402     S22M->AddNode(S22Y,1,gGeoIdentity);
403     S2A_->AddNode(S22M,2,new TGeoTranslation(4.5046,0,-0.4523));
404     S2A_->AddNode(S21M,1,new TGeoTranslation(0,-3.75,0.5230001E-01));
405     S21M->AddNode(S21X,1,gGeoIdentity);
406     S2A_->AddNode(S21M,2,new TGeoTranslation(0,3.7546,0.5230001E-01));
407     S2A_->AddNode(POLY,1,new TGeoTranslation(0,0,0.5046));
408     TPLA->AddNode(TPTM,1,new TGeoTranslation(-19.75,-18.8,-0.3524001));
409     TPLA->AddNode(TPTM,2,new TGeoTranslation(-19.75,18.8,-0.3524001));
410     TPLA->AddNode(TPTM,3,new TGeoTranslation(19.75,-18.8,-0.3524001));
411     TPLA->AddNode(TPTM,4,new TGeoTranslation(19.75,18.8,-0.3524001));
412     TPLA->AddNode(CATA,1,new TGeoCombiTrans(0,0,1,rot2));
413     CATA->AddNode(ATBB,1,gGeoIdentity);
414     ATBB->AddNode(PLA2,1,gGeoIdentity);
415     PLA2->AddNode(TOP1,1,gGeoIdentity);
416     TOP1->AddNode(PTBM,1,gGeoIdentity);
417     TOP1->AddNode(PTBC,1,new TGeoTranslation(-21.875,0,20.4575));
418     TOP1->AddNode(PTBC,2,new TGeoTranslation(21.875,0,20.4575));
419     TOP1->AddNode(PTBC,3,new TGeoTranslation(-21.875,0,-20.4575));
420     TOP1->AddNode(PTBC,4,new TGeoTranslation(21.875,0,-20.4575));
421     TOP1->AddNode(PTRT,1,new TGeoTranslation(0,0,23.61));
422     TOP1->AddNode(PTRB,1,new TGeoTranslation(0,0,-23.61));
423     TOP1->AddNode(PTRL,1,new TGeoCombiTrans(-24.475,0,0,rot7));
424     TOP1->AddNode(PTRL,2,new TGeoCombiTrans(24.475,0,0,rot8));
425     PLA2->AddNode(ATBM,1,gGeoIdentity);
426     PLA2->AddNode(ATBC,1,new TGeoTranslation(-22.675,0,21.2575));
427     PLA2->AddNode(ATBC,2,new TGeoTranslation(22.675,0,21.2575));
428     PLA2->AddNode(ATBC,3,new TGeoTranslation(-22.675,0,-21.2575));
429     PLA2->AddNode(ATBC,4,new TGeoTranslation(22.675,0,-21.2575));
430     PLA2->AddNode(ATRT,1,new TGeoTranslation(0,0,24.41));
431     PLA2->AddNode(ATRB,1,new TGeoTranslation(0,0,-24.41));
432     PLA2->AddNode(ATRL,1,new TGeoCombiTrans(-25.275,0,0,rot7));
433     PLA2->AddNode(ATRL,2,new TGeoCombiTrans(25.275,0,0,rot8));
434     ATBB->AddNode(LTBM,1,gGeoIdentity);
435     ATBB->AddNode(LTBC,1,new TGeoTranslation(-23.025,0,21.6075));
436     ATBB->AddNode(LTBC,2,new TGeoTranslation(23.025,0,21.6075));
437     ATBB->AddNode(LTBC,3,new TGeoTranslation(-23.025,0,-21.6075));
438     ATBB->AddNode(LTBC,4,new TGeoTranslation(23.025,0,-21.6075));
439     ATBB->AddNode(LTRT,1,new TGeoTranslation(0,0,24.76));
440     ATBB->AddNode(LTRB,1,new TGeoTranslation(0,0,-24.76));
441     ATBB->AddNode(LTRL,1,new TGeoCombiTrans(-25.625,0,0,rot7));
442     ATBB->AddNode(LTRL,2,new TGeoCombiTrans(25.625,0,0,rot8));
443     TPLA->AddNode(TPTU,1,new TGeoTranslation(-20.65,-20.15,1));
444     TPLA->AddNode(TPTU,2,new TGeoTranslation(-20.65,20.15,1));
445     TPLA->AddNode(TPTU,3,new TGeoTranslation(20.65,-20.15,1));
446     TPLA->AddNode(TPTU,4,new TGeoTranslation(20.65,20.15,1));
447     PAME->AddNode(CASA,1,new TGeoTranslation(8.872,-17.215,47.174));
448     CASA->AddNode(STRP,1,gGeoIdentity);
449     STRP->AddNode(PLA1,1,gGeoIdentity);
450     PLA1->AddNode(SID1,1,gGeoIdentity);
451     SID1->AddNode(STP1,1,new TGeoCombiTrans(18.22,0,-3.3,rot5));
452     SID1->AddNode(STP2,1,new TGeoCombiTrans(19.4,0,15.2,rot4));
453     SID1->AddNode(STP3,1,new TGeoCombiTrans(17.05,0,18.5,rot4));
454     PLA1->AddNode(STA1,1,new TGeoCombiTrans(18.97,0,-3.7,rot5));
455     PLA1->AddNode(STA2,1,new TGeoCombiTrans(20,0,15.6,rot4));
456     PLA1->AddNode(STA3,1,new TGeoCombiTrans(17.45,0,19.3,rot4));
457     STRP->AddNode(STL1,1,new TGeoCombiTrans(19.2975,0,-3.875,rot5));
458     STRP->AddNode(STL2,1,new TGeoCombiTrans(20.35,0,15.6,rot4));
459     STRP->AddNode(STL3,1,new TGeoCombiTrans(17.5675,0,19.475,rot4));
460     PAME->AddNode(CASA,2,new TGeoCombiTrans(17.9285,6.305,47.174,rot1));
461     PAME->AddNode(CASA,3,new TGeoCombiTrans(-5.5095,17.215,47.174,rot4));
462     PAME->AddNode(CASA,4,new TGeoCombiTrans(-17.9285,-10.195,47.174,rot6));
463     PAME->AddNode(SPEB,1,new TGeoTranslation(0,0,49.274));
464     SPEB->AddNode(MGFR,1,new TGeoTranslation(0,0,18.165));
465     MGFR->AddNode(TPGD,1,new TGeoTranslation(0,0,-4.445));
466     MGFR->AddNode(TPGI,1,new TGeoTranslation(0,0,-4.425));
467     MGFR->AddNode(MGPL,1,new TGeoTranslation(0,0,-0.4099998));
468     MGPL->AddNode(MGPA,1,gGeoIdentity);
469     MGPA->AddNode(MGPI,1,gGeoIdentity);
470     MGFR->AddNode(TPGI,2,new TGeoTranslation(0,0,3.605));
471     MGFR->AddNode(TPGA,1,new TGeoTranslation(0,-0.75,3.66));
472     MGFR->AddNode(TRPB,1,new TGeoTranslation(0,-2.25,4.065));
473     TRPB->AddNode(TPAS,4,new TGeoTranslation(0,-0.75,0));
474     TPAS->AddNode(TRCP,1,new TGeoTranslation(-8.1075,0,0.1500001E-01));
475     TPAS->AddNode(TRCP,2,new TGeoTranslation(-2.7025,0,0.1500001E-01));
476     TPAS->AddNode(TRCP,3,new TGeoTranslation(2.7025,0,0.1500001E-01));
477     TPAS->AddNode(TRCP,4,new TGeoTranslation(8.1075,0,0.1500001E-01));
478     TPAS->AddNode(TRSL,1,new TGeoTranslation(-5.405,6.252,0.1500001E-01));
479     TRSL->AddNode(TSPA,1,gGeoIdentity);
480     TPAS->AddNode(TRSL,2,new TGeoTranslation(0.1164153E-08,6.252,0.1500001E-01));
481     TPAS->AddNode(TRSL,3,new TGeoTranslation(5.405,6.252,0.1500001E-01));
482     TPAS->AddNode(TRSL,4,new TGeoTranslation(-5.405,-0.7500004,0.1500001E-01));
483     TPAS->AddNode(TRSL,5,new TGeoTranslation(0.1164153E-08,-0.7500004,0.1500001E-01));
484     TPAS->AddNode(TRSL,6,new TGeoTranslation(5.405,-0.7500004,0.1500001E-01));
485     TPAS->AddNode(THBP,1,new TGeoTranslation(-5.405,-7.0015,0.1500001E-01));
486     TPAS->AddNode(THBP,2,new TGeoTranslation(0.1164153E-08,-7.0015,0.1500001E-01));
487     TPAS->AddNode(THBP,3,new TGeoTranslation(5.405,-7.0015,0.1500001E-01));
488     TPAS->AddNode(TPAI,4,new TGeoTranslation(0,-8.65,0.315));
489     MGFR->AddNode(TPGU,2,new TGeoTranslation(0,-2.25,4.44));
490     SPEB->AddNode(MGFR,2,new TGeoTranslation(0,0,9.265001));
491     SPEB->AddNode(MGFR,3,new TGeoTranslation(0,0,0.3650017));
492     SPEB->AddNode(MGFR,4,new TGeoTranslation(0,0,-8.534998));
493     SPEB->AddNode(MGFR,5,new TGeoTranslation(0,0,-17.435));
494     SPEB->AddNode(TRPB,2,new TGeoCombiTrans(0,2.25,-22.25,rot10));
495     SPEB->AddNode(TBAL,1,new TGeoTranslation(5.4,-12.15,-22.25));
496     SPEB->AddNode(TBAL,2,new TGeoTranslation(-5.4,-12.15,-22.25));
497     PAME->AddNode(S3__,1,new TGeoTranslation(0,0,25.3159));
498     S3__->AddNode(S32M,1,new TGeoTranslation(0,-5.0069,-0.42845));
499     S32M->AddNode(S32X,1,new TGeoTranslation(0,-0.1149917E-02,-0.1150006E-02));
500     S3__->AddNode(S32M,2,new TGeoTranslation(0,0,-0.42845));
501     S3__->AddNode(S32M,3,new TGeoTranslation(0,5.0069,-0.42845));
502     S3__->AddNode(S31M,1,new TGeoTranslation(-6.006899,0,0.42845));
503     S31M->AddNode(S31Y,1,new TGeoTranslation(-0.1149917E-02,0,-0.1150006E-02));
504     S3__->AddNode(S31M,2,new TGeoTranslation(0.4768372E-06,0,0.42845));
505     S3__->AddNode(S31M,3,new TGeoTranslation(6.0069,0,0.42845));
506     PAME->AddNode(CALS,1,new TGeoTranslation(0,0,13.05));
507     CALS->AddNode(CALB,1,new TGeoTranslation(0,0,0.5000019E-01));
508     CALB->AddNode(CAPL,1,new TGeoTranslation(0.1,-0.5000000E-01,9.875999));
509     CAPL->AddNode(CASI,1,new TGeoTranslation(-8.05,-8.05,0));
510     TGeoVolume *CAST = CASI->Divide("CAST",2,32,-3.904,0.244);
511     CAPL->AddNode(CASI,2,new TGeoTranslation(0,-8.05,0));
512     CAPL->AddNode(CASI,3,new TGeoTranslation(8.05,-8.05,0));
513     CAPL->AddNode(CASI,4,new TGeoTranslation(-8.05,0,0));
514     CAPL->AddNode(CASI,5,gGeoIdentity);
515     CAPL->AddNode(CASI,6,new TGeoTranslation(8.05,0,0));
516     CAPL->AddNode(CASI,7,new TGeoTranslation(-8.05,8.05,0));
517     CAPL->AddNode(CASI,8,new TGeoTranslation(0,8.05,0));
518     CAPL->AddNode(CASI,9,new TGeoTranslation(8.05,8.05,0));
519     CALB->AddNode(CANS,1,new TGeoTranslation(0,-0.1,9.787));
520     CANS->AddNode(CAKA,1,new TGeoTranslation(0,0,-0.6750000E-01));
521     CANS->AddNode(C10C,1,new TGeoTranslation(0,0,-0.5000004E-02));
522     CANS->AddNode(CAGL,1,new TGeoTranslation(0,0,0.5999999E-01));
523     CANS->AddNode(CAKP,1,new TGeoTranslation(0,0,0.6750000E-01));
524     CALB->AddNode(CAAB,1,new TGeoTranslation(0,-0.1,9.5855));
525     CALB->AddNode(CANS,2,new TGeoCombiTrans(0,-0.1,9.384,rot3));
526     CALB->AddNode(CAPL,2,new TGeoCombiTrans(-0.5000000E-01,0,9.295,rot3));
527     CALB->AddNode(CAPL,3,new TGeoTranslation(-0.1,-0.15,9.067));
528     CALB->AddNode(CANS,3,new TGeoTranslation(0,-0.1,8.978001));
529     CALB->AddNode(CAAB,2,new TGeoTranslation(0,-0.1,8.776501));
530     CALB->AddNode(CANS,4,new TGeoCombiTrans(0,-0.1,8.575001,rot3));
531     CALB->AddNode(CAPL,4,new TGeoCombiTrans(0.5000000E-01,-0.2,8.486001,rot3));
532     CALB->AddNode(CAPL,5,new TGeoTranslation(0.1,-0.5000000E-01,8.058001));
533     CALB->AddNode(CANS,5,new TGeoTranslation(0,-0.1,7.969));
534     CALB->AddNode(CAAB,3,new TGeoTranslation(0,-0.1,7.7675));
535     CALB->AddNode(CANS,6,new TGeoCombiTrans(0,-0.1,7.566,rot3));
536     CALB->AddNode(CAPL,6,new TGeoCombiTrans(-0.5000000E-01,0,7.477,rot3));
537     CALB->AddNode(CAPL,7,new TGeoTranslation(-0.1,-0.15,7.249));
538     CALB->AddNode(CANS,7,new TGeoTranslation(0,-0.1,7.16));
539     CALB->AddNode(CAAB,4,new TGeoTranslation(0,-0.1,6.9585));
540     CALB->AddNode(CANS,8,new TGeoCombiTrans(0,-0.1,6.757,rot3));
541     CALB->AddNode(CAPL,8,new TGeoCombiTrans(0.5000000E-01,-0.2,6.668,rot3));
542     CALB->AddNode(CAPL,9,new TGeoTranslation(0.1,-0.5000000E-01,6.24));
543     CALB->AddNode(CANS,9,new TGeoTranslation(0,-0.1,6.151));
544     CALB->AddNode(CAAB,5,new TGeoTranslation(0,-0.1,5.9495));
545     CALB->AddNode(CANS,10,new TGeoCombiTrans(0,-0.1,5.748,rot3));
546     CALB->AddNode(CAPL,10,new TGeoCombiTrans(-0.5000000E-01,0,5.658999,rot3));
547     CALB->AddNode(CAPL,11,new TGeoTranslation(-0.1,-0.15,5.430999));
548     CALB->AddNode(CANS,11,new TGeoTranslation(0,-0.1,5.341999));
549     CALB->AddNode(CAAB,6,new TGeoTranslation(0,-0.1,5.140499));
550     CALB->AddNode(CANS,12,new TGeoCombiTrans(0,-0.1,4.938999,rot3));
551     CALB->AddNode(CAPL,12,new TGeoCombiTrans(0.5000000E-01,-0.2,4.849999,rot3));
552     CALB->AddNode(CAPL,13,new TGeoTranslation(0.1,-0.5000000E-01,4.421999));
553     CALB->AddNode(CANS,13,new TGeoTranslation(0,-0.1,4.332999));
554     CALB->AddNode(CAAB,7,new TGeoTranslation(0,-0.1,4.131499));
555     CALB->AddNode(CANS,14,new TGeoCombiTrans(0,-0.1,3.929999,rot3));
556     CALB->AddNode(CAPL,14,new TGeoCombiTrans(-0.5000000E-01,0,3.840999,rot3));
557     CALB->AddNode(CAPL,15,new TGeoTranslation(-0.1,-0.15,3.612999));
558     CALB->AddNode(CANS,15,new TGeoTranslation(0,-0.1,3.523999));
559     CALB->AddNode(CAAB,8,new TGeoTranslation(0,-0.1,3.322499));
560     CALB->AddNode(CANS,16,new TGeoCombiTrans(0,-0.1,3.120999,rot3));
561     CALB->AddNode(CAPL,16,new TGeoCombiTrans(0.5000000E-01,-0.2,3.031999,rot3));
562     CALB->AddNode(CAPL,17,new TGeoTranslation(0.1,-0.5000000E-01,2.603999));
563     CALB->AddNode(CANS,17,new TGeoTranslation(0,-0.1,2.514999));
564     CALB->AddNode(CAAB,9,new TGeoTranslation(0,-0.1,2.313499));
565     CALB->AddNode(CANS,18,new TGeoCombiTrans(0,-0.1,2.111999,rot3));
566     CALB->AddNode(CAPL,18,new TGeoCombiTrans(-0.5000000E-01,0,2.022999,rot3));
567     CALB->AddNode(CAPL,19,new TGeoTranslation(-0.1,-0.15,1.794999));
568     CALB->AddNode(CANS,19,new TGeoTranslation(0,-0.1,1.705999));
569     CALB->AddNode(CAAB,10,new TGeoTranslation(0,-0.1,1.504499));
570     CALB->AddNode(CANS,20,new TGeoCombiTrans(0,-0.1,1.302999,rot3));
571     CALB->AddNode(CAPL,20,new TGeoCombiTrans(0.5000000E-01,-0.2,1.213999,rot3));
572     CALB->AddNode(CAPL,21,new TGeoTranslation(0.1,-0.5000000E-01,0.7859992));
573     CALB->AddNode(CANS,21,new TGeoTranslation(0,-0.1,0.6969992));
574     CALB->AddNode(CAAB,11,new TGeoTranslation(0,-0.1,0.4954992));
575     CALB->AddNode(CANS,22,new TGeoCombiTrans(0,-0.1,0.2939992,rot3));
576     CALB->AddNode(CAPL,22,new TGeoCombiTrans(-0.5000000E-01,0,0.2049992,rot3));
577     CALB->AddNode(CAPL,23,new TGeoTranslation(-0.1,-0.15,-0.2300080E-01));
578     CALB->AddNode(CANS,23,new TGeoTranslation(0,-0.1,-0.1120008));
579     CALB->AddNode(CAAB,12,new TGeoTranslation(0,-0.1,-0.3135008));
580     CALB->AddNode(CANS,24,new TGeoCombiTrans(0,-0.1,-0.5150008,rot3));
581     CALB->AddNode(CAPL,24,new TGeoCombiTrans(0.5000000E-01,-0.2,-0.6040008,rot3));
582     CALB->AddNode(CAPL,25,new TGeoTranslation(0.1,-0.5000000E-01,-1.032001));
583     CALB->AddNode(CANS,25,new TGeoTranslation(0,-0.1,-1.121001));
584     CALB->AddNode(CAAB,13,new TGeoTranslation(0,-0.1,-1.322501));
585     CALB->AddNode(CANS,26,new TGeoCombiTrans(0,-0.1,-1.524001,rot3));
586     CALB->AddNode(CAPL,26,new TGeoCombiTrans(-0.5000000E-01,0,-1.613001,rot3));
587     CALB->AddNode(CAPL,27,new TGeoTranslation(-0.1,-0.15,-1.841001));
588     CALB->AddNode(CANS,27,new TGeoTranslation(0,-0.1,-1.930001));
589     CALB->AddNode(CAAB,14,new TGeoTranslation(0,-0.1,-2.131501));
590     CALB->AddNode(CANS,28,new TGeoCombiTrans(0,-0.1,-2.333001,rot3));
591     CALB->AddNode(CAPL,28,new TGeoCombiTrans(0.5000000E-01,-0.2,-2.422001,rot3));
592     CALB->AddNode(CAPL,29,new TGeoTranslation(0.1,-0.5000000E-01,-2.850001));
593     CALB->AddNode(CANS,29,new TGeoTranslation(0,-0.1,-2.939001));
594     CALB->AddNode(CAAB,15,new TGeoTranslation(0,-0.1,-3.140501));
595     CALB->AddNode(CANS,30,new TGeoCombiTrans(0,-0.1,-3.342001,rot3));
596     CALB->AddNode(CAPL,30,new TGeoCombiTrans(-0.5000000E-01,0,-3.431001,rot3));
597     CALB->AddNode(CAPL,31,new TGeoTranslation(-0.1,-0.15,-3.659001));
598     CALB->AddNode(CANS,31,new TGeoTranslation(0,-0.1,-3.748001));
599     CALB->AddNode(CAAB,16,new TGeoTranslation(0,-0.1,-3.949501));
600     CALB->AddNode(CANS,32,new TGeoCombiTrans(0,-0.1,-4.151,rot3));
601     CALB->AddNode(CAPL,32,new TGeoCombiTrans(0.5000000E-01,-0.2,-4.240001,rot3));
602     CALB->AddNode(CAPL,33,new TGeoTranslation(0.1,-0.5000000E-01,-4.668001));
603     CALB->AddNode(CANS,33,new TGeoTranslation(0,-0.1,-4.757001));
604     CALB->AddNode(CAAB,17,new TGeoTranslation(0,-0.1,-4.958501));
605     CALB->AddNode(CANS,34,new TGeoCombiTrans(0,-0.1,-5.160001,rot3));
606     CALB->AddNode(CAPL,34,new TGeoCombiTrans(-0.5000000E-01,0,-5.249001,rot3));
607     CALB->AddNode(CAPL,35,new TGeoTranslation(-0.1,-0.15,-5.477001));
608     CALB->AddNode(CANS,35,new TGeoTranslation(0,-0.1,-5.566001));
609     CALB->AddNode(CAAB,18,new TGeoTranslation(0,-0.1,-5.767501));
610     CALB->AddNode(CANS,36,new TGeoCombiTrans(0,-0.1,-5.969001,rot3));
611     CALB->AddNode(CAPL,36,new TGeoCombiTrans(0.5000000E-01,-0.2,-6.058002,rot3));
612     CALB->AddNode(CAPL,37,new TGeoTranslation(0.1,-0.5000000E-01,-6.486001));
613     CALB->AddNode(CANS,37,new TGeoTranslation(0,-0.1,-6.575002));
614     CALB->AddNode(CAAB,19,new TGeoTranslation(0,-0.1,-6.776502));
615     CALB->AddNode(CANS,38,new TGeoCombiTrans(0,-0.1,-6.978002,rot3));
616     CALB->AddNode(CAPL,38,new TGeoCombiTrans(-0.5000000E-01,0,-7.067002,rot3));
617     CALB->AddNode(CAPL,39,new TGeoTranslation(-0.1,-0.15,-7.295002));
618     CALB->AddNode(CANS,39,new TGeoTranslation(0,-0.1,-7.384002));
619     CALB->AddNode(CAAB,20,new TGeoTranslation(0,-0.1,-7.585502));
620     CALB->AddNode(CANS,40,new TGeoCombiTrans(0,-0.1,-7.787002,rot3));
621     CALB->AddNode(CAPL,40,new TGeoCombiTrans(0.5000000E-01,-0.2,-7.876002,rot3));
622     CALB->AddNode(CAPL,41,new TGeoTranslation(0.1,-0.5000000E-01,-8.304003));
623     CALB->AddNode(CANS,41,new TGeoTranslation(0,-0.1,-8.393003));
624     CALB->AddNode(CAAB,21,new TGeoTranslation(0,-0.1,-8.594502));
625     CALB->AddNode(CANS,42,new TGeoCombiTrans(0,-0.1,-8.796002,rot3));
626     CALB->AddNode(CAPL,42,new TGeoCombiTrans(-0.5000000E-01,0,-8.885002,rot3));
627     CALB->AddNode(CAPL,43,new TGeoTranslation(-0.1,-0.15,-9.113002));
628     CALB->AddNode(CANS,43,new TGeoTranslation(0,-0.1,-9.202002));
629     CALB->AddNode(CAAB,22,new TGeoTranslation(0,-0.1,-9.403502));
630     CALB->AddNode(CANS,44,new TGeoCombiTrans(0,-0.1,-9.605001,rot3));
631     CALB->AddNode(CAPL,44,new TGeoCombiTrans(0.5000000E-01,-0.2,-9.694001,rot3));
632     PAME->AddNode(S4AL,1,new TGeoTranslation(0,0,1.811));
633     S4AL->AddNode(S4__,1,gGeoIdentity);
634     PAME->AddNode(NDBO,1,new TGeoTranslation(0,0,-6.289));
635     NDBO->AddNode(NDBX,1,new TGeoTranslation(0,0,-0.5));
636     NDBX->AddNode(NDCD,1,new TGeoTranslation(0,0,0.1000001));
637     NDCD->AddNode(NDBI,1,new TGeoTranslation(0,0,0.2499991E-01));
638     NDBI->AddNode(NDTU,1,new TGeoCombiTrans(-19.975,0,0.5000001E-01,rot2));
639     NDTU->AddNode(NDTI,1,gGeoIdentity);
640     NDBI->AddNode(NDTU,2,new TGeoCombiTrans(-17.625,0,0.5000001E-01,rot2));
641     NDBI->AddNode(NDTU,3,new TGeoCombiTrans(-15.275,0,0.5000001E-01,rot2));
642     NDBI->AddNode(NDTU,4,new TGeoCombiTrans(-12.925,0,0.5000001E-01,rot2));
643     NDBI->AddNode(NDTU,5,new TGeoCombiTrans(-10.575,0,0.5000001E-01,rot2));
644     NDBI->AddNode(NDTU,6,new TGeoCombiTrans(-8.224998,0,0.5000001E-01,rot2));
645     NDBI->AddNode(NDTU,7,new TGeoCombiTrans(-5.874999,0,0.5000001E-01,rot2));
646     NDBI->AddNode(NDTU,8,new TGeoCombiTrans(-3.524999,0,0.5000001E-01,rot2));
647     NDBI->AddNode(NDTU,9,new TGeoCombiTrans(-1.174999,0,0.5000001E-01,rot2));
648     NDBI->AddNode(NDTU,10,new TGeoCombiTrans(1.175001,0,0.5000001E-01,rot2));
649     NDBI->AddNode(NDTU,11,new TGeoCombiTrans(3.525002,0,0.5000001E-01,rot2));
650     NDBI->AddNode(NDTU,12,new TGeoCombiTrans(5.875001,0,0.5000001E-01,rot2));
651     NDBI->AddNode(NDTU,13,new TGeoCombiTrans(8.225001,0,0.5000001E-01,rot2));
652     NDBI->AddNode(NDTU,14,new TGeoCombiTrans(10.575,0,0.5000001E-01,rot2));
653     NDBI->AddNode(NDTU,15,new TGeoCombiTrans(12.925,0,0.5000001E-01,rot2));
654     NDBI->AddNode(NDTU,16,new TGeoCombiTrans(15.275,0,0.5000001E-01,rot2));
655     NDBI->AddNode(NDTU,17,new TGeoCombiTrans(17.625,0,0.5000001E-01,rot2));
656     NDBI->AddNode(NDTU,18,new TGeoCombiTrans(19.975,0,0.5000001E-01,rot2));
657     NDBI->AddNode(NDTU,19,new TGeoCombiTrans(-19.975,0,3.9,rot2));
658     NDBI->AddNode(NDTU,20,new TGeoCombiTrans(-17.625,0,3.9,rot2));
659     NDBI->AddNode(NDTU,21,new TGeoCombiTrans(-15.275,0,3.9,rot2));
660     NDBI->AddNode(NDTU,22,new TGeoCombiTrans(-12.925,0,3.9,rot2));
661     NDBI->AddNode(NDTU,23,new TGeoCombiTrans(-10.575,0,3.9,rot2));
662     NDBI->AddNode(NDTU,24,new TGeoCombiTrans(-8.224998,0,3.9,rot2));
663     NDBI->AddNode(NDTU,25,new TGeoCombiTrans(-5.874999,0,3.9,rot2));
664     NDBI->AddNode(NDTU,26,new TGeoCombiTrans(-3.524999,0,3.9,rot2));
665     NDBI->AddNode(NDTU,27,new TGeoCombiTrans(-1.174999,0,3.9,rot2));
666     NDBI->AddNode(NDTU,28,new TGeoCombiTrans(1.175001,0,3.9,rot2));
667     NDBI->AddNode(NDTU,29,new TGeoCombiTrans(3.525002,0,3.9,rot2));
668     NDBI->AddNode(NDTU,30,new TGeoCombiTrans(5.875001,0,3.9,rot2));
669     NDBI->AddNode(NDTU,31,new TGeoCombiTrans(8.225001,0,3.9,rot2));
670     NDBI->AddNode(NDTU,32,new TGeoCombiTrans(10.575,0,3.9,rot2));
671     NDBI->AddNode(NDTU,33,new TGeoCombiTrans(12.925,0,3.9,rot2));
672     NDBI->AddNode(NDTU,34,new TGeoCombiTrans(15.275,0,3.9,rot2));
673     NDBI->AddNode(NDTU,35,new TGeoCombiTrans(17.625,0,3.9,rot2));
674     NDBI->AddNode(NDTU,36,new TGeoCombiTrans(19.975,0,3.9,rot2));
675     NDBI->AddNode(NDPB,1,new TGeoTranslation(0,0,-5.875));
676     NDBI->AddNode(NDPB,2,new TGeoTranslation(0,0,-3.875));
677     NDBI->AddNode(NDPB,3,new TGeoTranslation(0,0,-1.875));
678     NDBI->AddNode(NDPB,4,new TGeoTranslation(0,0,1.975));
679     NDBI->AddNode(NDPB,5,new TGeoTranslation(0,0,5.825));
680     NDBO->AddNode(NDCO,1,new TGeoTranslation(0,0,7));
681     NDCO->AddNode(NDCM,1,new TGeoTranslation(0,-16.95,0.175));
682     NDCO->AddNode(NDCM,2,new TGeoTranslation(0,16.95,0.175));
683     NDCO->AddNode(NDCI,1,new TGeoTranslation(0,0,0.175));
684     NDCO->AddNode(NDCE,1,new TGeoTranslation(0,-25.475,0.175));
685     NDCO->AddNode(NDCE,2,new TGeoTranslation(0,25.475,0.175));
686     NDCO->AddNode(NDSM,1,new TGeoTranslation(-23.6,-14.6,0.175));
687     NDCO->AddNode(NDSM,2,new TGeoTranslation(23.6,-14.6,0.175));
688     NDCO->AddNode(NDSM,3,new TGeoTranslation(-23.6,14.6,0.175));
689     NDCO->AddNode(NDSM,4,new TGeoTranslation(23.6,14.6,0.175));
690     NDCO->AddNode(NDSI,1,new TGeoTranslation(-23.6,0,0.175));
691     NDCO->AddNode(NDSI,2,new TGeoTranslation(23.6,0,0.175));
692     NDCO->AddNode(NDSE,1,new TGeoTranslation(-20.4,-23.65,0.175));
693     NDCO->AddNode(NDSE,2,new TGeoTranslation(20.4,-23.65,0.175));
694     NDCO->AddNode(NDSE,3,new TGeoTranslation(-20.4,23.65,0.175));
695     NDCO->AddNode(NDSE,4,new TGeoTranslation(20.4,23.65,0.175));
696     NDBO->AddNode(NDBS,1,new TGeoTranslation(0,-25.725,-0.5));
697     NDBS->AddNode(NDSS,1,gGeoIdentity);
698     NDBO->AddNode(NDBS,2,new TGeoTranslation(0,25.725,-0.5));
699     gGeoManager->CloseGeometry();
700    
701     }

  ViewVC Help
Powered by ViewVC 1.1.23