Message: Re: My program doesn't output anything Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: My program doesn't output anything 

Forum: Documentation and Examples
Re: Question My program doesn't output anything (Tim Hodson)
Re: None Re: My program doesn't output anything (Marc Verderi)
Date: 25 Feb, 2011
From: Tim Hodson <Tim Hodson>

no worries, with regards to primary generation, I have another version of this which uses a gps with a macro which does the exact same thing. I posted this version in the hope that it is simpler to understand and the solution is the same

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2011/02/25/07.12-87701-yPrimaryGeneratorAction.h
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2011/02/25/07.12-21123-MyDetectorConstruction.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2011/02/25/07.12-11450-MyPhysicsList.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2011/02/25/07.12-34427-PrimaryGeneratorAction.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2011/02/25/07.12-29173-MyPhysicsList.h
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2011/02/25/07.12-26712-MyDetectorConstruction.h

The three mandatory headers and their .cc files. Simple as you like

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

1 None: Re: My program doesn't output anything   (Marc Verderi - 25 Feb, 2011)
(_ More: Re: My program doesn't output anything   (Tim Hodson - 26 Feb, 2011)
(_ Sad: Re: My program doesn't output anything   (Tim Hodson - 09 Mar, 2011)
 Add Message Add Message
to: "Re: My program doesn't output anything"

 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 ]