ROOT logo

From $ROOTSYS/tutorials/geom/station2.C

#include "TGeoManager.h"
   
void station2() 
{
  // Drawing a space station (version 2), using ROOT geometry class.
  // Name: station2.C
  // Author: Dong Ryeol Lee (leedr2580@hanmail.net), Dept. of Physics, Univ. of Seoul
  // Reviewed by Sunman Kim (sunman98@hanmail.net)
  // Supervisor: Prof. Inkyu Park (icpark@physics.uos.ac.kr)
  // 
  // How to run: .x station2.C in ROOT terminal, then use OpenGL
  //
  // This macro was created for the evaluation of Computational Physics course in 2006.
  // We thank to Prof. Inkyu Park for his special lecture on ROOT and to all of ROOT team
  //

   TGeoManager *geom = new TGeoManager("geom","Space Station");

   TGeoMaterial *vacuum=new TGeoMaterial("vacuum",0,0,0);  
   TGeoMaterial *Fe=new TGeoMaterial("Fe",55.845,26,7.87); 
   TGeoMaterial *Cu=new TGeoMaterial("Cu",63.549,29,8.92);

   TGeoMedium *Air=new TGeoMedium("Vacuum",0,vacuum);
   TGeoMedium *Iron=new TGeoMedium("Iron",1,Fe);
   TGeoMedium *Copper=new TGeoMedium("Copper",2,Cu);
       
   TGeoVolume *top=geom->MakeBox("top",Air,1000,1000,1000);   
   geom->SetTopVolume(top);       
   geom->SetTopVisible(0); 
   // If you want to see the boundary, please input the number, 1 instead of 0.
   // Like this, geom->SetTopVisible(1);


   TGeoVolume *b1=geom->MakeBox("b1",Iron,1,2,3);
   b1->SetLineColor(37);
   b1->SetFillColor(37); 
          
   TGeoVolume *b2=geom->MakeBox("b2",Iron,1,2,3);
   b2->SetLineColor(37);
   b2->SetFillColor(37);

   TGeoVolume *b12=geom->MakeBox("b12",Iron,1,2,3);
   b12->SetLineColor(37);
   b12->SetFillColor(37); 
          
   TGeoVolume *b22=geom->MakeBox("b22",Iron,1,2,3);
   b22->SetLineColor(37);
   b22->SetFillColor(37);

   TGeoVolume *b13=geom->MakeBox("b13",Iron,1,2,3);
   b13->SetLineColor(37);
   b13->SetFillColor(37); 
          
   TGeoVolume *b23=geom->MakeBox("b23",Iron,1,2,3);
   b23->SetLineColor(37);
   b23->SetFillColor(37);

   TGeoVolume *b14=geom->MakeBox("b14",Iron,1,2,3);
   b14->SetLineColor(37);
   b14->SetFillColor(37); 
          
   TGeoVolume *b24=geom->MakeBox("b24",Iron,1,2,3);
   b24->SetLineColor(37);
   b24->SetFillColor(37);
     
   TGeoVolume *b3=geom->MakeBox("b3",Iron,35,1,1);
   b3->SetLineColor(17);
   b3->SetFillColor(17); 
   
   TGeoVolume *b4=geom->MakeBox("b4",Iron,35,1,1);
   b4->SetLineColor(17);
   b4->SetFillColor(17);

   TGeoVolume *b31=geom->MakeBox("b31",Iron,5,5,1);
   b31->SetLineColor(38);
   b31->SetFillColor(38); 
   
   TGeoVolume *b41=geom->MakeBox("b41",Iron,5,5,1);
   b41->SetLineColor(38);
   b41->SetFillColor(38);

   TGeoVolume *b32=geom->MakeBox("b32",Iron,5,5,1);
   b32->SetLineColor(38);
   b32->SetFillColor(38); 
   
   TGeoVolume *b42=geom->MakeBox("b42",Iron,5,5,1);
   b42->SetLineColor(38);
   b42->SetFillColor(38);

   TGeoVolume *b33=geom->MakeBox("b33",Iron,5,5,1);
   b33->SetLineColor(38);
   b33->SetFillColor(38); 
   
   TGeoVolume *b43=geom->MakeBox("b43",Iron,5,5,1);
   b43->SetLineColor(38);
   b43->SetFillColor(38);

   TGeoVolume *b34=geom->MakeBox("b34",Iron,6,7,1);
   b34->SetLineColor(38);
   b34->SetFillColor(38); 
   
   TGeoVolume *b44=geom->MakeBox("b44",Iron,6,7,1);
   b44->SetLineColor(38);
   b44->SetFillColor(38);

   TGeoVolume *b35=geom->MakeBox("b35",Iron,6,7,1);
   b35->SetLineColor(38);
   b35->SetFillColor(38); 
   
   TGeoVolume *b45=geom->MakeBox("b45",Iron,6,7,1);
   b45->SetLineColor(38);
   b45->SetFillColor(38);

   TGeoVolume *b36=geom->MakeBox("b36",Iron,6,7,1);
   b36->SetLineColor(38);
   b36->SetFillColor(38); 
   
   TGeoVolume *b46=geom->MakeBox("b46",Iron,6,7,1);
   b46->SetLineColor(38);
   b46->SetFillColor(38);

   TGeoVolume *b37=geom->MakeBox("b37",Iron,5,5,1);
   b37->SetLineColor(38);
   b37->SetFillColor(38); 
   
   TGeoVolume *b47=geom->MakeBox("b47",Iron,5,5,1);
   b47->SetLineColor(38);
   b47->SetFillColor(38);

   TGeoVolume *b38=geom->MakeBox("b38",Iron,5,5,1);
   b38->SetLineColor(38);
   b38->SetFillColor(38); 
   
   TGeoVolume *b48=geom->MakeBox("b48",Iron,5,5,1);
   b48->SetLineColor(38);
   b48->SetFillColor(38);

   TGeoVolume *b39=geom->MakeBox("b39",Iron,5,5,1);
   b39->SetLineColor(38);
   b39->SetFillColor(38); 
   
   TGeoVolume *b49=geom->MakeBox("b49",Iron,5,5,1);
   b49->SetLineColor(38);
   b49->SetFillColor(38);

   TGeoVolume *b310=geom->MakeBox("b310",Iron,6,7,1);
   b310->SetLineColor(38);
   b310->SetFillColor(38); 
   
   TGeoVolume *b410=geom->MakeBox("b410",Iron,6,7,1);
   b410->SetLineColor(38);
   b410->SetFillColor(38);

   TGeoVolume *b311=geom->MakeBox("b311",Iron,6,7,1);
   b311->SetLineColor(38);
   b311->SetFillColor(38); 
   
   TGeoVolume *b411=geom->MakeBox("b411",Iron,6,7,1);
   b411->SetLineColor(38);
   b411->SetFillColor(38);

   TGeoVolume *b312=geom->MakeBox("b312",Iron,6,7,1);
   b312->SetLineColor(38);
   b312->SetFillColor(38); 
   
   TGeoVolume *b412=geom->MakeBox("b412",Iron,6,7,1);
   b412->SetLineColor(38);
   b412->SetFillColor(38);

   TGeoVolume *b5=geom->MakeBox("b5",Iron,43,1,1);
   b5->SetLineColor(17);
   b5->SetFillColor(17); 
   
   TGeoVolume *b6=geom->MakeBox("b6",Iron,43,1,1);
   b6->SetLineColor(17);
   b6->SetFillColor(17);

   TGeoVolume *b51=geom->MakeBox("b51",Iron,5,5,1);
   b51->SetLineColor(38);
   b51->SetFillColor(38); 
   
   TGeoVolume *b61=geom->MakeBox("b61",Iron,5,5,1);
   b61->SetLineColor(38);
   b61->SetFillColor(38);

   TGeoVolume *b52=geom->MakeBox("b52",Iron,5,5,1);
   b52->SetLineColor(38);
   b52->SetFillColor(38); 
   
   TGeoVolume *b62=geom->MakeBox("b62",Iron,5,5,1);
   b62->SetLineColor(38);
   b62->SetFillColor(38);

   TGeoVolume *b53=geom->MakeBox("b53",Iron,5,5,1);
   b53->SetLineColor(38);
   b53->SetFillColor(38); 
   
   TGeoVolume *b63=geom->MakeBox("b63",Iron,5,5,1);
   b63->SetLineColor(38);
   b63->SetFillColor(38);

   TGeoVolume *b54=geom->MakeBox("b54",Iron,6,7,1);
   b54->SetLineColor(38);
   b54->SetFillColor(38); 
   
   TGeoVolume *b64=geom->MakeBox("b64",Iron,6,7,1);
   b64->SetLineColor(38);
   b64->SetFillColor(38);

   TGeoVolume *b55=geom->MakeBox("b55",Iron,6,7,1);
   b55->SetLineColor(38);
   b55->SetFillColor(38); 
   
   TGeoVolume *b65=geom->MakeBox("b65",Iron,6,7,1);
   b65->SetLineColor(38);
   b65->SetFillColor(38);

   TGeoVolume *b56=geom->MakeBox("b56",Iron,6,7,1);
   b56->SetLineColor(38);
   b56->SetFillColor(38); 
   
   TGeoVolume *b66=geom->MakeBox("b66",Iron,6,7,1);
   b66->SetLineColor(38);
   b66->SetFillColor(38);

   TGeoVolume *b57=geom->MakeBox("b57",Iron,5,5,1);
   b57->SetLineColor(38);
   b57->SetFillColor(38); 
   
   TGeoVolume *b67=geom->MakeBox("b67",Iron,5,5,1);
   b67->SetLineColor(38);
   b67->SetFillColor(38);

   TGeoVolume *b58=geom->MakeBox("b58",Iron,5,5,1);
   b58->SetLineColor(38);
   b58->SetFillColor(38); 
   
   TGeoVolume *b68=geom->MakeBox("b68",Iron,5,5,1);
   b68->SetLineColor(38);
   b68->SetFillColor(38);

   TGeoVolume *b59=geom->MakeBox("b59",Iron,5,5,1);
   b59->SetLineColor(38);
   b59->SetFillColor(38); 
   
   TGeoVolume *b69=geom->MakeBox("b69",Iron,5,5,1);
   b69->SetLineColor(38);
   b69->SetFillColor(38);

   TGeoVolume *b510=geom->MakeBox("b510",Iron,6,7,1);
   b510->SetLineColor(38);
   b510->SetFillColor(38); 
   
   TGeoVolume *b610=geom->MakeBox("b610",Iron,6,7,1);
   b610->SetLineColor(38);
   b610->SetFillColor(38);

   TGeoVolume *b511=geom->MakeBox("b511",Iron,6,7,1);
   b511->SetLineColor(38);
   b511->SetFillColor(38); 
   
   TGeoVolume *b611=geom->MakeBox("b611",Iron,6,7,1);
   b611->SetLineColor(38);
   b611->SetFillColor(38);

   TGeoVolume *b512=geom->MakeBox("b512",Iron,6,7,1);
   b512->SetLineColor(38);
   b512->SetFillColor(38); 
   
   TGeoVolume *b612=geom->MakeBox("b612",Iron,6,7,1);
   b612->SetLineColor(38);
   b612->SetFillColor(38);

   TGeoVolume *b513=geom->MakeBox("b513",Iron,6,7,1);
   b513->SetLineColor(38);
   b513->SetFillColor(38); 
   
   TGeoVolume *b613=geom->MakeBox("b613",Iron,6,7,1);
   b613->SetLineColor(38);
   b613->SetFillColor(38);

   TGeoVolume *b514=geom->MakeBox("b514",Iron,6,7,1);
   b514->SetLineColor(38);
   b514->SetFillColor(38); 
   
   TGeoVolume *b614=geom->MakeBox("b614",Iron,6,7,1);
   b614->SetLineColor(38);
   b614->SetFillColor(38);

   TGeoVolume *b7=geom->MakeBox("b7",Iron,5,8,15);
   b7->SetLineColor(17);
   b7->SetFillColor(17); 

   TGeoVolume *b71=geom->MakeBox("b71",Iron,1,34,1);
   b71->SetLineColor(17);
   b71->SetFillColor(17);
   
   TGeoVolume *b81=geom->MakeBox("b81",Iron,1,34,1);
   b81->SetLineColor(17);
   b81->SetFillColor(17);

   TGeoVolume *b72=geom->MakeBox("b72",Iron,1,6,11);
   b72->SetLineColor(18);
   b72->SetFillColor(18);
   
   TGeoVolume *b82=geom->MakeBox("b82",Iron,1,6,11);
   b82->SetLineColor(18);
   b82->SetFillColor(18);

   TGeoVolume *b73=geom->MakeBox("b73",Iron,1,6,11);
   b73->SetLineColor(12);
   b73->SetFillColor(12);
   
   TGeoVolume *b83=geom->MakeBox("b83",Iron,1,6,11);
   b83->SetLineColor(12);
   b83->SetFillColor(12);

   TGeoVolume *b74=geom->MakeBox("b74",Iron,1,6,11);
   b74->SetLineColor(18);
   b74->SetFillColor(18);
   
   TGeoVolume *b84=geom->MakeBox("b84",Iron,1,6,11);
   b84->SetLineColor(18);
   b84->SetFillColor(18);

   TGeoVolume *b75=geom->MakeBox("b75",Iron,1,6,11);
   b75->SetLineColor(12);
   b75->SetFillColor(12);
   
   TGeoVolume *b85=geom->MakeBox("b85",Iron,1,6,11);
   b85->SetLineColor(12);
   b85->SetFillColor(12);

   TGeoVolume *b76=geom->MakeBox("b76",Iron,1,6,11);
   b76->SetLineColor(18);
   b76->SetFillColor(18);
   
   TGeoVolume *b86=geom->MakeBox("b86",Iron,1,6,11);
   b86->SetLineColor(18);
   b86->SetFillColor(18);
 
   TGeoVolume *b9=geom->MakeBox("b9",Iron,2,7,5);
   b9->SetLineColor(17);
   b9->SetFillColor(17);

   TGeoVolume *b10=geom->MakeBox("b10",Iron,1,20,1);
   b10->SetLineColor(17);
   b10->SetFillColor(17);

   TGeoVolume *b111=geom->MakeBox("b111",Iron,1,20,1);
   b111->SetLineColor(17);
   b111->SetFillColor(17);
     
   TGeoVolume *b121=geom->MakeBox("b121",Iron,1,20,1);
   b121->SetLineColor(17);
   b121->SetFillColor(17);

   TGeoVolume *b131=geom->MakeBox("b131",Iron,1,20,1);
   b131->SetLineColor(17);
   b131->SetFillColor(17);

   TGeoVolume *n1=geom->MakeBox("n1",Iron,1,6,1);
   n1->SetLineColor(12);
   n1->SetFillColor(12); 

   TGeoVolume *n2=geom->MakeBox("n2",Iron,1,6,1);
   n2->SetLineColor(12);
   n2->SetFillColor(12); 

   TGeoVolume *n3=geom->MakeBox("n3",Iron,1,6,1);
   n3->SetLineColor(12);
   n3->SetFillColor(12); 

   TGeoVolume *n4=geom->MakeBox("n4",Iron,1,6,1);
   n4->SetLineColor(12);
   n4->SetFillColor(12); 

   TGeoVolume *n5=geom->MakeBox("n5",Iron,1,1,3);
   n5->SetLineColor(12);
   n5->SetFillColor(12); 

   TGeoVolume *n6=geom->MakeBox("n6",Iron,1,6,1);
   n6->SetLineColor(12);
   n6->SetFillColor(12); 

   TGeoVolume *n7=geom->MakeBox("n7",Iron,1,6,1);
   n7->SetLineColor(12);
   n7->SetFillColor(12); 

   TGeoVolume *n8=geom->MakeBox("n8",Iron,1,1,3);
   n8->SetLineColor(12);
   n8->SetFillColor(12); 

   TGeoVolume *n9=geom->MakeBox("n9",Iron,1,6,1);
   n9->SetLineColor(12);
   n9->SetFillColor(12); 

   TGeoVolume *sp=geom->MakeSphere("sp",Iron,0,10,0,180,0,360);
   sp->SetLineColor(50);
   sp->SetFillColor(50); 

   TGeoVolume *sp1=geom->MakeSphere("sp1",Iron,0,50,0,180,0,360);
   sp1->SetLineColor(9);
   sp1->SetFillColor(9);

   TGeoVolume *sp2=geom->MakeSphere("sp2",Iron,0,2,0,180,0,360);
   sp2->SetLineColor(2);
   sp2->SetFillColor(2);

   TGeoVolume *sp3=geom->MakeSphere("sp3",Iron,0,2,0,180,0,360);
   sp3->SetLineColor(4);
   sp3->SetFillColor(4);

   TGeoVolume *tbs=geom->MakeTubs("tbs",Iron,0,3,120,0,360);
   tbs->SetLineColor(10);
   tbs->SetFillColor(10); 

   TGeoVolume *tbs1=geom->MakeTubs("tbs1",Iron,3,5,15,0,360);
   tbs1->SetLineColor(17);
   tbs1->SetFillColor(17);

   TGeoVolume *tbs2=geom->MakeTubs("tbs2",Iron,3,15,30,0,360);
   tbs2->SetLineColor(17);
   tbs2->SetFillColor(17);

   TGeoVolume *tbs3=geom->MakeTubs("tbs3",Iron,3,10,10,0,360);
   tbs3->SetLineColor(17);
   tbs3->SetFillColor(17);

   TGeoVolume *tbs4=geom->MakeTubs("tbs4",Iron,3,7,10,0,360);
   tbs4->SetLineColor(18);
   tbs4->SetFillColor(18);

   TGeoVolume *tbs5=geom->MakeTubs("tbs5",Iron,3,13,20,0,360);
   tbs5->SetLineColor(17);
   tbs5->SetFillColor(17); 

   TGeoVolume *tbs6=geom->MakeTubs("tbs6",Iron,3,7,10,0,360);
   tbs6->SetLineColor(18);
   tbs6->SetFillColor(18);

   TGeoVolume *tbs7=geom->MakeTubs("tbs7",Iron,3,15,22,0,360);
   tbs7->SetLineColor(15);
   tbs7->SetFillColor(15); 

   TGeoVolume *tbs8=geom->MakeTubs("tbs8",Iron,0,10,5,0,360);
   tbs8->SetLineColor(17);
   tbs8->SetFillColor(17);
   
   TGeoVolume *tbs9=geom->MakeTubs("tbs9",Iron,0,15,5,0,360);
   tbs9->SetLineColor(15);
   tbs9->SetFillColor(15);

   TGeoVolume *tbs10=geom->MakeTubs("tbs10",Iron,4,6,8,0,360);
   tbs10->SetLineColor(15);
   tbs10->SetFillColor(15);

   TGeoVolume *tbs11=geom->MakeTubs("tbs11",Iron,0,4,6,0,360);
   tbs11->SetLineColor(17);
   tbs11->SetFillColor(17);

   TGeoVolume *tbs12=geom->MakeTubs("tbs12",Iron,0,4,6,0,360);
   tbs12->SetLineColor(17);
   tbs12->SetFillColor(17);

   TGeoVolume *tbs13=geom->MakeTubs("tbs13",Iron,1.7,3.7,1,-90,180);
   tbs13->SetLineColor(12);
   tbs13->SetFillColor(12);

   TGeoVolume *tbs14=geom->MakeTubs("tbs14",Iron,1.7,3.7,1,90,0);
   tbs14->SetLineColor(12);
   tbs14->SetFillColor(12);

   TGeoVolume *tbs15=geom->MakeTubs("tbs15",Iron,14,15.2,9,0,360);
   tbs15->SetLineColor(10);
   tbs15->SetFillColor(10);

   TGeoVolume *tbs16=geom->MakeTubs("tbs16",Iron,14,15.2,12,0,360);
   tbs16->SetLineColor(10);
   tbs16->SetFillColor(10);

   TGeoVolume *tbs18=geom->MakeTubs("tbs18",Iron,14,15.2,9,80,100);
   tbs18->SetLineColor(13);
   tbs18->SetFillColor(13);

   TGeoVolume *tbs19=geom->MakeTubs("tbs19",Iron,14,15.2,9,80,100);
   tbs19->SetLineColor(13);
   tbs19->SetFillColor(13);

   TGeoVolume *tbs20=geom->MakeTubs("tbs20",Iron,12,13.2,14,80,100);
   tbs20->SetLineColor(13);
   tbs20->SetFillColor(13);

   TGeoVolume *tbs21=geom->MakeTubs("tbs21",Iron,12,13.2,14,80,100);
   tbs21->SetLineColor(13);
   tbs21->SetFillColor(13);
    
   TGeoVolume *tbs22=geom->MakeTubs("tbs22",Iron,14,15.2,12,80,100);
   tbs22->SetLineColor(13);
   tbs22->SetFillColor(13);

   TGeoVolume *tbs23=geom->MakeTubs("tbs23",Iron,14,15.2,12,80,100);
   tbs23->SetLineColor(13);
   tbs23->SetFillColor(13);

   
   TGeoVolume *Cone=geom->MakeCone("Cone",Copper,3,3,10,3,15);
   Cone->SetLineColor(17);
   Cone->SetFillColor(17);
   
   TGeoVolume *Cone1=geom->MakeCone("Cone1",Copper,3,3,5,3,15);
   Cone1->SetLineColor(17);
   Cone1->SetFillColor(17);

   TGeoVolume *Cone2=geom->MakeCone("Cone2",Copper,3,3,13,3,7);
   Cone2->SetLineColor(17);
   Cone2->SetFillColor(17);

   TGeoVolume *Cone3=geom->MakeCone("Cone3",Copper,3,3,10,3,7);
   Cone3->SetLineColor(17);
   Cone3->SetFillColor(17);

   TGeoVolume *Cone4=geom->MakeCone("Cone4",Copper,3,3,7,3,13);
   Cone4->SetLineColor(17);
   Cone4->SetFillColor(17);

   TGeoVolume *Cone5=geom->MakeCone("Cone5",Copper,3,3,15,3,7);
   Cone5->SetLineColor(15);
   Cone5->SetFillColor(15);

   TGeoVolume *Cone6=geom->MakeCone("Cone6",Copper,8,0,8,0,8);
   Cone6->SetLineColor(17);
   Cone6->SetFillColor(17);

   TGeoVolume *Cone7=geom->MakeCone("Cone7",Copper,1,3,5,3,6);
   Cone7->SetLineColor(18);
   Cone7->SetFillColor(18);
   
   TGeoVolume *Cone8=geom->MakeCone("Cone8",Copper,3,3,15,3,7);
   Cone8->SetLineColor(15);
   Cone8->SetFillColor(15);

   TGeoVolume *Cone9=geom->MakeCone("Cone9",Copper,1,3,5,3,6);
   Cone9->SetLineColor(12);
   Cone9->SetFillColor(12);
    
   TGeoVolume *Cone10=geom->MakeCone("Cone10",Copper,1,3,5,3,6);
   Cone10->SetLineColor(12);
   Cone10->SetFillColor(12);

   TGeoVolume *Cone11=geom->MakeCone("Cone11",Copper,1,3,5,3,6);
   Cone11->SetLineColor(14);
   Cone11->SetFillColor(14);

   TGeoVolume *Cone12=geom->MakeCone("Cone12",Copper,1,3,5,3,6);
   Cone12->SetLineColor(14);
   Cone12->SetFillColor(14);

   TGeoVolume *a1=geom->MakeBox("a1",Iron,2,1,2);
   a1->SetLineColor(10);
   a1->SetFillColor(10); 
   top->AddNodeOverlap(a1,1,new TGeoCombiTrans(0,15,98, new TGeoRotation("a1",0,30,0))); 

   TGeoVolume *a2=geom->MakeBox("a2",Iron,2,1,2);
   a2->SetLineColor(10);
   a2->SetFillColor(10); 
   top->AddNodeOverlap(a2,1,new TGeoCombiTrans(0,15,90, new TGeoRotation("a2",0,0,0))); 
      
   TGeoVolume *a3=geom->MakeBox("a3",Iron,2,1,2);
   a3->SetLineColor(10);
   a3->SetFillColor(10); 
   top->AddNodeOverlap(a3,1,new TGeoCombiTrans(0,15,85, new TGeoRotation("a3",0,0,0))); 
      
   TGeoVolume *a4=geom->MakeBox("a4",Iron,2,1,2);
   a4->SetLineColor(10);
   a4->SetFillColor(10); 
   top->AddNodeOverlap(a4,1,new TGeoCombiTrans(3,14,76, new TGeoRotation("a4",0,0,0))); 

   TGeoVolume *a5=geom->MakeBox("a5",Iron,2,1,2);
   a5->SetLineColor(10);
   a5->SetFillColor(10); 
   top->AddNodeOverlap(a5,1,new TGeoCombiTrans(-7,13,75, new TGeoRotation("a5",0,0,0))); 

   TGeoVolume *a6=geom->MakeBox("a6",Iron,2,1,2);
   a6->SetLineColor(10);
   a6->SetFillColor(10); 
   top->AddNodeOverlap(a6,1,new TGeoCombiTrans(-7,13,71, new TGeoRotation("a6",0,0,0))); 
      
   TGeoVolume *a7=geom->MakeBox("a7",Iron,2,1,2);
   a7->SetLineColor(10);
   a7->SetFillColor(10); 
   top->AddNodeOverlap(a7,1,new TGeoCombiTrans(-6,13,66, new TGeoRotation("a7",0,40,0))); 
      
   TGeoVolume *a8=geom->MakeBox("a8",Iron,2,1,2);
   a8->SetLineColor(10);
   a8->SetFillColor(10); 
   top->AddNodeOverlap(a8,1,new TGeoCombiTrans(-7,13,60, new TGeoRotation("a8",0,0,0))); 

   TGeoVolume *a9=geom->MakeBox("a9",Iron,2,1,2);
   a9->SetLineColor(10);
   a9->SetFillColor(10); 
   top->AddNodeOverlap(a9,1,new TGeoCombiTrans(3,12,-1, new TGeoRotation("a9",0,0,0))); 

   TGeoVolume *a10=geom->MakeBox("a12",Iron,2,1,2);
   a10->SetLineColor(10);
   a10->SetFillColor(10); 
   top->AddNodeOverlap(a10,1,new TGeoCombiTrans(2,12,-6, new TGeoRotation("a5",0,0,0))); 

   TGeoVolume *a11=geom->MakeBox("a11",Iron,2,1,2);
   a11->SetLineColor(10);
   a11->SetFillColor(10); 
   top->AddNodeOverlap(a11,1,new TGeoCombiTrans(-3,12,-20, new TGeoRotation("a6",20,0,0))); 
      
   TGeoVolume *a12=geom->MakeBox("a12",Iron,2,1,2);
   a12->SetLineColor(10);
   a12->SetFillColor(10); 
   top->AddNodeOverlap(a12,1,new TGeoCombiTrans(-1,12,-25, new TGeoRotation("a7",0,40,0))); 
      
   TGeoVolume *a13=geom->MakeBox("a13",Iron,2,1,2);
   a13->SetLineColor(10);
   a13->SetFillColor(10); 
   top->AddNodeOverlap(a13,1,new TGeoCombiTrans(-3,12,-29, new TGeoRotation("a8",0,0,0))); 

   TGeoVolume *a14=geom->MakeTubs("a14",Iron,0,1,20,0,360);
   a14->SetLineColor(36);
   a14->SetFillColor(36); 
   top->AddNodeOverlap(a14,1,new TGeoCombiTrans(7.5,7.5,20, new TGeoRotation("a8",0,0,0))); 

   TGeoVolume *a15=geom->MakeTubs("a15",Iron,0,1,20,0,360);
   a15->SetLineColor(36);
   a15->SetFillColor(36); 
   top->AddNodeOverlap(a15,1,new TGeoCombiTrans(-7.5,7.5,20, new TGeoRotation("a8",0,0,0))); 

   TGeoVolume *a16=geom->MakeTubs("a16",Iron,0,1,20,0,360);
   a16->SetLineColor(36);
   a16->SetFillColor(36); 
   top->AddNodeOverlap(a16,1,new TGeoCombiTrans(7.5,-7.5,20, new TGeoRotation("a8",0,0,0))); 

   TGeoVolume *a17=geom->MakeTubs("a17",Iron,0,1,20,0,360);
   a17->SetLineColor(36);
   a17->SetFillColor(36); 
   top->AddNodeOverlap(a17,1,new TGeoCombiTrans(-7.5,-7.5,20, new TGeoRotation("a8",0,0,0))); 

   TGeoVolume *a18=geom->MakeTubs("a18",Iron,0,1,20,0,360);
   a18->SetLineColor(36);
   a18->SetFillColor(36); 
   top->AddNodeOverlap(a18,1,new TGeoCombiTrans(7.5,7.5,-50, new TGeoRotation("a8",0,0,0))); 

   TGeoVolume *a19=geom->MakeTubs("a19",Iron,0,1,20,0,360);
   a19->SetLineColor(36);
   a19->SetFillColor(36); 
   top->AddNodeOverlap(a19,1,new TGeoCombiTrans(-7.5,7.5,-50, new TGeoRotation("a8",0,0,0))); 

   TGeoVolume *a20=geom->MakeTubs("a20",Iron,0,1,20,0,360);
   a20->SetLineColor(36);
   a20->SetFillColor(36); 
   top->AddNodeOverlap(a20,1,new TGeoCombiTrans(7.5,-7.5,-50, new TGeoRotation("a8",0,0,0))); 

   TGeoVolume *a21=geom->MakeTubs("a21",Iron,0,1,20,0,360);
   a21->SetLineColor(36);
   a21->SetFillColor(36); 
   top->AddNodeOverlap(a21,1,new TGeoCombiTrans(-7.5,-7.5,-50, new TGeoRotation("a8",0,0,0))); 

   TGeoVolume *a22=geom->MakeTubs("a22",Iron,3,4,3,0,360);
   a22->SetLineColor(10);
   a22->SetFillColor(10); 
   top->AddNodeOverlap(a22,1,new TGeoCombiTrans(14,6,97, new TGeoRotation("a22",110,90,0))); 

   TGeoVolume *a23=geom->MakeTubs("a23",Iron,3,4,3,0,360);
   a23->SetLineColor(14);
   a23->SetFillColor(14); 
   top->AddNodeOverlap(a23,1,new TGeoCombiTrans(0,-7,14, new TGeoRotation("a22",180,90,0))); 

   
   TGeoVolume *Cone15=geom->MakeCone("Cone15",Copper,1,3,4,4,5);
   Cone15->SetLineColor(14);
   Cone15->SetFillColor(14);
   top->AddNodeOverlap(Cone15,1,new TGeoCombiTrans(0,-11,14, new TGeoRotation("a23",0,90,0))); 
    

   TGeoVolume *a24=geom->MakeTubs("a24",Iron,3,4,3,0,360);
   a24->SetLineColor(14);
   a24->SetFillColor(14); 
   top->AddNodeOverlap(a24,1,new TGeoCombiTrans(0,-7,-46, new TGeoRotation("a23",180,90,0))); 

   TGeoVolume *a25=geom->MakeTubs("a25",Iron,3,5,8,0,360);
   a25->SetLineColor(18);
   a25->SetFillColor(18); 
   top->AddNodeOverlap(a25,1,new TGeoCombiTrans(0,-20,-46, new TGeoRotation("a23",180,90,0))); 
    
   TGeoVolume *Cone13=geom->MakeCone("Cone13",Copper,1,3,4,4,5);
   Cone13->SetLineColor(14);
   Cone13->SetFillColor(14);
   top->AddNodeOverlap(Cone13,1,new TGeoCombiTrans(0,-11,-46, new TGeoRotation("a23",0,90,0))); 
      
   TGeoVolume *Cone14=geom->MakeCone("Cone14",Copper,1,3,4,4,5);
   Cone14->SetLineColor(14);
   Cone14->SetFillColor(14);
   top->AddNodeOverlap(Cone14,1,new TGeoCombiTrans(0,-29,-46, new TGeoRotation("a23",0,270,0))); 
    
   TGeoVolume *sp4=geom->MakeSphere("sp4",Iron,0,4,0,180,0,360);
   sp4->SetLineColor(10);
   sp4->SetFillColor(10);
   top->AddNodeOverlap(sp4,1,new TGeoCombiTrans(0,-32,-46, new TGeoRotation("a23",0,0,0)));      

   TGeoVolume *Cone16=geom->MakeCone("Cone16",Copper,1,3,4,4,5);
   Cone16->SetLineColor(14);
   Cone16->SetFillColor(14);
   top->AddNodeOverlap(Cone16,1,new TGeoCombiTrans(-1,-35,-46, new TGeoRotation("a23",-30,80,0))); 

   TGeoVolume *a26=geom->MakeTubs("a26",Iron,3,5,12,0,360);
   a26->SetLineColor(18);
   a26->SetFillColor(18); 
   top->AddNodeOverlap(a26,1,new TGeoCombiTrans(-7.5,-46,-43.5, new TGeoRotation("a23",-30,80,0))); 

   TGeoVolume *Cone17=geom->MakeCone("Cone17",Copper,1,3,4,4,5);
   Cone17->SetLineColor(14);
   Cone17->SetFillColor(14);
   top->AddNodeOverlap(Cone17,1,new TGeoCombiTrans(-13.7,-57,-41.2, new TGeoRotation("a23",-30,260,0))); 

   TGeoVolume *a27=geom->MakeTubs("a27",Iron,4,6,12,0,360);
   a27->SetLineColor(18);
   a27->SetFillColor(18); 
   top->AddNodeOverlap(a27,1,new TGeoCombiTrans(23.2,0,31, new TGeoRotation("a23",90,90,0))); 

   TGeoVolume *Cone18=geom->MakeCone("Cone18",Copper,1,3,5,3,6);
   Cone18->SetLineColor(14);
   Cone18->SetFillColor(14);
   top->AddNodeOverlap(Cone18,1,new TGeoCombiTrans(36,0,31, new TGeoRotation("c34",270,90,0))); 





   char nBlocks[50];
   int i=1;
   int N=0;
   int f=0;
   TGeoVolume *mBlock; 
      
   f=0;
   while (f<4){
   i=0;
   while (i<30){
        sprintf(nBlocks,"f%d_bg%d",f,N++);
        mBlock = geom->MakeBox(nBlocks, Copper,2,1,3);
        mBlock->SetLineColor(46);
        top->AddNodeOverlap(mBlock,1,new TGeoCombiTrans(15+(i*5),75,-65+(f*7), new TGeoRotation("z",0,0,0)));
        i++;
     }
        f++;
     } 

       TGeoVolume *mBlock1; 
      
   f=0;
   while (f<4){
   i=0;
   while (i<30){
        sprintf(nBlocks,"f%d_bg%d",f,N++);
        mBlock1 = geom->MakeBox(nBlocks, Copper,2,1,3);
        mBlock1->SetLineColor(46);
        top->AddNodeOverlap(mBlock1,1,new TGeoCombiTrans(14+(i*5),75,-100+(f*7), new TGeoRotation("z",0,0,0)));
        i++;
     }
        f++;
     } 

       TGeoVolume *mBlock2; 
      
   f=0;
   while (f<4){
   i=0;
   while (i<30){
        sprintf(nBlocks,"f%d_bg%d",f,N++);
        mBlock2 = geom->MakeBox(nBlocks, Copper,2,1,3);
        mBlock2->SetLineColor(46);
        top->AddNodeOverlap(mBlock2,1,new TGeoCombiTrans(-160+(i*5),75,-75+(f*7), new TGeoRotation("z",0,0,0)));
        i++;
     }
        f++;
     } 
    
       TGeoVolume *mBlock3; 
      
   f=0;
   while (f<4){
   i=0;
   while (i<30){
        sprintf(nBlocks,"f%d_bg%d",f,N++);
        mBlock3 = geom->MakeBox(nBlocks, Copper,2,1,3);
        mBlock3->SetLineColor(46);
        top->AddNodeOverlap(mBlock3,1,new TGeoCombiTrans(-160+(i*5),75,-110+(f*7), new TGeoRotation("z",0,0,0)));
        i++;
     }
        f++;
     } 
   
   
   top->AddNodeOverlap(b1,1,new TGeoCombiTrans(5,5,130, new TGeoRotation("b1",0,0,-45))); 
   top->AddNodeOverlap(b2,1,new TGeoCombiTrans(-5,-5,130, new TGeoRotation("b2",0,0,-45))); 
   top->AddNodeOverlap(b12,1,new TGeoCombiTrans(8.2,8.2,130, new TGeoRotation("b12",0,0,-45))); 
   top->AddNodeOverlap(b22,1,new TGeoCombiTrans(-8.2,-8.2,130, new TGeoRotation("b22",0,0,-45)));
   top->AddNodeOverlap(b13,1,new TGeoCombiTrans(11.4,11.4,130, new TGeoRotation("b13",0,0,-45))); 
   top->AddNodeOverlap(b23,1,new TGeoCombiTrans(-11.4,-11.4,130, new TGeoRotation("b23",0,0,-45)));
   top->AddNodeOverlap(b14,1,new TGeoCombiTrans(14.6,14.6,130, new TGeoRotation("b14",0,0,-45))); 
   top->AddNodeOverlap(b24,1,new TGeoCombiTrans(-14.6,-14.6,130, new TGeoRotation("b24",0,0,-45)));
   top->AddNodeOverlap(b3,1,new TGeoCombiTrans(50,0,71, new TGeoRotation("b3",0,-30,0))); 
   top->AddNodeOverlap(b4,1,new TGeoCombiTrans(-50,0,71, new TGeoRotation("b4",0,-30,0)));
   top->AddNodeOverlap(b31,1,new TGeoCombiTrans(20,5,68, new TGeoRotation("b31",0,-30,0))); 
   top->AddNodeOverlap(b41,1,new TGeoCombiTrans(-20,5,68, new TGeoRotation("b41",0,-30,0)));
   top->AddNodeOverlap(b32,1,new TGeoCombiTrans(31,5,68, new TGeoRotation("b32",0,-30,0))); 
   top->AddNodeOverlap(b42,1,new TGeoCombiTrans(-31,5,68, new TGeoRotation("b42",0,-30,0)));
   top->AddNodeOverlap(b33,1,new TGeoCombiTrans(42,5,68, new TGeoRotation("b33",0,-30,0))); 
   top->AddNodeOverlap(b43,1,new TGeoCombiTrans(-42,5,68, new TGeoRotation("b43",0,-30,0)));
   top->AddNodeOverlap(b34,1,new TGeoCombiTrans(54,7,67, new TGeoRotation("b34",0,-30,0))); 
   top->AddNodeOverlap(b44,1,new TGeoCombiTrans(-54,7,67, new TGeoRotation("b44",0,-30,0)));
   top->AddNodeOverlap(b35,1,new TGeoCombiTrans(67,7,67, new TGeoRotation("b35",0,-30,0))); 
   top->AddNodeOverlap(b45,1,new TGeoCombiTrans(-67,7,67, new TGeoRotation("b45",0,-30,0)));
   top->AddNodeOverlap(b36,1,new TGeoCombiTrans(80,7,67, new TGeoRotation("b36",0,-30,0))); 
   top->AddNodeOverlap(b46,1,new TGeoCombiTrans(-80,7,67, new TGeoRotation("b46",0,-30,0)));
   top->AddNodeOverlap(b37,1,new TGeoCombiTrans(20,-5,74, new TGeoRotation("b37",0,-30,0))); 
   top->AddNodeOverlap(b47,1,new TGeoCombiTrans(-20,-5,74, new TGeoRotation("b47",0,-30,0)));
   top->AddNodeOverlap(b38,1,new TGeoCombiTrans(31,-5,74, new TGeoRotation("b38",0,-30,0))); 
   top->AddNodeOverlap(b48,1,new TGeoCombiTrans(-31,-5,74, new TGeoRotation("b48",0,-30,0)));
   top->AddNodeOverlap(b39,1,new TGeoCombiTrans(42,-5,74, new TGeoRotation("b39",0,-30,0))); 
   top->AddNodeOverlap(b49,1,new TGeoCombiTrans(-42,-5,74, new TGeoRotation("b49",0,-30,0)));
   top->AddNodeOverlap(b310,1,new TGeoCombiTrans(54,-7,75, new TGeoRotation("b310",0,-30,0))); 
   top->AddNodeOverlap(b410,1,new TGeoCombiTrans(-54,-7,75, new TGeoRotation("b410",0,-30,0)));
   top->AddNodeOverlap(b311,1,new TGeoCombiTrans(67,-7,75, new TGeoRotation("b311",0,-30,0))); 
   top->AddNodeOverlap(b411,1,new TGeoCombiTrans(-67,-7,75, new TGeoRotation("b411",0,-30,0)));
   top->AddNodeOverlap(b312,1,new TGeoCombiTrans(80,-7,75, new TGeoRotation("b312",0,-30,0))); 
   top->AddNodeOverlap(b412,1,new TGeoCombiTrans(-80,-7,75, new TGeoRotation("b412",0,-30,0)));
   top->AddNodeOverlap(b5,1,new TGeoCombiTrans(55,0,-15, new TGeoRotation("b5",0,-30,0))); 
   top->AddNodeOverlap(b6,1,new TGeoCombiTrans(-55,0,-15, new TGeoRotation("b6",0,-30,0)));
   top->AddNodeOverlap(b51,1,new TGeoCombiTrans(20,5,-18, new TGeoRotation("b51",0,-30,0))); 
   top->AddNodeOverlap(b61,1,new TGeoCombiTrans(-20,5,-18, new TGeoRotation("b61",0,-30,0)));
   top->AddNodeOverlap(b52,1,new TGeoCombiTrans(31,5,-18, new TGeoRotation("b52",0,-30,0))); 
   top->AddNodeOverlap(b62,1,new TGeoCombiTrans(-31,5,-18, new TGeoRotation("b62",0,-30,0)));
   top->AddNodeOverlap(b53,1,new TGeoCombiTrans(42,5,-18, new TGeoRotation("b53",0,-30,0))); 
   top->AddNodeOverlap(b63,1,new TGeoCombiTrans(-42,5,-18, new TGeoRotation("b63",0,-30,0)));
   top->AddNodeOverlap(b54,1,new TGeoCombiTrans(54,7,-19, new TGeoRotation("b54",0,-30,0))); 
   top->AddNodeOverlap(b64,1,new TGeoCombiTrans(-54,7,-19, new TGeoRotation("b64",0,-30,0)));
   top->AddNodeOverlap(b55,1,new TGeoCombiTrans(67,7,-19, new TGeoRotation("b55",0,-30,0))); 
   top->AddNodeOverlap(b65,1,new TGeoCombiTrans(-67,7,-19, new TGeoRotation("b65",0,-30,0)));
   top->AddNodeOverlap(b56,1,new TGeoCombiTrans(80,7,-19, new TGeoRotation("b56",0,-30,0))); 
   top->AddNodeOverlap(b66,1,new TGeoCombiTrans(-80,7,-19, new TGeoRotation("b66",0,-30,0)));
   top->AddNodeOverlap(b514,1,new TGeoCombiTrans(93,7,-19, new TGeoRotation("b514",0,-30,0))); 
   top->AddNodeOverlap(b614,1,new TGeoCombiTrans(-93,7,-19, new TGeoRotation("b614",0,-30,0)));
   top->AddNodeOverlap(b57,1,new TGeoCombiTrans(20,-5,-12, new TGeoRotation("b57",0,-30,0))); 
   top->AddNodeOverlap(b67,1,new TGeoCombiTrans(-20,-5,-12, new TGeoRotation("b67",0,-30,0)));
   top->AddNodeOverlap(b58,1,new TGeoCombiTrans(31,-5,-12, new TGeoRotation("b58",0,-30,0))); 
   top->AddNodeOverlap(b68,1,new TGeoCombiTrans(-31,-5,-12, new TGeoRotation("b68",0,-30,0)));
   top->AddNodeOverlap(b59,1,new TGeoCombiTrans(42,-5,-12, new TGeoRotation("b59",0,-30,0))); 
   top->AddNodeOverlap(b69,1,new TGeoCombiTrans(-42,-5,-12, new TGeoRotation("b69",0,-30,0)));
   top->AddNodeOverlap(b510,1,new TGeoCombiTrans(54,-7,-11, new TGeoRotation("b510",0,-30,0))); 
   top->AddNodeOverlap(b610,1,new TGeoCombiTrans(-54,-7,-11, new TGeoRotation("b610",0,-30,0)));
   top->AddNodeOverlap(b511,1,new TGeoCombiTrans(67,-7,-11, new TGeoRotation("b511",0,-30,0))); 
   top->AddNodeOverlap(b611,1,new TGeoCombiTrans(-67,-7,-11, new TGeoRotation("b611",0,-30,0)));
   top->AddNodeOverlap(b512,1,new TGeoCombiTrans(80,-7,-11, new TGeoRotation("b512",0,-30,0))); 
   top->AddNodeOverlap(b612,1,new TGeoCombiTrans(-80,-7,-11, new TGeoRotation("b612",0,-30,0)));
   top->AddNodeOverlap(b513,1,new TGeoCombiTrans(93,-7,-11, new TGeoRotation("b513",0,-30,0))); 
   top->AddNodeOverlap(b613,1,new TGeoCombiTrans(-93,-7,-11, new TGeoRotation("b613",0,-30,0)));
   top->AddNodeOverlap(b7,1,new TGeoCombiTrans(0,40,-80, new TGeoRotation("b7",0,90,0))); 
   top->AddNodeOverlap(b71,1,new TGeoCombiTrans(0,40,-38, new TGeoRotation("b71",0,90,0)));  
   top->AddNodeOverlap(b81,1,new TGeoCombiTrans(0,57,-122, new TGeoRotation("b81",0,90,0)));       
   top->AddNodeOverlap(b72,1,new TGeoCombiTrans(0,40,-62, new TGeoRotation("b72",0,90,0)));  
   top->AddNodeOverlap(b82,1,new TGeoCombiTrans(0,57,-98, new TGeoRotation("b82",0,90,0))); 
   top->AddNodeOverlap(b73,1,new TGeoCombiTrans(0,40,-49, new TGeoRotation("b73",0,90,0)));  
   top->AddNodeOverlap(b83,1,new TGeoCombiTrans(0,57,-111, new TGeoRotation("b83",0,90,0))); 
   top->AddNodeOverlap(b74,1,new TGeoCombiTrans(0,40,-36, new TGeoRotation("b74",0,90,0)));  
   top->AddNodeOverlap(b84,1,new TGeoCombiTrans(0,57,-124, new TGeoRotation("b84",0,90,0))); 
   top->AddNodeOverlap(b75,1,new TGeoCombiTrans(0,40,-23, new TGeoRotation("b75",0,90,0)));  
   top->AddNodeOverlap(b85,1,new TGeoCombiTrans(0,57,-137, new TGeoRotation("b85",0,90,0))); 
   top->AddNodeOverlap(b76,1,new TGeoCombiTrans(0,40,-10, new TGeoRotation("b76",0,90,0)));  
   top->AddNodeOverlap(b86,1,new TGeoCombiTrans(0,57,-150, new TGeoRotation("b86",0,90,0))); 
   top->AddNodeOverlap(b9,1,new TGeoCombiTrans(0,75,-80, new TGeoRotation("b9",0,90,0))); 
   top->AddNodeOverlap(b10,1,new TGeoCombiTrans(12,75,-72, new TGeoRotation("b10",0,90,0))); 
   top->AddNodeOverlap(b111,1,new TGeoCombiTrans(163,75,-72, new TGeoRotation("b111",0,90,0))); 
   top->AddNodeOverlap(b121,1,new TGeoCombiTrans(-12,75,-82, new TGeoRotation("b121",0,90,0))); 
   top->AddNodeOverlap(b131,1,new TGeoCombiTrans(-163,75,-82, new TGeoRotation("b131",0,90,0))); 
   top->AddNodeOverlap(n1,1,new TGeoCombiTrans(-15,0,-97, new TGeoRotation("n1",0,0,0))); 
   top->AddNodeOverlap(n2,1,new TGeoCombiTrans(-15,0,-94, new TGeoRotation("n2",0,-25,0))); 
   top->AddNodeOverlap(n3,1,new TGeoCombiTrans(-15,0,-91, new TGeoRotation("n3",0,0,0))); 
   top->AddNodeOverlap(n4,1,new TGeoCombiTrans(-15,0,-85, new TGeoRotation("n4",0,15,0))); 
   top->AddNodeOverlap(n5,1,new TGeoCombiTrans(-15,-2,-83, new TGeoRotation("n5",0,0,0))); 
   top->AddNodeOverlap(n6,1,new TGeoCombiTrans(-15,0,-81, new TGeoRotation("n6",0,-15,0))); 
   top->AddNodeOverlap(n7,1,new TGeoCombiTrans(-15,0,-65, new TGeoRotation("n7",0,15,0))); 
   top->AddNodeOverlap(n8,1,new TGeoCombiTrans(-15,-2,-63, new TGeoRotation("n8",0,0,0))); 
   top->AddNodeOverlap(n9,1,new TGeoCombiTrans(-15,0,-61, new TGeoRotation("n9",0,-15,0))); 
   top->AddNodeOverlap(sp,1,new TGeoTranslation(100,100,150));
   top->AddNodeOverlap(sp1,1,new TGeoTranslation(-100,-100,-150));
   top->AddNodeOverlap(sp2,1,new TGeoCombiTrans(0,80,-85, new TGeoRotation("sp1",0,0,0)));
   top->AddNodeOverlap(sp3,1,new TGeoCombiTrans(0,80,-75, new TGeoRotation("sp3",0,0,0)));
   top->AddNodeOverlap(tbs,1,new TGeoCombiTrans(0,0,14, new TGeoRotation("r1",0,0,0)));
   top->AddNodeOverlap(tbs1,1,new TGeoCombiTrans(0,0,118, new TGeoRotation("r2",0,0,0)));
   top->AddNodeOverlap(tbs2,1,new TGeoCombiTrans(0,0,74, new TGeoRotation("r3",0,0,0)));
   top->AddNodeOverlap(tbs3,1,new TGeoCombiTrans(0,0,34, new TGeoRotation("r4",0,0,0)));
   top->AddNodeOverlap(tbs4,1,new TGeoCombiTrans(0,0,14, new TGeoRotation("r5",0,0,0)));
   top->AddNodeOverlap(tbs5,1,new TGeoCombiTrans(0,0,-16, new TGeoRotation("r6",0,0,0)));
   top->AddNodeOverlap(tbs6,1,new TGeoCombiTrans(0,0,-46, new TGeoRotation("r7",0,0,0)));
   top->AddNodeOverlap(tbs7,1,new TGeoCombiTrans(0,0,-78, new TGeoRotation("r8",0,0,0)));
   top->AddNodeOverlap(tbs8,1,new TGeoCombiTrans(0,20,-80, new TGeoRotation("r9",0,90,0)));
   top->AddNodeOverlap(tbs9,1,new TGeoCombiTrans(20,0,-80, new TGeoRotation("r10",90,90,0)));
   top->AddNodeOverlap(tbs10,1,new TGeoCombiTrans(30,0,-80, new TGeoRotation("r11",90,90,0)));
   top->AddNodeOverlap(tbs11,1,new TGeoCombiTrans(5,75,-80, new TGeoRotation("r12",90,90,0)));
   top->AddNodeOverlap(tbs12,1,new TGeoCombiTrans(-5,75,-80, new TGeoRotation("r13",90,90,0)));
   top->AddNodeOverlap(tbs13,1,new TGeoCombiTrans(-15,-2.6,-73, new TGeoRotation("r14",90,90,90)));
   top->AddNodeOverlap(tbs14,1,new TGeoCombiTrans(-15,2.6,-73, new TGeoRotation("r15",90,90,90)));
   top->AddNodeOverlap(tbs15,1,new TGeoCombiTrans(0,0,95, new TGeoRotation("r16",0,0,0)));
   top->AddNodeOverlap(tbs16,1,new TGeoCombiTrans(0,0,-90, new TGeoRotation("r17",0,0,20)));
   top->AddNodeOverlap(tbs18,1,new TGeoCombiTrans(0,0,57, new TGeoRotation("r19",0,0,160)));
   top->AddNodeOverlap(tbs19,1,new TGeoCombiTrans(0,0,57, new TGeoRotation("r20",0,0,200)));
   top->AddNodeOverlap(tbs20,1,new TGeoCombiTrans(0,0,-15, new TGeoRotation("r21",0,0,160)));
   top->AddNodeOverlap(tbs21,1,new TGeoCombiTrans(0,0,-15, new TGeoRotation("r22",0,0,200)));
   top->AddNodeOverlap(tbs22,1,new TGeoCombiTrans(0,0,90, new TGeoRotation("r23",0,0,160)));
   top->AddNodeOverlap(tbs23,1,new TGeoCombiTrans(0,0,90, new TGeoRotation("r24",0,0,200)));
   top->AddNodeOverlap(Cone,1,new TGeoCombiTrans(0,0,41, new TGeoRotation("c1",0,0,0)));
   top->AddNodeOverlap(Cone1,1,new TGeoCombiTrans(0,0,107, new TGeoRotation("c2",0,180,0)));
   top->AddNodeOverlap(Cone2,1,new TGeoCombiTrans(0,0,7, new TGeoRotation("c3",0,0,0)));
   top->AddNodeOverlap(Cone3,1,new TGeoCombiTrans(0,0,21, new TGeoRotation("c4",0,180,0)));
   top->AddNodeOverlap(Cone4,1,new TGeoCombiTrans(0,0,-39, new TGeoRotation("c5",0,0,0)));
   top->AddNodeOverlap(Cone5,1,new TGeoCombiTrans(0,0,-53, new TGeoRotation("c5",0,0,0)));
   top->AddNodeOverlap(Cone6,1,new TGeoCombiTrans(0,63,-80, new TGeoRotation("c6",0,90,0)));
   top->AddNodeOverlap(Cone7,1,new TGeoCombiTrans(0,0,134, new TGeoRotation("c7",0,0,0)));
   top->AddNodeOverlap(Cone8,1,new TGeoCombiTrans(0,0,-103, new TGeoRotation("c8",0,180,0)));
   top->AddNodeOverlap(Cone9,1,new TGeoCombiTrans(-10,0,31, new TGeoRotation("c9",90,-90,90)));
   top->AddNodeOverlap(Cone10,1,new TGeoCombiTrans(10,0,31, new TGeoRotation("c9",-90,-90,90)));
   top->AddNodeOverlap(Cone11,1,new TGeoCombiTrans(39,0,-80, new TGeoRotation("c10",90,-90,90)));
   top->AddNodeOverlap(Cone12,1,new TGeoCombiTrans(0,0,-107, new TGeoRotation("c11",0,0,0)));
    
    
   top->SetVisibility(0);
   geom->CloseGeometry();  

   top->Draw("ogl");

}
 station2.C:1
 station2.C:2
 station2.C:3
 station2.C:4
 station2.C:5
 station2.C:6
 station2.C:7
 station2.C:8
 station2.C:9
 station2.C:10
 station2.C:11
 station2.C:12
 station2.C:13
 station2.C:14
 station2.C:15
 station2.C:16
 station2.C:17
 station2.C:18
 station2.C:19
 station2.C:20
 station2.C:21
 station2.C:22
 station2.C:23
 station2.C:24
 station2.C:25
 station2.C:26
 station2.C:27
 station2.C:28
 station2.C:29
 station2.C:30
 station2.C:31
 station2.C:32
 station2.C:33
 station2.C:34
 station2.C:35
 station2.C:36
 station2.C:37
 station2.C:38
 station2.C:39
 station2.C:40
 station2.C:41
 station2.C:42
 station2.C:43
 station2.C:44
 station2.C:45
 station2.C:46
 station2.C:47
 station2.C:48
 station2.C:49
 station2.C:50
 station2.C:51
 station2.C:52
 station2.C:53
 station2.C:54
 station2.C:55
 station2.C:56
 station2.C:57
 station2.C:58
 station2.C:59
 station2.C:60
 station2.C:61
 station2.C:62
 station2.C:63
 station2.C:64
 station2.C:65
 station2.C:66
 station2.C:67
 station2.C:68
 station2.C:69
 station2.C:70
 station2.C:71
 station2.C:72
 station2.C:73
 station2.C:74
 station2.C:75
 station2.C:76
 station2.C:77
 station2.C:78
 station2.C:79
 station2.C:80
 station2.C:81
 station2.C:82
 station2.C:83
 station2.C:84
 station2.C:85
 station2.C:86
 station2.C:87
 station2.C:88
 station2.C:89
 station2.C:90
 station2.C:91
 station2.C:92
 station2.C:93
 station2.C:94
 station2.C:95
 station2.C:96
 station2.C:97
 station2.C:98
 station2.C:99
 station2.C:100
 station2.C:101
 station2.C:102
 station2.C:103
 station2.C:104
 station2.C:105
 station2.C:106
 station2.C:107
 station2.C:108
 station2.C:109
 station2.C:110
 station2.C:111
 station2.C:112
 station2.C:113
 station2.C:114
 station2.C:115
 station2.C:116
 station2.C:117
 station2.C:118
 station2.C:119
 station2.C:120
 station2.C:121
 station2.C:122
 station2.C:123
 station2.C:124
 station2.C:125
 station2.C:126
 station2.C:127
 station2.C:128
 station2.C:129
 station2.C:130
 station2.C:131
 station2.C:132
 station2.C:133
 station2.C:134
 station2.C:135
 station2.C:136
 station2.C:137
 station2.C:138
 station2.C:139
 station2.C:140
 station2.C:141
 station2.C:142
 station2.C:143
 station2.C:144
 station2.C:145
 station2.C:146
 station2.C:147
 station2.C:148
 station2.C:149
 station2.C:150
 station2.C:151
 station2.C:152
 station2.C:153
 station2.C:154
 station2.C:155
 station2.C:156
 station2.C:157
 station2.C:158
 station2.C:159
 station2.C:160
 station2.C:161
 station2.C:162
 station2.C:163
 station2.C:164
 station2.C:165
 station2.C:166
 station2.C:167
 station2.C:168
 station2.C:169
 station2.C:170
 station2.C:171
 station2.C:172
 station2.C:173
 station2.C:174
 station2.C:175
 station2.C:176
 station2.C:177
 station2.C:178
 station2.C:179
 station2.C:180
 station2.C:181
 station2.C:182
 station2.C:183
 station2.C:184
 station2.C:185
 station2.C:186
 station2.C:187
 station2.C:188
 station2.C:189
 station2.C:190
 station2.C:191
 station2.C:192
 station2.C:193
 station2.C:194
 station2.C:195
 station2.C:196
 station2.C:197
 station2.C:198
 station2.C:199
 station2.C:200
 station2.C:201
 station2.C:202
 station2.C:203
 station2.C:204
 station2.C:205
 station2.C:206
 station2.C:207
 station2.C:208
 station2.C:209
 station2.C:210
 station2.C:211
 station2.C:212
 station2.C:213
 station2.C:214
 station2.C:215
 station2.C:216
 station2.C:217
 station2.C:218
 station2.C:219
 station2.C:220
 station2.C:221
 station2.C:222
 station2.C:223
 station2.C:224
 station2.C:225
 station2.C:226
 station2.C:227
 station2.C:228
 station2.C:229
 station2.C:230
 station2.C:231
 station2.C:232
 station2.C:233
 station2.C:234
 station2.C:235
 station2.C:236
 station2.C:237
 station2.C:238
 station2.C:239
 station2.C:240
 station2.C:241
 station2.C:242
 station2.C:243
 station2.C:244
 station2.C:245
 station2.C:246
 station2.C:247
 station2.C:248
 station2.C:249
 station2.C:250
 station2.C:251
 station2.C:252
 station2.C:253
 station2.C:254
 station2.C:255
 station2.C:256
 station2.C:257
 station2.C:258
 station2.C:259
 station2.C:260
 station2.C:261
 station2.C:262
 station2.C:263
 station2.C:264
 station2.C:265
 station2.C:266
 station2.C:267
 station2.C:268
 station2.C:269
 station2.C:270
 station2.C:271
 station2.C:272
 station2.C:273
 station2.C:274
 station2.C:275
 station2.C:276
 station2.C:277
 station2.C:278
 station2.C:279
 station2.C:280
 station2.C:281
 station2.C:282
 station2.C:283
 station2.C:284
 station2.C:285
 station2.C:286
 station2.C:287
 station2.C:288
 station2.C:289
 station2.C:290
 station2.C:291
 station2.C:292
 station2.C:293
 station2.C:294
 station2.C:295
 station2.C:296
 station2.C:297
 station2.C:298
 station2.C:299
 station2.C:300
 station2.C:301
 station2.C:302
 station2.C:303
 station2.C:304
 station2.C:305
 station2.C:306
 station2.C:307
 station2.C:308
 station2.C:309
 station2.C:310
 station2.C:311
 station2.C:312
 station2.C:313
 station2.C:314
 station2.C:315
 station2.C:316
 station2.C:317
 station2.C:318
 station2.C:319
 station2.C:320
 station2.C:321
 station2.C:322
 station2.C:323
 station2.C:324
 station2.C:325
 station2.C:326
 station2.C:327
 station2.C:328
 station2.C:329
 station2.C:330
 station2.C:331
 station2.C:332
 station2.C:333
 station2.C:334
 station2.C:335
 station2.C:336
 station2.C:337
 station2.C:338
 station2.C:339
 station2.C:340
 station2.C:341
 station2.C:342
 station2.C:343
 station2.C:344
 station2.C:345
 station2.C:346
 station2.C:347
 station2.C:348
 station2.C:349
 station2.C:350
 station2.C:351
 station2.C:352
 station2.C:353
 station2.C:354
 station2.C:355
 station2.C:356
 station2.C:357
 station2.C:358
 station2.C:359
 station2.C:360
 station2.C:361
 station2.C:362
 station2.C:363
 station2.C:364
 station2.C:365
 station2.C:366
 station2.C:367
 station2.C:368
 station2.C:369
 station2.C:370
 station2.C:371
 station2.C:372
 station2.C:373
 station2.C:374
 station2.C:375
 station2.C:376
 station2.C:377
 station2.C:378
 station2.C:379
 station2.C:380
 station2.C:381
 station2.C:382
 station2.C:383
 station2.C:384
 station2.C:385
 station2.C:386
 station2.C:387
 station2.C:388
 station2.C:389
 station2.C:390
 station2.C:391
 station2.C:392
 station2.C:393
 station2.C:394
 station2.C:395
 station2.C:396
 station2.C:397
 station2.C:398
 station2.C:399
 station2.C:400
 station2.C:401
 station2.C:402
 station2.C:403
 station2.C:404
 station2.C:405
 station2.C:406
 station2.C:407
 station2.C:408
 station2.C:409
 station2.C:410
 station2.C:411
 station2.C:412
 station2.C:413
 station2.C:414
 station2.C:415
 station2.C:416
 station2.C:417
 station2.C:418
 station2.C:419
 station2.C:420
 station2.C:421
 station2.C:422
 station2.C:423
 station2.C:424
 station2.C:425
 station2.C:426
 station2.C:427
 station2.C:428
 station2.C:429
 station2.C:430
 station2.C:431
 station2.C:432
 station2.C:433
 station2.C:434
 station2.C:435
 station2.C:436
 station2.C:437
 station2.C:438
 station2.C:439
 station2.C:440
 station2.C:441
 station2.C:442
 station2.C:443
 station2.C:444
 station2.C:445
 station2.C:446
 station2.C:447
 station2.C:448
 station2.C:449
 station2.C:450
 station2.C:451
 station2.C:452
 station2.C:453
 station2.C:454
 station2.C:455
 station2.C:456
 station2.C:457
 station2.C:458
 station2.C:459
 station2.C:460
 station2.C:461
 station2.C:462
 station2.C:463
 station2.C:464
 station2.C:465
 station2.C:466
 station2.C:467
 station2.C:468
 station2.C:469
 station2.C:470
 station2.C:471
 station2.C:472
 station2.C:473
 station2.C:474
 station2.C:475
 station2.C:476
 station2.C:477
 station2.C:478
 station2.C:479
 station2.C:480
 station2.C:481
 station2.C:482
 station2.C:483
 station2.C:484
 station2.C:485
 station2.C:486
 station2.C:487
 station2.C:488
 station2.C:489
 station2.C:490
 station2.C:491
 station2.C:492
 station2.C:493
 station2.C:494
 station2.C:495
 station2.C:496
 station2.C:497
 station2.C:498
 station2.C:499
 station2.C:500
 station2.C:501
 station2.C:502
 station2.C:503
 station2.C:504
 station2.C:505
 station2.C:506
 station2.C:507
 station2.C:508
 station2.C:509
 station2.C:510
 station2.C:511
 station2.C:512
 station2.C:513
 station2.C:514
 station2.C:515
 station2.C:516
 station2.C:517
 station2.C:518
 station2.C:519
 station2.C:520
 station2.C:521
 station2.C:522
 station2.C:523
 station2.C:524
 station2.C:525
 station2.C:526
 station2.C:527
 station2.C:528
 station2.C:529
 station2.C:530
 station2.C:531
 station2.C:532
 station2.C:533
 station2.C:534
 station2.C:535
 station2.C:536
 station2.C:537
 station2.C:538
 station2.C:539
 station2.C:540
 station2.C:541
 station2.C:542
 station2.C:543
 station2.C:544
 station2.C:545
 station2.C:546
 station2.C:547
 station2.C:548
 station2.C:549
 station2.C:550
 station2.C:551
 station2.C:552
 station2.C:553
 station2.C:554
 station2.C:555
 station2.C:556
 station2.C:557
 station2.C:558
 station2.C:559
 station2.C:560
 station2.C:561
 station2.C:562
 station2.C:563
 station2.C:564
 station2.C:565
 station2.C:566
 station2.C:567
 station2.C:568
 station2.C:569
 station2.C:570
 station2.C:571
 station2.C:572
 station2.C:573
 station2.C:574
 station2.C:575
 station2.C:576
 station2.C:577
 station2.C:578
 station2.C:579
 station2.C:580
 station2.C:581
 station2.C:582
 station2.C:583
 station2.C:584
 station2.C:585
 station2.C:586
 station2.C:587
 station2.C:588
 station2.C:589
 station2.C:590
 station2.C:591
 station2.C:592
 station2.C:593
 station2.C:594
 station2.C:595
 station2.C:596
 station2.C:597
 station2.C:598
 station2.C:599
 station2.C:600
 station2.C:601
 station2.C:602
 station2.C:603
 station2.C:604
 station2.C:605
 station2.C:606
 station2.C:607
 station2.C:608
 station2.C:609
 station2.C:610
 station2.C:611
 station2.C:612
 station2.C:613
 station2.C:614
 station2.C:615
 station2.C:616
 station2.C:617
 station2.C:618
 station2.C:619
 station2.C:620
 station2.C:621
 station2.C:622
 station2.C:623
 station2.C:624
 station2.C:625
 station2.C:626
 station2.C:627
 station2.C:628
 station2.C:629
 station2.C:630
 station2.C:631
 station2.C:632
 station2.C:633
 station2.C:634
 station2.C:635
 station2.C:636
 station2.C:637
 station2.C:638
 station2.C:639
 station2.C:640
 station2.C:641
 station2.C:642
 station2.C:643
 station2.C:644
 station2.C:645
 station2.C:646
 station2.C:647
 station2.C:648
 station2.C:649
 station2.C:650
 station2.C:651
 station2.C:652
 station2.C:653
 station2.C:654
 station2.C:655
 station2.C:656
 station2.C:657
 station2.C:658
 station2.C:659
 station2.C:660
 station2.C:661
 station2.C:662
 station2.C:663
 station2.C:664
 station2.C:665
 station2.C:666
 station2.C:667
 station2.C:668
 station2.C:669
 station2.C:670
 station2.C:671
 station2.C:672
 station2.C:673
 station2.C:674
 station2.C:675
 station2.C:676
 station2.C:677
 station2.C:678
 station2.C:679
 station2.C:680
 station2.C:681
 station2.C:682
 station2.C:683
 station2.C:684
 station2.C:685
 station2.C:686
 station2.C:687
 station2.C:688
 station2.C:689
 station2.C:690
 station2.C:691
 station2.C:692
 station2.C:693
 station2.C:694
 station2.C:695
 station2.C:696
 station2.C:697
 station2.C:698
 station2.C:699
 station2.C:700
 station2.C:701
 station2.C:702
 station2.C:703
 station2.C:704
 station2.C:705
 station2.C:706
 station2.C:707
 station2.C:708
 station2.C:709
 station2.C:710
 station2.C:711
 station2.C:712
 station2.C:713
 station2.C:714
 station2.C:715
 station2.C:716
 station2.C:717
 station2.C:718
 station2.C:719
 station2.C:720
 station2.C:721
 station2.C:722
 station2.C:723
 station2.C:724
 station2.C:725
 station2.C:726
 station2.C:727
 station2.C:728
 station2.C:729
 station2.C:730
 station2.C:731
 station2.C:732
 station2.C:733
 station2.C:734
 station2.C:735
 station2.C:736
 station2.C:737
 station2.C:738
 station2.C:739
 station2.C:740
 station2.C:741
 station2.C:742
 station2.C:743
 station2.C:744
 station2.C:745
 station2.C:746
 station2.C:747
 station2.C:748
 station2.C:749
 station2.C:750
 station2.C:751
 station2.C:752
 station2.C:753
 station2.C:754
 station2.C:755
 station2.C:756
 station2.C:757
 station2.C:758
 station2.C:759
 station2.C:760
 station2.C:761
 station2.C:762
 station2.C:763
 station2.C:764
 station2.C:765
 station2.C:766
 station2.C:767
 station2.C:768
 station2.C:769
 station2.C:770
 station2.C:771
 station2.C:772
 station2.C:773
 station2.C:774
 station2.C:775
 station2.C:776
 station2.C:777
 station2.C:778
 station2.C:779
 station2.C:780
 station2.C:781
 station2.C:782
 station2.C:783
 station2.C:784
 station2.C:785
 station2.C:786
 station2.C:787
 station2.C:788
 station2.C:789
 station2.C:790
 station2.C:791
 station2.C:792
 station2.C:793
 station2.C:794
 station2.C:795
 station2.C:796
 station2.C:797
 station2.C:798
 station2.C:799
 station2.C:800
 station2.C:801
 station2.C:802
 station2.C:803
 station2.C:804
 station2.C:805
 station2.C:806
 station2.C:807
 station2.C:808
 station2.C:809
 station2.C:810
 station2.C:811
 station2.C:812
 station2.C:813
 station2.C:814
 station2.C:815
 station2.C:816
 station2.C:817
 station2.C:818
 station2.C:819
 station2.C:820
 station2.C:821
 station2.C:822
 station2.C:823
 station2.C:824
 station2.C:825
 station2.C:826
 station2.C:827
 station2.C:828
 station2.C:829
 station2.C:830
 station2.C:831
 station2.C:832
 station2.C:833
 station2.C:834
 station2.C:835
 station2.C:836
 station2.C:837
 station2.C:838
 station2.C:839
 station2.C:840
 station2.C:841
 station2.C:842
 station2.C:843
 station2.C:844
 station2.C:845
 station2.C:846
 station2.C:847
 station2.C:848
 station2.C:849
 station2.C:850
 station2.C:851
 station2.C:852
 station2.C:853
 station2.C:854
 station2.C:855
 station2.C:856
 station2.C:857
 station2.C:858
 station2.C:859
 station2.C:860
 station2.C:861
 station2.C:862
 station2.C:863
 station2.C:864
 station2.C:865
 station2.C:866
 station2.C:867
 station2.C:868
 station2.C:869
 station2.C:870
 station2.C:871
 station2.C:872
 station2.C:873
 station2.C:874
 station2.C:875
 station2.C:876
 station2.C:877
 station2.C:878
 station2.C:879
 station2.C:880
 station2.C:881
 station2.C:882
 station2.C:883
 station2.C:884
 station2.C:885
 station2.C:886
 station2.C:887
 station2.C:888
 station2.C:889
 station2.C:890
 station2.C:891
 station2.C:892
 station2.C:893
 station2.C:894
 station2.C:895
 station2.C:896
 station2.C:897
 station2.C:898
 station2.C:899
 station2.C:900
 station2.C:901
 station2.C:902
 station2.C:903
 station2.C:904
 station2.C:905
 station2.C:906
 station2.C:907
 station2.C:908
 station2.C:909
 station2.C:910
 station2.C:911
 station2.C:912
 station2.C:913
 station2.C:914
 station2.C:915
 station2.C:916
 station2.C:917
 station2.C:918
 station2.C:919
 station2.C:920
 station2.C:921
 station2.C:922
 station2.C:923
 station2.C:924
 station2.C:925
 station2.C:926
 station2.C:927
 station2.C:928
 station2.C:929
 station2.C:930
 station2.C:931
 station2.C:932
 station2.C:933
 station2.C:934
 station2.C:935
 station2.C:936
 station2.C:937
 station2.C:938
 station2.C:939