ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PrimaryGeneratorAction0 Class Reference

#include <geant4/tree/geant4-10.6-release/examples/extended/eventgenerator/particleGun/include/PrimaryGeneratorAction0.hh>

+ Collaboration diagram for PrimaryGeneratorAction0:

Public Member Functions

 PrimaryGeneratorAction0 (G4ParticleGun *)
 
 ~PrimaryGeneratorAction0 ()
 
void GeneratePrimaries (G4Event *)
 

Private Attributes

G4double fCosAlphaMin
 
G4double fCosAlphaMax
 
G4double fPsiMin
 
G4double fPsiMax
 
G4ParticleGunfParticleGun
 

Detailed Description

Definition at line 45 of file PrimaryGeneratorAction0.hh.

View newest version in sPHENIX GitHub at line 45 of file PrimaryGeneratorAction0.hh

Constructor & Destructor Documentation

PrimaryGeneratorAction0::PrimaryGeneratorAction0 ( G4ParticleGun gun)

Definition at line 44 of file PrimaryGeneratorAction0.cc.

View newest version in sPHENIX GitHub at line 44 of file PrimaryGeneratorAction0.cc

References deg, fCosAlphaMax, fCosAlphaMin, fPsiMax, and fPsiMin.

PrimaryGeneratorAction0::~PrimaryGeneratorAction0 ( )

Definition at line 60 of file PrimaryGeneratorAction0.cc.

View newest version in sPHENIX GitHub at line 60 of file PrimaryGeneratorAction0.cc

Member Function Documentation

void PrimaryGeneratorAction0::GeneratePrimaries ( G4Event anEvent)

Definition at line 65 of file PrimaryGeneratorAction0.cc.

View newest version in sPHENIX GitHub at line 65 of file PrimaryGeneratorAction0.cc

References fCosAlphaMax, fCosAlphaMin, fParticleGun, fPsiMax, fPsiMin, G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), mm, G4ParticleGun::SetParticleMomentumDirection(), G4VPrimaryGenerator::SetParticlePosition(), ux, uy, and G4InuclParticleNames::z0.

+ Here is the call graph for this function:

Member Data Documentation

G4double PrimaryGeneratorAction0::fCosAlphaMax
private

Definition at line 55 of file PrimaryGeneratorAction0.hh.

View newest version in sPHENIX GitHub at line 55 of file PrimaryGeneratorAction0.hh

Referenced by GeneratePrimaries(), and PrimaryGeneratorAction0().

G4double PrimaryGeneratorAction0::fCosAlphaMin
private

Definition at line 55 of file PrimaryGeneratorAction0.hh.

View newest version in sPHENIX GitHub at line 55 of file PrimaryGeneratorAction0.hh

Referenced by GeneratePrimaries(), and PrimaryGeneratorAction0().

G4ParticleGun* PrimaryGeneratorAction0::fParticleGun
private

Definition at line 59 of file PrimaryGeneratorAction0.hh.

View newest version in sPHENIX GitHub at line 59 of file PrimaryGeneratorAction0.hh

Referenced by GeneratePrimaries().

G4double PrimaryGeneratorAction0::fPsiMax
private

Definition at line 56 of file PrimaryGeneratorAction0.hh.

View newest version in sPHENIX GitHub at line 56 of file PrimaryGeneratorAction0.hh

Referenced by GeneratePrimaries(), and PrimaryGeneratorAction0().

G4double PrimaryGeneratorAction0::fPsiMin
private

Definition at line 56 of file PrimaryGeneratorAction0.hh.

View newest version in sPHENIX GitHub at line 56 of file PrimaryGeneratorAction0.hh

Referenced by GeneratePrimaries(), and PrimaryGeneratorAction0().


The documentation for this class was generated from the following files: