File tree Expand file tree Collapse file tree
Detectors/ITSMFT/ITS/simulation/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2924,14 +2924,20 @@ void V3Layer::createOBSpaceFrameObjects(const TGeoManager* mgr)
29242924 TGeoVolume* unitVol[2 ];
29252925 unitVol[0 ] = new TGeoVolume (" SpaceFrameUnit0" , frameUnit, medAir);
29262926 unitVol[1 ] = new TGeoVolume (" SpaceFrameUnit1" , frameUnit, medAir);
2927+ unitVol[0 ]->SetVisibility (kFALSE );
2928+ unitVol[1 ]->SetVisibility (kFALSE );
29272929
29282930 TGeoVolume* next2EndVol[2 ];
29292931 next2EndVol[0 ] = new TGeoVolume (" SpaceFrameNext2EndUnit0" , next2EndUnit, medAir);
29302932 next2EndVol[1 ] = new TGeoVolume (" SpaceFrameNext2EndUnit1" , next2EndUnit, medAir);
2933+ next2EndVol[0 ]->SetVisibility (kFALSE );
2934+ next2EndVol[1 ]->SetVisibility (kFALSE );
29312935
29322936 TGeoVolume* endVol[2 ];
29332937 endVol[0 ] = new TGeoVolume (" SpaceFrameEndUnit0" , endUnit, medAir);
29342938 endVol[1 ] = new TGeoVolume (" SpaceFrameEndUnit1" , endUnit, medAir);
2939+ endVol[0 ]->SetVisibility (kFALSE );
2940+ endVol[1 ]->SetVisibility (kFALSE );
29352941
29362942 // The actual volumes
29372943
You can’t perform that action at this time.
0 commit comments