+ Float_t tseg = fGeom->GetPreSintThick()+fGeom->GetPbRadThick();
+
+ envelopA[1] = envelopA[0] + 2.0*tseg;
+
+ envelopA[2] = fGeom->GetEnvelop(2)/2.0; // dz
+
+ envelopA[3] = fGeom->GetArm1PhiMin(); // minimun phi angle
+
+ envelopA[4] = fGeom->GetArm1PhiMax(); // maximun phi angle
+
+ //filled with air
+
+ gMC->Gsvolu(label.Data(), "TUBS ", idtmed[1599], envelopA, 5);
+
+ // Place XU0 in to XEN1
+
+ gMC->Gspos(label.Data(), 1, "XEN1", 0.0, 0.0, 0.0, idrotm, "ONLY");
+
+
+
+ tseg = fGeom->GetFullSintThick()+fGeom->GetPbRadThick();
+
+ for (int i = 1; i < ((fGeom->GetNLayers()-1)/2) + 1 ; i++ ){
+
+ label = "XU" ;
+
+ label += i ;
+
+ envelopA[0] = envelopA[1]; //rmin
+
+ envelopA[1] = envelopA[0] + 2.0*tseg; //rmax
+
+ //filled with air
+
+ gMC->Gsvolu(label.Data(), "TUBS ", idtmed[1599], envelopA, 5);
+
+ gMC->Gspos(label.Data(), 1, "XEN1", 0.0, 0.0, 0.0, idrotm, "ONLY") ;
+
+ } // end i
+
+
+
+ // Create the shapes of active material (LEAD/Aluminium/Scintillator)
+
+ // to be placed