Message: Re: "particleType" not found? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: "particleType" not found? 

Forum: Particles
Re: Question "particleType" not found?
Date: 28 May, 2009
From: Paul Nicholas Colin Gloster <Paul Nicholas Colin Gloster>

This seems to be a case of misunderstanding C++. To merely  #include  some file would probably not be enough. You could try adding the declaration
G4ParticleDefinition* particleType;
one statement before where the compiler complained, but you have provided too little information (for example, you have not shown us any of the statements which you tried, nor have you explained what you tried to accomplish) for better advice.

 Add Message Add Message
to: "Re: "particleType" not found?"

 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 ]