71 gun -> GeneratePrimaryVertex(anEvent);
74 if (gun -> GetParticleDefinition()-> GetParticleName()==
"gamma")
78 analysis -> FillPrimaryParticleHistogram(energy/
keV);
static BrachyAnalysisManager * GetInstance()
void GeneratePrimaries(G4Event *anEvent)
G4double energy(const ThreeVector &p, const G4double m)
BrachyPrimaryGeneratorAction()
~BrachyPrimaryGeneratorAction()
static constexpr double keV