<commit_before>// $Id$

void geom_vzero()
{
  using namespace std;

  gGeoManager = gReve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");

  Reve::RenderElementList* list = new Reve::RenderElementList("VZero");
  gReve->AddGlobalRenderElement(list);

  TGeoNode* node;
  Reve::GeoTopNodeRnrEl* re;

  node = gGeoManager->GetTopVolume()->FindNode("V0RI_1");
  re = new Reve::GeoTopNodeRnrEl(gGeoManager, node);
  re->UseNodeTrans();
  gReve->AddGlobalRenderElement(list, re);

  node = gGeoManager->GetTopVolume()->FindNode("V0LE_1");
  re = new Reve::GeoTopNodeRnrEl(gGeoManager, node);
  re->UseNodeTrans();
  gReve->AddGlobalRenderElement(list, re);

  gReve->Redraw3D();
}
<commit_msg>VZERO volumes now placed in common mother.<commit_after>// $Id$

void geom_vzero()
{
  using namespace std;

  static const Reve::Exc_t eH("geom_vzero() ");

  gGeoManager = gReve->GetGeometry("$REVESYS/alice-data/alice_fullgeo.root");

  Reve::RenderElementList* list = new Reve::RenderElementList("VZero");
  gReve->AddGlobalRenderElement(list);

  TGeoNode* node = 0;
  Reve::GeoTopNodeRnrEl* re;

  TGeoNode* mnode = gGeoManager->GetTopVolume()->FindNode("VZERO_1");
  if (!mnode) {
    Error(eH, "mother node not found.");
    return;
  }

  node = mnode->GetVolume()->FindNode("V0RI_1");
  printf("opofoih %p\n", node);
  if (!node) {
    Error(eH, "V0R not found.");
    return;
  }
  re = new Reve::GeoTopNodeRnrEl(gGeoManager, node);
  re->UseNodeTrans();
  gReve->AddGlobalRenderElement(list, re);

  node = mnode->GetVolume()->FindNode("V0LE_1");
  if (!node) {
    Error(eH, "V0L not found.");
    return;
  }
  re = new Reve::GeoTopNodeRnrEl(gGeoManager, node);
  re->UseNodeTrans();
  gReve->AddGlobalRenderElement(list, re);

  gReve->Redraw3D();
}

{'fraction_non_alphanumeric': 0.16761363636363635, 'fraction_numerical': 0.007954545454545454, 'mean_word_length': 4.909395973154362, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2202672', 'n_tokens_mistral': 710, 'n_tokens_neox': 685, 'n_words': 113}