54 fParticleGun->SetParticlePosition(
G4ThreeVector(0.0,0.0,0.0));
55 fParticleGun->SetParticleEnergy(1
e-4*
eV);
75 if(selector<0.53539) {
78 else if(selector<0.90217) {
89 fParticleGun->SetParticleEnergy(0.0075*
eV);
90 fParticleGun->GeneratePrimaryVertex(anEvent);
CLHEP::Hep3Vector G4ThreeVector
virtual ~XPrimaryGeneratorAction()
G4ThreeVector G4RandomDirection()
virtual void GeneratePrimaries(G4Event *)
static constexpr double eV
static G4PhononTransSlow * PhononDefinition()
static G4PhononLong * PhononDefinition()
XPrimaryGeneratorAction()
static G4PhononTransFast * PhononDefinition()
Definition of the XPrimaryGeneratorAction class.