Message: How to Change Primary Vertex AFTER Primary Particle Generation Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None How to Change Primary Vertex AFTER Primary Particle Generation 

Forum: Event and Track Management
Date: 23 Feb, 2006
From: jazmin schwartz <jazmin schwartz>

Dear GEANT4 Users:

I am writing a simulation where I have 4 primary particles in each event. The starting position of the each subsequent particle depends on that of the previous one. So I can't set the correct primary vertex of the second particle until I know the last position in the track of the first particle. This cannot be done in the UserTracking because the argument of that function has the const qualifier.

Does anyone know how to do this?

thanks Jazmin

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

 Add Message Add Message
to: "How to Change Primary Vertex AFTER Primary Particle Generation"

 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 ]