]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/ViewTRD.C
Merge TRD-develop
[u/mrichter/AliRoot.git] / TRD / ViewTRD.C
index 1dbb0838896bbd9929d00ab4f302cc758702a0ce..646fd5afca5584bd3255dc8fbfebfadf8c59ef42 100644 (file)
@@ -1,14 +1,22 @@
-void ViewTRD()
+//_____________________________________________________________________________
+void ViewTRDhole()
 {
+  //
+  // Draw a view of the TRD geometry with holes
+  //
 
-  gMC->Gsatt("B032","SEEN", 0);
-  gMC->Gsatt("B028","SEEN", 0);
-  gMC->Gsatt("B029","SEEN", 0);
-  gMC->Gsatt("B030","SEEN", 0);
+  gMC->Gsatt("B071","SEEN", 0);
+  gMC->Gsatt("B074","SEEN", 0);
+  gMC->Gsatt("B075","SEEN", 0);
+  gMC->Gsatt("B077","SEEN", 0);
+  gMC->Gsatt("B078","SEEN", 0);
+  gMC->Gsatt("B079","SEEN", 0);
   gMC->Gsatt("BTR1","SEEN", 0);
   gMC->Gsatt("BTR2","SEEN", 0);
   gMC->Gsatt("BTR3","SEEN", 0);
-  gMC->Gsatt("TRD" ,"SEEN", 0);
+  gMC->Gsatt("TRD1","SEEN", 0);
+  gMC->Gsatt("TRD2","SEEN", 0);
+  gMC->Gsatt("TRD3","SEEN", 0);
   gMC->Gsatt("UCII","SEEN", 0);
   gMC->Gsatt("UCIM","SEEN", 0);
   gMC->Gsatt("UCIO","SEEN", 0);
@@ -17,3 +25,104 @@ void ViewTRD()
   gMC->Gsatt("UL06","SEEN", 1);
 
 }
+
+//_____________________________________________________________________________
+void ViewTRDfull0()
+{
+  //
+  // Draws a view of the TRD geometry w/o holes
+  //
+
+  gMC->Gsatt("B071","SEEN", 0);
+  gMC->Gsatt("B074","SEEN", 0);
+  gMC->Gsatt("B075","SEEN", 0);
+  gMC->Gsatt("B077","SEEN", 0);
+  gMC->Gsatt("BTR1","SEEN", 0);
+  gMC->Gsatt("BTR2","SEEN", 0);
+  gMC->Gsatt("BTR3","SEEN", 0);
+  gMC->Gsatt("TRD1","SEEN", 0);
+  gMC->Gsatt("UCII","SEEN", 0);
+  gMC->Gsatt("UCIM","SEEN", 0);
+  gMC->Gsatt("UCIO","SEEN", 0);
+  gMC->Gsatt("UL02","SEEN", 1);
+  gMC->Gsatt("UL05","SEEN", 1);
+  gMC->Gsatt("UL06","SEEN", 1);
+
+}
+
+//_____________________________________________________________________________
+void ViewTRDfull1()
+{
+  //
+  // Draws a view of the TRD geometry w/o holes
+  //
+
+  gMC->Gsatt("B071","SEEN", 0);
+  gMC->Gsatt("B074","SEEN", 0);
+  gMC->Gsatt("B075","SEEN", 0);
+  gMC->Gsatt("B077","SEEN", 0);
+  gMC->Gsatt("BTR1","SEEN", 0);
+  gMC->Gsatt("BTR2","SEEN", 0);
+  gMC->Gsatt("BTR3","SEEN", 0);
+  gMC->Gsatt("TRD1","SEEN", 0);
+  gMC->Gsatt("TRD2","SEEN", 0);
+  gMC->Gsatt("UCII","SEEN", 0);
+  gMC->Gsatt("UCIM","SEEN", 0);
+  gMC->Gsatt("UCIO","SEEN", 0);
+  gMC->Gsatt("UL02","SEEN", 1);
+  gMC->Gsatt("UL05","SEEN", 1);
+  gMC->Gsatt("UL06","SEEN", 1);
+
+}
+
+//_____________________________________________________________________________
+void ViewTRDfull2()
+{
+  //
+  // Draws a view of the TRD geometry w/o holes
+  //
+
+  gMC->Gsatt("B071","SEEN", 0);
+  gMC->Gsatt("B074","SEEN", 0);
+  gMC->Gsatt("B075","SEEN", 0);
+  gMC->Gsatt("B077","SEEN", 0);
+  gMC->Gsatt("BTR1","SEEN", 0);
+  gMC->Gsatt("BTR2","SEEN", 0);
+  gMC->Gsatt("BTR3","SEEN", 0);
+  gMC->Gsatt("TRD1","SEEN", 0);
+  gMC->Gsatt("TRD3","SEEN", 0);
+  gMC->Gsatt("UCII","SEEN", 0);
+  gMC->Gsatt("UCIM","SEEN", 0);
+  gMC->Gsatt("UCIO","SEEN", 0);
+  gMC->Gsatt("UL02","SEEN", 1);
+  gMC->Gsatt("UL05","SEEN", 1);
+  gMC->Gsatt("UL06","SEEN", 1);
+
+}
+
+//_____________________________________________________________________________
+void ViewTRDfull3()
+{
+  //
+  // Draws a view of the TRD geometry w/o holes
+  //
+
+  gMC->Gsatt("B071","SEEN", 0);
+  gMC->Gsatt("B074","SEEN", 0);
+  gMC->Gsatt("B075","SEEN", 0);
+  gMC->Gsatt("B077","SEEN", 0);
+  gMC->Gsatt("BTR1","SEEN", 0);
+  gMC->Gsatt("BTR2","SEEN", 0);
+  gMC->Gsatt("BTR3","SEEN", 0);
+  gMC->Gsatt("TRD1","SEEN", 0);
+  gMC->Gsatt("TRD2","SEEN", 0);
+  gMC->Gsatt("TRD3","SEEN", 0);
+  gMC->Gsatt("UCII","SEEN", 0);
+  gMC->Gsatt("UCIM","SEEN", 0);
+  gMC->Gsatt("UCIO","SEEN", 0);
+  gMC->Gsatt("UL02","SEEN", 1);
+  gMC->Gsatt("UL05","SEEN", 1);
+  gMC->Gsatt("UL06","SEEN", 1);
+
+}
+  gMC->Gsatt("TRD1","SEEN", 0);