Message: Re: How to retrieve Physics Interaction undergone by a particle Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to retrieve Physics Interaction undergone by a particle 

Forum: Medical Applications
Re: Question How to retrieve Physics Interaction undergone by a particle (Abigail)
Date: 02 Mar, 2009
From: Joseph Perl <Joseph Perl>

If you want to do this from within C++ code, you can ask the track for its CreatorProcess

aTrack->GetCreatorProcess()

You can also get this information from some of the visualization drivers. You have to use "Rich Trajectories" rather than regular trajectories, where "Rich" means they include extra information such as this CreatorProcess.

To do this, instead of
 /vis/scene/add/trajectories
 use
 /vis/scene/add/trajectories rich

Then click on the track in the visualization system.

If you're using /vis/open HepRepFile, the data will be included in the visualization file, and you can get it displayed by setting the HepRApp browser to have mouse clicks "Pick Rectangle" and then just click and drag to make a rectangle that contains the relevant track.

Let me know if you need more detail

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: How to retrieve Physics Interaction undergone by a particle   (Abigail - 03 Mar, 2009)
1 None: Re: How to retrieve Physics Interaction undergone by a particle   (Joseph Perl - 04 Mar, 2009)
2 Question: Re: How to retrieve Physics Interaction undergone by a particle   (Abigail - 03 Mar, 2009)
1 None: Re: How to retrieve Physics Interaction undergone by a particle   (Paul Nicholas Colin Gloster - 05 Mar, 2009)
(_ Question: Re: How to retrieve Physics Interaction undergone by a particle   (Abigail - 08 Mar, 2009)
 Add Message Add Message
to: "Re: How to retrieve Physics Interaction undergone by a particle"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]