Message: Re: How to get Primary Particle Energy ? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to get Primary Particle Energy ? 

Forum: Space Applications
Re: None How to get Primary Particle Energy ? (Mehmet)
Date: 02 Jul, 2012
From: John Allison <John Allison>

In your event action:

  G4PrimaryVertex* primaryVertex = event->GetPrimaryVertex();
  G4PrimaryParticle* primaryParticle = primaryVertex->GetPrimary();
  G4double ke = primaryParticle->GetKineticEnergy();

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

1 Feedback: Re: How to get Primary Particle Energy ?   (Mehmet - 03 Jul, 2012)
(_ Feedback: Re: How to get Primary Particle Energy ?   (Michael H. Kelsey - 03 Jul, 2012)
 Add Message Add Message
to: "Re: How to get Primary Particle Energy ?"

 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 ]