Message: Re: Getting the initial energy of a particle that hit the detector????? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Getting the initial energy of a particle that hit the detector????? 

Forum: Hits, Digitization and Pileup
Re: Question Getting the initial energy of a particle that hit the detector????? (Nicolas)
Date: 28 Jul, 2004
From: Vladimir IVANTCHENKO <vnivanch@mail.cern.ch>

On Tue, 27 Jul 2004, Nicolas wrote:

> *** Discussion title: Hits, Digitization and Pileup
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/hitsdigits/38"@geant4-hn.slac.stanford.edu>
>   Subject: ...change this to be about your reply.
> 
> Hi everyone,
> 
>            in my simulation, I am sending the following information about each hit to an output file:
> 
> Event #, Energy, Position of the hit
> 
> I would like to add to that information the initial energy of the
> particle which created that hit. How can I access to that information???
> 
> Thank you very much!
> 
> nicolas.salem@polymtl.ca
> 

Try

track->GetVertexKineticEnergy()

VI

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

 Add Message Add Message
to: "Re: Getting the initial energy of a particle that hit the detector?????"

 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 ]