Message: Re: How can I Get the Energy the incident Particle on the Event Action? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How can I Get the Energy the incident Particle on the Event Action? 

Keywords: Primary Particle Energy in the Event Action
Forum: Event and Track Management
Re: None How can I Get the Energy the incident Particle on the Event Action? (Francisco Garcia)
Date: 01 Jan, 2004
From: michel maire <michel maire>

User wrote:

>> Hello,
>> 
>> I need the Energy of the primary particle in the Event Action.
>> 
>> I managed to read all the information of the G4ParticleDefinition 
>> but I can't connect to the G4DynamicParticle where is actually the 
>> information I need.
>> 
>> Thanks in advance....
>> 
>> Francisco
>> 

 In examples/extended/electromagnetic/TestEm2 it is shown how to pass
 the PrimaryGeneratorAction to the RunAction in order to get the
 kinetic energy of the incident beam.

 You can do something similar between your PrimaryGeneratorAction and
 your EventAction.

                    Michel

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

 Add Message Add Message
to: "Re: How can I Get the Energy the incident Particle on the Event Action?"

 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 ]