68 gun -> GeneratePrimaryVertex(anEvent);
71 if (
gun -> GetParticleDefinition()-> GetParticleName()==
"gamma")
74 analysis -> FillPrimaryParticleHistogram(energy);
G4GeneralParticleSource * gun
void GeneratePrimaries(G4Event *anEvent)
G4double energy(const ThreeVector &p, const G4double m)
BrachyAnalysisManager * analysis
~BrachyPrimaryGeneratorAction()
BrachyPrimaryGeneratorAction(BrachyAnalysisManager *)