GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » Visualization of trajectories from simulation
Visualization of trajectories from simulation [message #25353] Thu, 19 November 2020 21:03 Go to next message
Yassid is currently offline  Yassid
Messages: 11
Registered: October 2015
occasional visitor
From: 35.9.63*

I am trying to figure out how to enable the visualization of trajectories using the event display. For the moment, the only way I found is to go to FairEventManager, click on the particle and click on the Refs tab (on the bottom of the GUI) and then click in any of the PathMarks. When I do that, the trajectory appears. However,I do not understand the trajectory itself. In the screenshot I attach, there is a proton coming out of the target and entering into a gaseous volume I included there to debug. The Hits (blue squares) are correctly visualized but they do not correspond to the trajectory of the particle (red line).

Thanks for your help


Re: Visualization of trajectories from simulation [message #25470 is a reply to message #25353] Fri, 05 March 2021 13:00 Go to previous messageGo to next message
Daniel Wielanek is currently offline  Daniel Wielanek
Messages: 14
Registered: October 2012
Location: Warsaw
occasional visitor
From: *
Are you sure that this is the only particle in simulation? In FairTrajFilter you can try to change the cuts for visualization cuts. Maybe those hits are not from this proton.
Re: Visualization of trajectories from simulation [message #25476 is a reply to message #25353] Fri, 05 March 2021 13:58 Go to previous message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *
Hi Yassid,

which task do you use to visualize the tracks? FairGeoTrackDraw or something else?
For PANDA the tracks are plotted directly after one selects on event.

Could it be that your hit points are wrong? It is hard to tell with the plots you uploaded up for me it looks if in the projection along the beam the hits match with the track.


Previous Topic: Re-Run in FairRunSim
Next Topic: How can I add particles to the simulation after a particle was stopped?
Goto Forum:

Current Time: Thu Jun 13 12:42:33 CEST 2024

Total time taken to generate the page: 0.01030 seconds