#include <Generator.h>
Public Member Functions | |
Generator () | |
Constructor. | |
~Generator () | |
Destructor. | |
void | GeneratePrimaries (G4Event *event) |
Generate the requested primary particles. | |
G4int | getBeamCharge () |
G4double | getEbeam () |
G4double | getepPhiMax () |
G4double | getepPhiMin () |
G4double | getepThetaMax () |
G4double | getepThetaMin () |
void | Print () |
Print. | |
G4int | setBeamCharge (G4int) |
Set/Get beam charge. | |
G4double | setEbeam (G4double) |
Set/Get beam kinetic energy. | |
G4double | setepPhiMax (G4double) |
Set/Get ep Phi max. | |
G4double | setepPhiMin (G4double) |
Set/Get ep Phi min. | |
G4double | setepThetaMax (G4double) |
Set/Get ep Theta max. | |
G4double | setepThetaMin (G4double) |
Set/Get ep Theta min. | |
G4ThreeVector | Target_Distribution () |
Return a location in the target following a triangular distribution. | |
Private Attributes | |
G4int | BeamCharge |
G4double | cos_epThMax |
G4double | cos_epThMin |
G4double | Ebeam |
G4bool | ep_Elastic |
ep_Kinematics * | epKin |
G4double | epPhi_Max |
G4double | epPhi_Min |
G4double | epTheta_Max |
G4double | epTheta_Min |
G4ParticleGun * | particleGun |
Generator class.
Definition at line 34 of file Generator.h.
Generator::Generator | ( | ) |
Constructor.
Definition at line 44 of file Generator.cc.
References GN_Messenger::Instance(), and GN_Messenger::setGNptr().
Generator::~Generator | ( | ) |
Destructor.
Definition at line 77 of file Generator.cc.
void Generator::GeneratePrimaries | ( | G4Event * | event ) |
Generate the requested primary particles.
Definition at line 84 of file Generator.cc.
G4int Generator::getBeamCharge | ( | ) |
Definition at line 175 of file Generator.cc.
G4double Generator::getEbeam | ( | ) |
Definition at line 167 of file Generator.cc.
G4double Generator::getepPhiMax | ( | ) |
Definition at line 203 of file Generator.cc.
G4double Generator::getepPhiMin | ( | ) |
Definition at line 198 of file Generator.cc.
G4double Generator::getepThetaMax | ( | ) |
Definition at line 193 of file Generator.cc.
G4double Generator::getepThetaMin | ( | ) |
Definition at line 184 of file Generator.cc.
void Generator::Print | ( | ) |
Print.
Definition at line 207 of file Generator.cc.
G4int Generator::setBeamCharge | ( | G4int | q ) |
Set/Get beam charge.
Definition at line 171 of file Generator.cc.
G4double Generator::setEbeam | ( | G4double | energy ) |
Set/Get beam kinetic energy.
Definition at line 161 of file Generator.cc.
G4double Generator::setepPhiMax | ( | G4double | max ) |
Set/Get ep Phi max.
Definition at line 202 of file Generator.cc.
G4double Generator::setepPhiMin | ( | G4double | min ) |
Set/Get ep Phi min.
Definition at line 197 of file Generator.cc.
G4double Generator::setepThetaMax | ( | G4double | max ) |
Set/Get ep Theta max.
Definition at line 188 of file Generator.cc.
G4double Generator::setepThetaMin | ( | G4double | min ) |
Set/Get ep Theta min.
Definition at line 179 of file Generator.cc.
G4ThreeVector Generator::Target_Distribution | ( | ) |
Return a location in the target following a triangular distribution.
Definition at line 141 of file Generator.cc.
G4int Generator::BeamCharge [private] |
Definition at line 95 of file Generator.h.
G4double Generator::cos_epThMax [private] |
Definition at line 104 of file Generator.h.
G4double Generator::cos_epThMin [private] |
Definition at line 103 of file Generator.h.
G4double Generator::Ebeam [private] |
Definition at line 94 of file Generator.h.
G4bool Generator::ep_Elastic [private] |
Definition at line 97 of file Generator.h.
ep_Kinematics* Generator::epKin [private] |
Definition at line 99 of file Generator.h.
G4double Generator::epPhi_Max [private] |
Definition at line 106 of file Generator.h.
G4double Generator::epPhi_Min [private] |
Definition at line 105 of file Generator.h.
G4double Generator::epTheta_Max [private] |
Definition at line 102 of file Generator.h.
G4double Generator::epTheta_Min [private] |
Definition at line 101 of file Generator.h.
G4ParticleGun* Generator::particleGun [private] |
Definition at line 92 of file Generator.h.