Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
na49visible.py File Reference

Detailed Description

Set visibility attributes for the NA49 geometry Set Shape attributes.

import ROOT
# Copy shape attributes (colors,etc) in nodes referencing the shapse
CAVE1 = ROOT.gGeometry.FindObject( 'CAVE1' )
# Set Node attributes
CAVE1.SetVisibility( 2 ) # node is not drawn but its sons are drawn
ROOT.gGeometry.FindObject( 'VT1_1' ).SetVisibility( -4 ) # Node is not drawn.
# Its immediate sons are drawn
ROOT.gGeometry.FindObject( 'VT2_1' ).SetVisibility( -4 )
ROOT.gGeometry.FindObject( 'MTL_1' ).SetVisibility( -4 )
ROOT.gGeometry.FindObject( 'MTR_1' ).SetVisibility( -4 )
ROOT.gGeometry.FindObject( 'TOFR1' ).SetVisibility( -4 )
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Author
Wim Lavrijsen

Definition in file na49visible.py.