Message: particleGun with novice Example 02 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question particleGun with novice Example 02 

Forum: Event and Track Management
Date: 04 Sep, 2008
From: Bijan Berenji <Bijan Berenji>

When I use HEPEvt interface in ExN02PrimaryGeneratorAction, hits get recorded in the tracker layers, and the tracks are visualized. However, this is not optimal for my use because I want to set different initial primary particle positions. When I use particleGun and read in from a text file the energy, momentum direction, particle type, and position, I get visualized trajectories, but no hits get recorded, even when tracks pass through tracker layers. I need hits for measurement of deposited energy. What could be the issue here? Do I have to use HepMCInterface instead (I'd rather not)?

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2008/09/04/15.29-12533-PrimaryGeneratorAction.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2008/09/04/15.29-13858-maryGeneratorMessenger.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2008/09/04/15.29-51886-ExN02EventAction.cc

 Add Message Add Message
to: "particleGun with novice Example 02"

 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 ]