Message: Re: How to get Step-Position information ? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to get Step-Position information ? 

Keywords: step position information
Forum: Event and Track Management
Re: None How to get Step-Position information ? (Asim)
Date: 29 Jun, 2007
From: michel maire <michel maire>

User Asim wrote:

>> Hi there,
>> 
>> I've simulated the following: A gun which sends protons through a
>> carbon-made collimator. (I want to send 10E11 p in and get about 10E8 p
>> out).
>> 
>> To count the protons which have passed through the collimator, it would
>> be fine to get position informations of the single steps between
>> PreStep- and PostStepPoint. Then I could define a layer behind my
>> collimator and every time a step crosses this layer, I might count this.
>> 
>> I don't want to simulate a sensitive detector, if it's not nessecary. In
>> the Geant4ApplicationBook i found:
>> 
>> "Information in G4Step includes: ... Increment of position and time
>> between PreStepPoint and PostStepPoint"
>> 
>> Does anybody know how I can get the data I need ?
>> 
>> Thanks; Asim.

 1- You may have a look to :
   examples/extended/electromagnetic/TestEm2/steppingAction.cc
   or TestEm3 as well

 2- the Geant4 FAQ :
   http://geant4.web.cern.ch/geant4/support/faq.shtml#a-track

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

 Add Message Add Message
to: "Re: How to get Step-Position information ?"

 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 ]