Message: Storing Photon's kinetic energy Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Storing Photon's kinetic energy 

Forum: Event and Track Management
Date: 02 Sep, 2009
From: Antonio Magalhaes <Antonio Magalhaes>

Hi!

I'm trying to analyze the kinetic energy of some photons that pass through a region defined as SD. However, I am not able to write the right code for processHits using G4Track to call the GetKineticEnergy() function. I looked at the example AnaEx01, but the file only uses G4Step. Can someone show me how to do this part of code?

After that I want to store this data in a file hbook, someone knows a simple way to do it? The file AnalysisManager.cc from AnaEx01 is the only way? Thank you very much.

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

1 None: Re: Storing Photon's kinetic energy   (michel maire - 02 Sep, 2009)
 Add Message Add Message
to: "Storing Photon's kinetic 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 ]