Message: PrsStepPoint vs. PostStepPoint Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None PrsStepPoint vs. PostStepPoint 

Keywords: PostStepPoint, PreStepPoint
Forum: Event and Track Management
Date: 09 Dec, 2003
From: Andreas <>


If I understand the Geant4 manual correctly, then tracking consists of steps. A step is defined by a start point (PreStepPoint) and a stop point (PostStepPoint). When I have a discrete processes, like Compton scattering, the PostStepPoint is defined by the smallest physical interaction length of these processes. This means if Compton scattering defines this smallest physical interaction length a Compton scattering happens at the PostStepPoint, correct?

Now in the most examples, which are included in G4, e.g. the GammaRayTel example, in the class GammaRayTelCalorimeterSD, ProcessHits(...), the position of a hit is set via:

l 129: CalorimeterHit->SetPos(aStep->GetPreStepPoint()->GetPosition());

Shouldn't it be set via GetPostStepPoint?? Do I misunderstand something?

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

1 None: Re: PrsStepPoint vs. PostStepPoint   (Marc Verderi - 09 Dec, 2003)
(_ None: Re: PreStepPoint vs. PostStepPoint   (Andreas - 10 Dec, 2003)
 Add Message Add Message
to: "PrsStepPoint vs. PostStepPoint"

 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 ]