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