ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Public Member Functions | |
PrimaryGeneratorAction2 (G4ParticleGun *) | |
~PrimaryGeneratorAction2 () | |
void | GeneratePrimaries (G4Event *) |
G4double | RejectAccept () |
G4double | InverseCumul () |
Private Member Functions | |
void | InitFunction () |
Private Attributes | |
G4ParticleGun * | fParticleGun |
G4int | fNPoints |
std::vector< G4double > | fX |
std::vector< G4double > | fY |
std::vector< G4double > | fSlp |
std::vector< G4double > | fYC |
G4double | fYmax |
Definition at line 46 of file PrimaryGeneratorAction2.hh.
View newest version in sPHENIX GitHub at line 46 of file PrimaryGeneratorAction2.hh
PrimaryGeneratorAction2::PrimaryGeneratorAction2 | ( | G4ParticleGun * | gun | ) |
Definition at line 47 of file PrimaryGeneratorAction2.cc.
View newest version in sPHENIX GitHub at line 47 of file PrimaryGeneratorAction2.cc
References InitFunction().
PrimaryGeneratorAction2::~PrimaryGeneratorAction2 | ( | ) |
Definition at line 57 of file PrimaryGeneratorAction2.cc.
View newest version in sPHENIX GitHub at line 57 of file PrimaryGeneratorAction2.cc
Definition at line 62 of file PrimaryGeneratorAction2.cc.
View newest version in sPHENIX GitHub at line 62 of file PrimaryGeneratorAction2.cc
References dir, energy, fParticleGun, G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), InverseCumul(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and twopi.
|
private |
Definition at line 84 of file PrimaryGeneratorAction2.cc.
View newest version in sPHENIX GitHub at line 84 of file PrimaryGeneratorAction2.cc
References fNPoints, fSlp, fX, fY, fYC, fYmax, keV, and xx.
Referenced by PrimaryGeneratorAction2().
G4double PrimaryGeneratorAction2::InverseCumul | ( | ) |
Definition at line 147 of file PrimaryGeneratorAction2.cc.
View newest version in sPHENIX GitHub at line 147 of file PrimaryGeneratorAction2.cc
References a, b, c, Acts::Test::delta, fNPoints, fSlp, fX, fY, fYC, G4UniformRand, and sign().
Referenced by GeneratePrimaries().
G4double PrimaryGeneratorAction2::RejectAccept | ( | ) |
Definition at line 125 of file PrimaryGeneratorAction2.cc.
View newest version in sPHENIX GitHub at line 125 of file PrimaryGeneratorAction2.cc
References fNPoints, fSlp, fX, fY, fYmax, and G4UniformRand.
|
private |
Definition at line 62 of file PrimaryGeneratorAction2.hh.
View newest version in sPHENIX GitHub at line 62 of file PrimaryGeneratorAction2.hh
Referenced by InitFunction(), InverseCumul(), and RejectAccept().
|
private |
Definition at line 60 of file PrimaryGeneratorAction2.hh.
View newest version in sPHENIX GitHub at line 60 of file PrimaryGeneratorAction2.hh
Referenced by GeneratePrimaries().
|
private |
Definition at line 65 of file PrimaryGeneratorAction2.hh.
View newest version in sPHENIX GitHub at line 65 of file PrimaryGeneratorAction2.hh
Referenced by InitFunction(), InverseCumul(), and RejectAccept().
|
private |
Definition at line 63 of file PrimaryGeneratorAction2.hh.
View newest version in sPHENIX GitHub at line 63 of file PrimaryGeneratorAction2.hh
Referenced by InitFunction(), InverseCumul(), and RejectAccept().
|
private |
Definition at line 64 of file PrimaryGeneratorAction2.hh.
View newest version in sPHENIX GitHub at line 64 of file PrimaryGeneratorAction2.hh
Referenced by InitFunction(), InverseCumul(), and RejectAccept().
|
private |
Definition at line 66 of file PrimaryGeneratorAction2.hh.
View newest version in sPHENIX GitHub at line 66 of file PrimaryGeneratorAction2.hh
Referenced by InitFunction(), and InverseCumul().
|
private |
Definition at line 67 of file PrimaryGeneratorAction2.hh.
View newest version in sPHENIX GitHub at line 67 of file PrimaryGeneratorAction2.hh
Referenced by InitFunction(), and RejectAccept().