Friday, October 6, 2006
John Allison  Geant4 Workshop  Lisbon  October 2006
4
Existing code
ExN03EventAction::EndOfEventAction
if (drawFlag == "all")
  pVisManager->Draw(*trj,100);
else if ((drawFlag == "charged") &&
         (trj->GetCharge() != 0.))
  pVisManager->Draw(*trj,100);
else if ((drawFlag == "neutral") &&
         (trj->GetCharge() == 0.))
  pVisManager->Draw(*trj,100);