Message: Re: Recording the number of compton scatterings in an event Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Recording the number of compton scatterings in an event 

Forum: Event and Track Management
Re: Question Recording the number of compton scatterings in an event
Re: None Re: Recording the number of compton scatterings in an event (michel maire)
Re: Question Re: Recording the number of compton scatterings in an event
Date: 26 Oct, 2008
From: michel maire <michel maire>

On Fri, 24 Oct 2008 16:20:54 GMT, ticesty wrote:
> Michel-
> 
> Thank you for your very quick response. I tried putting you code into my
> stepping file, and the following error message came up when I tried to
> compile:
> 
> src/BeamTestEmCalorimeter.cc:90: error: invalid use of undefined type
> const struct G4VProcess
> 
> usr/local/geant4/include/G4StepPoint.hh:57: error: forward declaration
> of const struct G4VProcess
> 
> BeamTestEmCalorimeter.cc is the file where the stepping occurs.
> 

  in BeamTestEmCalorimeter.cc, make sure that you have :

  #include "G4RunManager.hh"

  (see TestEm13/src/SteppingAction.cc)

            Michel

 Add Message Add Message
to: "Re: Recording the number of compton scatterings in an event"

 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 ]