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