ViewFMD.C

Go to the documentation of this file.
00001 void ViewFMD()
00002 {
00003   gMC->Gsatt("FMD1","seen",0);
00004   gMC->Gsatt("FMD2","seen",0);
00005   gMC->Gsatt("FMD3","seen",0);
00006 
00007   TString name;
00008   // Rings
00009   for (Int_t i = 0; i < 2; i++) {
00010     char c;
00011     switch (i) {
00012     case 0: c = 'I'; break;
00013     case 1: c = 'O'; break;
00014     }
00015      
00016     name = Form("FMD%c", c);
00017     gMC->Gsatt(name.Data(),"seen",0); // Ring volume         
00018 
00019     name = Form("F%cFV", c);
00020     gMC->Gsatt(name.Data(),"seen",0); // Virtual volume front
00021 
00022     name = Form("F%cBV", c);
00023     gMC->Gsatt(name.Data(),"seen",0); // Virtual volume back
00024 
00025     name = Form("F%cAC", c);
00026     gMC->Gsatt(name.Data(),"seen",-2); // Active volume
00027 
00028     name =  Form("F%cSL", c);
00029     gMC->Gsatt(name.Data() ,"seen",1);
00030 
00031     name =  Form("F%cLL", c);
00032     gMC->Gsatt(name.Data() ,"seen",1);
00033 
00034     // name = Form("F%cAP", c);
00035     // gMC->Gsatt(name.Data(),"seen",-1); // Phi segmentation of active
00036 
00037     // name = Form("F%cAR", c);
00038     // gMC->Gsatt(name.Data(),"seen",-1); // R segmentation of active
00039 
00040     name = Form("F%cPT", c);
00041     gMC->Gsatt(name.Data(),"seen",1); // Top of print-board
00042 
00043     name = Form("F%cPB", c);
00044     gMC->Gsatt(name.Data(),"seen",1); // Bottom of print board
00045   }
00046    
00047   for (Int_t i = 1; i <= 3; i++) {
00048     for (Int_t j = 0;  j < 2; j++) {
00049       if (i == 1 && j == 1) break;
00050       char c;
00051       switch (j) {
00052       case 0: c = 'I'; break;
00053       case 1: c = 'O'; break;
00054       }
00055        
00056       name = Form("F%d%cI", i, c);
00057       gMC->Gsatt(name.Data(),"seen",-2); // Honeycomp top 
00058 
00059       name = Form("F%d%cJ", i, c);
00060       gMC->Gsatt(name.Data(),"seen",-2); // Honeycomp bottom
00061 
00062       name = Form("F%d%cK", i, c);
00063       gMC->Gsatt(name.Data(),"seen",0); // Honeycomp inner top 
00064 
00065       name = Form("F%d%cL", i, c);
00066       gMC->Gsatt(name.Data(),"seen",0); // Honeycomp inner bottom 
00067     }
00068   }
00069 
00070   gMC->Gsatt("F3SN", "seen", 1); // Nose of FMD3 Cone
00071   gMC->Gsatt("F3SB", "seen", 1); // Back of FMD3 Cone
00072   gMC->Gsatt("F3SL", "seen", 1); // Beams of FMD3 Cone
00073   gMC->Gsatt("F3SF", "seen", 1); // Flanges on FMD3 Cone
00074 }

Generated on Fri Mar 24 17:11:21 2006 for ALICE FMD Off-line by  doxygen 1.4.6