Trajectory drawing in N03
Lisbon Workshop
October 2006
John Allison
University of Manchester

Proposal and Problem
Replace existing trajectory drawing code by trajectory model and filter commands
Problem
Unless code drawing is switched off with
/N03/event/drawTracks none
code interferes with drawing with
/vis/scene/add/trajectories
Trajectories are drawn twice
Trajectories may be filtered; outcome not as expected from code

Other considerations
exampleN03 is a well used example, one of the first that users meet
It is used to illustrate a simple detector and electromagnetic physics
It is also used to illustrate visualisation techniques
It should illustrate good practice
It was written many years ago, before trajectory models
We would like to encourage the use of trajectory models as up-to-date good practice

Existing code
ExN03EventAction::EndOfEventAction

Using trajectory model and filter