]> git.uio.no Git - u/mrichter/AliRoot.git/blob - VZERO/DrawV0.C
Correction to the trigger simulation in order to use the full offset at the level...
[u/mrichter/AliRoot.git] / VZERO / DrawV0.C
1 void DrawV0()
2 {
3    TGeoVolume *top = gGeoManager->GetMasterVolume();
4    gGeoManager->SetNsegments(80);
5    Int_t nd = top->GetNdaughters();
6    for (Int_t i=0; i<nd; i++) top->GetNode(i)->GetVolume()->InvisibleAll();
7    TGeoVolume *v0ri = gGeoManager->GetVolume("V0RI");  
8    TGeoVolume *v0le = gGeoManager->GetVolume("V0LE");
9    v0ri->SetVisibility(kTRUE);
10    v0ri->VisibleDaughters(kTRUE);
11    v0le->SetVisibility(kTRUE);
12    v0le->VisibleDaughters(kTRUE);
13    top->SetVisibility(kTRUE);
14    top->Draw();
15 }