ROOT logo
void DrawV0()
{
   TGeoVolume *top = gGeoManager->GetMasterVolume();
   gGeoManager->SetNsegments(80);
   Int_t nd = top->GetNdaughters();
   for (Int_t i=0; i<nd; i++) top->GetNode(i)->GetVolume()->InvisibleAll();
   TGeoVolume *v0ri = gGeoManager->GetVolume("V0RI");  
   TGeoVolume *v0le = gGeoManager->GetVolume("V0LE");
   v0ri->SetVisibility(kTRUE);
   v0ri->VisibleDaughters(kTRUE);
   v0le->SetVisibility(kTRUE);
   v0le->VisibleDaughters(kTRUE);
   top->SetVisibility(kTRUE);
   top->Draw();
}
 DrawV0.C:1
 DrawV0.C:2
 DrawV0.C:3
 DrawV0.C:4
 DrawV0.C:5
 DrawV0.C:6
 DrawV0.C:7
 DrawV0.C:8
 DrawV0.C:9
 DrawV0.C:10
 DrawV0.C:11
 DrawV0.C:12
 DrawV0.C:13
 DrawV0.C:14
 DrawV0.C:15
 DrawV0.C:16