![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Inheritance diagram for HadrontherapyPrimaryGeneratorAction:
Collaboration diagram for HadrontherapyPrimaryGeneratorAction:Public Member Functions | |
| HadrontherapyPrimaryGeneratorAction () | |
| ~HadrontherapyPrimaryGeneratorAction () | |
| void | GeneratePrimaries (G4Event *) |
| void | setNewSource (G4bool Varbool) |
| void | setCalculatedPhaseSpaceFileIN (G4String val) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
| G4VUserPrimaryGeneratorAction () | |
| virtual | ~G4VUserPrimaryGeneratorAction () |
Public Attributes | |
| G4String | PathSource |
| G4bool | Readfile |
| G4bool | NewSource |
Static Public Attributes | |
| static G4bool | ReadFile |
Private Member Functions | |
| void | SetDefaultPrimaryParticle () |
| void | setGunCalculatedPhaseSpace () |
Private Attributes | |
| G4String | calculatedPhaseSpaceFileIN |
| HadrontherapyPrimaryGeneratorMessenger * | PrimaryGeneratorMessenger |
| G4ParticleGun * | particleGuns |
| G4GeneralParticleSource * | particleGun |
| G4double | sigmaX |
| std::ofstream | ofs |
Definition at line 42 of file HadrontherapyPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 42 of file HadrontherapyPrimaryGeneratorAction.hh
| HadrontherapyPrimaryGeneratorAction::HadrontherapyPrimaryGeneratorAction | ( | ) |
Definition at line 55 of file HadrontherapyPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 55 of file HadrontherapyPrimaryGeneratorAction.cc
References particleGun, and SetDefaultPrimaryParticle().
Here is the call graph for this function:| HadrontherapyPrimaryGeneratorAction::~HadrontherapyPrimaryGeneratorAction | ( | ) |
Definition at line 64 of file HadrontherapyPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 64 of file HadrontherapyPrimaryGeneratorAction.cc
References particleGun, and PrimaryGeneratorMessenger.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 77 of file HadrontherapyPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 77 of file HadrontherapyPrimaryGeneratorAction.cc
References a, calculatedPhaseSpaceFileIN, dir, e, FatalException, G4ParticleTable::FindParticle(), G4Exception(), G4GeneralParticleSource::GeneratePrimaryVertex(), G4SingleParticleSource::GetAngDist(), G4GeneralParticleSource::GetCurrentSource(), G4SingleParticleSource::GetEneDist(), G4IonTable::GetIon(), G4IonTable::GetIonTable(), G4ParticleDefinition::GetParticleName(), G4SingleParticleSource::GetParticlePosition(), G4ParticleTable::GetParticleTable(), in, NewSource, particleGun, pos(), G4SPSEneDistribution::SetMonoEnergy(), G4SingleParticleSource::SetParticleDefinition(), G4SPSAngDistribution::SetParticleMomentumDirection(), CLHEP::Hep3Vector::setX(), CLHEP::Hep3Vector::setY(), CLHEP::Hep3Vector::setZ(), and BTOF::zpos.
Here is the call graph for this function:Definition at line 58 of file HadrontherapyPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 58 of file HadrontherapyPrimaryGeneratorAction.hh
References calculatedPhaseSpaceFileIN.
Referenced by HadrontherapyPrimaryGeneratorMessenger::SetNewValue().
Here is the caller graph for this function:
|
private |
Definition at line 71 of file HadrontherapyPrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 71 of file HadrontherapyPrimaryGeneratorAction.cc
Referenced by HadrontherapyPrimaryGeneratorAction().
Here is the caller graph for this function:
|
private |
Definition at line 54 of file HadrontherapyPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 54 of file HadrontherapyPrimaryGeneratorAction.hh
References NewSource.
Referenced by HadrontherapyPrimaryGeneratorMessenger::SetNewValue().
Here is the caller graph for this function:
|
private |
Definition at line 65 of file HadrontherapyPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 65 of file HadrontherapyPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), and setCalculatedPhaseSpaceFileIN().
| G4bool HadrontherapyPrimaryGeneratorAction::NewSource |
Definition at line 57 of file HadrontherapyPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 57 of file HadrontherapyPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), and setNewSource().
|
private |
Definition at line 75 of file HadrontherapyPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 75 of file HadrontherapyPrimaryGeneratorAction.hh
|
private |
Definition at line 73 of file HadrontherapyPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 73 of file HadrontherapyPrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), HadrontherapyPrimaryGeneratorAction(), and ~HadrontherapyPrimaryGeneratorAction().
|
private |
Definition at line 69 of file HadrontherapyPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 69 of file HadrontherapyPrimaryGeneratorAction.hh
| G4String HadrontherapyPrimaryGeneratorAction::PathSource |
Definition at line 54 of file HadrontherapyPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 54 of file HadrontherapyPrimaryGeneratorAction.hh
|
private |
Definition at line 68 of file HadrontherapyPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 68 of file HadrontherapyPrimaryGeneratorAction.hh
Referenced by ~HadrontherapyPrimaryGeneratorAction().
|
static |
Definition at line 52 of file HadrontherapyPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 52 of file HadrontherapyPrimaryGeneratorAction.hh
| G4bool HadrontherapyPrimaryGeneratorAction::Readfile |
Definition at line 56 of file HadrontherapyPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 56 of file HadrontherapyPrimaryGeneratorAction.hh
|
private |
Definition at line 74 of file HadrontherapyPrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 74 of file HadrontherapyPrimaryGeneratorAction.hh