ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/extended/field/field04/include/F04PrimaryGeneratorAction.hh>
Public Member Functions | |
F04PrimaryGeneratorAction (F04DetectorConstruction *) | |
virtual | ~F04PrimaryGeneratorAction () |
virtual void | GeneratePrimaries (G4Event *) |
void | SetRndmFlag (G4String val) |
void | SetXvertex (G4double x) |
void | SetYvertex (G4double y) |
void | SetZvertex (G4double z) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Definition at line 46 of file F04PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 46 of file F04PrimaryGeneratorAction.hh
F04PrimaryGeneratorAction::F04PrimaryGeneratorAction | ( | F04DetectorConstruction * | detectorConstruction | ) |
Definition at line 51 of file F04PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 51 of file F04PrimaryGeneratorAction.cc
References fDetector, fGunMessenger, fParticleGun, fXvertex, fYvertex, fZvertex, G4ParticleTable::GetParticleTable(), F04DetectorConstruction::GetTargetThickness(), MeV, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
|
virtual |
Definition at line 76 of file F04PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 76 of file F04PrimaryGeneratorAction.cc
References fGunMessenger, and fParticleGun.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 84 of file F04PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 84 of file F04PrimaryGeneratorAction.cc
References fDetector, fFirst, fGlobal2local, fParticleGun, fRndmFlag, fVertexdefined, fXvertex, fYvertex, fZvertex, G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), G4TouchableHistory::GetHistory(), F04DetectorConstruction::GetTargetRadius(), F04DetectorConstruction::GetTargetThickness(), G4NavigationHistory::GetTopTransform(), G4TransportationManager::GetTransportationManager(), G4Navigator::GetWorldVolume(), G4AffineTransform::Inverse(), G4Navigator::LocateGlobalPointAndSetup(), G4ParticleGun::SetParticleMomentumDirection(), G4VPrimaryGenerator::SetParticlePosition(), G4Navigator::SetWorldVolume(), G4AffineTransform::TransformAxis(), G4AffineTransform::TransformPoint(), twopi, and G4InuclParticleNames::z0.
Definition at line 57 of file F04PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 57 of file F04PrimaryGeneratorAction.hh
References fRndmFlag.
Referenced by F04PrimaryGeneratorMessenger::SetNewValue().
Definition at line 151 of file F04PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 151 of file F04PrimaryGeneratorAction.cc
References fVertexdefined, fXvertex, G4cout, G4endl, mm, and x.
Referenced by F04PrimaryGeneratorMessenger::SetNewValue().
Definition at line 161 of file F04PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 161 of file F04PrimaryGeneratorAction.cc
References fVertexdefined, fYvertex, G4cout, G4endl, mm, and y.
Referenced by F04PrimaryGeneratorMessenger::SetNewValue().
Definition at line 171 of file F04PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 171 of file F04PrimaryGeneratorAction.cc
References fVertexdefined, fZvertex, G4cout, G4endl, mm, and z.
Referenced by F04PrimaryGeneratorMessenger::SetNewValue().
|
private |
Definition at line 65 of file F04PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 65 of file F04PrimaryGeneratorAction.hh
Referenced by F04PrimaryGeneratorAction(), and GeneratePrimaries().
|
private |
Definition at line 73 of file F04PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 73 of file F04PrimaryGeneratorAction.hh
Referenced by GeneratePrimaries().
|
private |
Definition at line 75 of file F04PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 75 of file F04PrimaryGeneratorAction.hh
Referenced by GeneratePrimaries().
|
private |
Definition at line 69 of file F04PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 69 of file F04PrimaryGeneratorAction.hh
Referenced by F04PrimaryGeneratorAction(), and ~F04PrimaryGeneratorAction().
|
private |
Definition at line 67 of file F04PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 67 of file F04PrimaryGeneratorAction.hh
Referenced by F04PrimaryGeneratorAction(), GeneratePrimaries(), and ~F04PrimaryGeneratorAction().
|
private |
Definition at line 71 of file F04PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 71 of file F04PrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), and SetRndmFlag().
|
private |
Definition at line 79 of file F04PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 79 of file F04PrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), SetXvertex(), SetYvertex(), and SetZvertex().
|
private |
Definition at line 77 of file F04PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 77 of file F04PrimaryGeneratorAction.hh
Referenced by F04PrimaryGeneratorAction(), GeneratePrimaries(), and SetXvertex().
|
private |
Definition at line 77 of file F04PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 77 of file F04PrimaryGeneratorAction.hh
Referenced by F04PrimaryGeneratorAction(), GeneratePrimaries(), and SetYvertex().
|
private |
Definition at line 77 of file F04PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 77 of file F04PrimaryGeneratorAction.hh
Referenced by F04PrimaryGeneratorAction(), GeneratePrimaries(), and SetZvertex().