Geant4.10
|
#include <ML2PrimaryGenerationAction.hh>
Public Member Functions | |
CML2PrimaryGenerationAction (void) | |
~CML2PrimaryGenerationAction (void) | |
void | design (G4double accTargetZPosition) |
void | GeneratePrimaries (G4Event *anEvent) |
void | inizialize (SPrimaryParticle *primaryParticleData) |
void | setNRecycling (G4int val) |
void | setNLoopsPhSpParticles (G4int val) |
void | setNMaxParticlesInRamPhaseSpace (G4int val) |
void | setGunMeanEnergy (G4double val) |
void | setGunStdEnergy (G4double val) |
void | setGunRadious (G4double val) |
void | setCalculatedPhaseSpaceFileIN (G4String val) |
void | setSourceTypeName (G4String val) |
void | setRotation (G4RotationMatrix *val) |
G4int | getNrecycling () |
G4int | getSourceTypeName () |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Static Public Member Functions | |
static CML2PrimaryGenerationAction * | GetInstance (void) |
Definition at line 65 of file ML2PrimaryGenerationAction.hh.
CML2PrimaryGenerationAction::CML2PrimaryGenerationAction | ( | void | ) |
CML2PrimaryGenerationAction::~CML2PrimaryGenerationAction | ( | void | ) |
Definition at line 108 of file ML2PrimaryGenerationAction.cc.
Definition at line 80 of file ML2PrimaryGenerationAction.cc.
References id_phaseSpace, and id_randomTarget.
Referenced by main().
Implements G4VUserPrimaryGeneratorAction.
Definition at line 114 of file ML2PrimaryGenerationAction.cc.
References G4ParticleGun::GeneratePrimaryVertex(), G4ParticleGun::GetParticleDefinition(), G4ParticleDefinition::GetPDGEncoding(), id_phaseSpace, id_randomTarget, python.hepunit::MeV, python.hepunit::mm, SPrimaryParticle::nPrimaryParticle, SPrimaryParticle::partPDGE, G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
|
static |
Definition at line 53 of file ML2PrimaryGenerationAction.cc.
References CML2PrimaryGenerationAction().
Referenced by main(), CML2WorldConstruction::newGeometry(), and CML2AcceleratorConstructionMessenger::SetNewValue().
|
inline |
Definition at line 96 of file ML2PrimaryGenerationAction.hh.
Referenced by main().
|
inline |
Definition at line 97 of file ML2PrimaryGenerationAction.hh.
void CML2PrimaryGenerationAction::inizialize | ( | SPrimaryParticle * | primaryParticleData | ) |
Definition at line 61 of file ML2PrimaryGenerationAction.cc.
References G4ParticleTable::FindParticle(), G4ParticleTable::GetParticleTable(), SPrimaryParticle::nPrimaryParticle, and SPrimaryParticle::partPDGE.
Referenced by main().
Definition at line 82 of file ML2PrimaryGenerationAction.hh.
Referenced by CML2PrimaryGenerationActionMessenger::SetNewValue().
Definition at line 79 of file ML2PrimaryGenerationAction.hh.
Referenced by CML2PrimaryGenerationActionMessenger::SetNewValue().
Definition at line 81 of file ML2PrimaryGenerationAction.hh.
Referenced by CML2PrimaryGenerationActionMessenger::SetNewValue().
Definition at line 80 of file ML2PrimaryGenerationAction.hh.
Referenced by CML2PrimaryGenerationActionMessenger::SetNewValue().
Definition at line 76 of file ML2PrimaryGenerationAction.hh.
Definition at line 77 of file ML2PrimaryGenerationAction.hh.
References G4endl.
Referenced by CML2PrimaryGenerationActionMessenger::SetNewValue().
Definition at line 75 of file ML2PrimaryGenerationAction.hh.
Referenced by CML2PrimaryGenerationActionMessenger::SetNewValue().
|
inline |
Definition at line 95 of file ML2PrimaryGenerationAction.hh.
Referenced by CML2WorldConstruction::newGeometry(), and CML2AcceleratorConstructionMessenger::SetNewValue().
Definition at line 83 of file ML2PrimaryGenerationAction.hh.
References id_phaseSpace, and id_randomTarget.
Referenced by CML2PrimaryGenerationActionMessenger::SetNewValue().