X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TRD%2FViewTRD.C;h=646fd5afca5584bd3255dc8fbfebfadf8c59ef42;hb=6f1e466d6db177aa095cc30f57958d5e62389e1c;hp=1dbb0838896bbd9929d00ab4f302cc758702a0ce;hpb=da581aea39e19037f1c94745145214445c14f1d1;p=u%2Fmrichter%2FAliRoot.git diff --git a/TRD/ViewTRD.C b/TRD/ViewTRD.C index 1dbb0838896..646fd5afca5 100644 --- a/TRD/ViewTRD.C +++ b/TRD/ViewTRD.C @@ -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);