ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/extended/field/field03/include/F03PrimaryGeneratorAction.hh>
Public Member Functions | |
F03PrimaryGeneratorAction (F03DetectorConstruction *) | |
virtual | ~F03PrimaryGeneratorAction () |
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 () |
Static Public Member Functions | |
static G4String | GetPrimaryName () |
Static Private Attributes | |
static G4ParticleDefinition * | fgPrimaryParticle = 0 |
Definition at line 49 of file F03PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 49 of file F03PrimaryGeneratorAction.hh
F03PrimaryGeneratorAction::F03PrimaryGeneratorAction | ( | F03DetectorConstruction * | det | ) |
Definition at line 55 of file F03PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 55 of file F03PrimaryGeneratorAction.cc
References fDetector, fgPrimaryParticle, fGunMessenger, G4ParticleTable::FindParticle(), fParticleGun, fXVertex, fYVertex, fZVertex, F03DetectorConstruction::GetAbsorberThickness(), F03DetectorConstruction::GetAbsorberZpos(), G4ParticleTable::GetParticleTable(), GeV, particle, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
|
virtual |
Definition at line 93 of file F03PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 93 of file F03PrimaryGeneratorAction.cc
References fGunMessenger, and fParticleGun.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 101 of file F03PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 101 of file F03PrimaryGeneratorAction.cc
References fDetector, fgPrimaryParticle, fParticleGun, fRndmFlag, fVertexDefined, fXVertex, fYVertex, fZVertex, G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), F03DetectorConstruction::GetAbsorberRadius(), F03DetectorConstruction::GetAbsorberThickness(), F03DetectorConstruction::GetAbsorberZpos(), G4ParticleGun::GetParticleDefinition(), G4VPrimaryGenerator::SetParticlePosition(), twopi, and G4InuclParticleNames::z0.
|
static |
Definition at line 136 of file F03PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 136 of file F03PrimaryGeneratorAction.cc
References fgPrimaryParticle, and G4ParticleDefinition::GetParticleName().
Definition at line 57 of file F03PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 57 of file F03PrimaryGeneratorAction.hh
References fRndmFlag.
Referenced by F03PrimaryGeneratorMessenger::SetNewValue().
Definition at line 143 of file F03PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 143 of file F03PrimaryGeneratorAction.cc
References fVertexDefined, fXVertex, G4cout, G4endl, mm, and x.
Referenced by F03PrimaryGeneratorMessenger::SetNewValue().
Definition at line 153 of file F03PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 153 of file F03PrimaryGeneratorAction.cc
References fVertexDefined, fYVertex, G4cout, G4endl, mm, and y.
Referenced by F03PrimaryGeneratorMessenger::SetNewValue().
Definition at line 163 of file F03PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 163 of file F03PrimaryGeneratorAction.cc
References fVertexDefined, fZVertex, G4cout, G4endl, mm, and z.
Referenced by F03PrimaryGeneratorMessenger::SetNewValue().
|
private |
Definition at line 66 of file F03PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 66 of file F03PrimaryGeneratorAction.hh
Referenced by F03PrimaryGeneratorAction(), and GeneratePrimaries().
|
staticprivate |
Definition at line 71 of file F03PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 71 of file F03PrimaryGeneratorAction.hh
Referenced by F03PrimaryGeneratorAction(), GeneratePrimaries(), and GetPrimaryName().
|
private |
Definition at line 68 of file F03PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 68 of file F03PrimaryGeneratorAction.hh
Referenced by F03PrimaryGeneratorAction(), and ~F03PrimaryGeneratorAction().
|
private |
Definition at line 65 of file F03PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 65 of file F03PrimaryGeneratorAction.hh
Referenced by F03PrimaryGeneratorAction(), GeneratePrimaries(), and ~F03PrimaryGeneratorAction().
|
private |
Definition at line 69 of file F03PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 69 of file F03PrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), and SetRndmFlag().
|
private |
Definition at line 73 of file F03PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 73 of file F03PrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), SetXVertex(), SetYVertex(), and SetZVertex().
|
private |
Definition at line 72 of file F03PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 72 of file F03PrimaryGeneratorAction.hh
Referenced by F03PrimaryGeneratorAction(), GeneratePrimaries(), and SetXVertex().
|
private |
Definition at line 72 of file F03PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 72 of file F03PrimaryGeneratorAction.hh
Referenced by F03PrimaryGeneratorAction(), GeneratePrimaries(), and SetYVertex().
|
private |
Definition at line 72 of file F03PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 72 of file F03PrimaryGeneratorAction.hh
Referenced by F03PrimaryGeneratorAction(), GeneratePrimaries(), and SetZVertex().