set initial energy to 1 TeV

parent 452c787e
...@@ -56,7 +56,7 @@ B1PrimaryGeneratorAction::B1PrimaryGeneratorAction() ...@@ -56,7 +56,7 @@ B1PrimaryGeneratorAction::B1PrimaryGeneratorAction()
= particleTable->FindParticle(particleName="proton"); = particleTable->FindParticle(particleName="proton");
fParticleGun->SetParticleDefinition(particle); fParticleGun->SetParticleDefinition(particle);
fParticleGun->SetParticleMomentumDirection(G4ThreeVector(0.,0.,1.)); fParticleGun->SetParticleMomentumDirection(G4ThreeVector(0.,0.,1.));
fParticleGun->SetParticleEnergy(6.*MeV); fParticleGun->SetParticleEnergy(1.*TeV);
} }
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
...@@ -79,7 +79,7 @@ void B1PrimaryGeneratorAction::GeneratePrimaries(G4Event* anEvent) ...@@ -79,7 +79,7 @@ void B1PrimaryGeneratorAction::GeneratePrimaries(G4Event* anEvent)
fParticleGun->SetParticlePosition(G4ThreeVector(0,0,-91.*m)); fParticleGun->SetParticlePosition(G4ThreeVector(0,0,-101.*m));
fParticleGun->GeneratePrimaryVertex(anEvent); fParticleGun->GeneratePrimaryVertex(anEvent);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment