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

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

+ Collaboration diagram for PrimaryGeneratorAction4:

Public Member Functions

 PrimaryGeneratorAction4 (G4ParticleGun *)
 
 ~PrimaryGeneratorAction4 ()
 
void GeneratePrimaries (G4Event *)
 
G4double GetRmin3 ()
 
G4double GetRmax3 ()
 
G4double GetCosAlphaMin ()
 
G4double GetCosAlphaMax ()
 

Private Attributes

G4double fRmin3
 
G4double fRmax3
 
G4double fCosAlphaMin
 
G4double fCosAlphaMax
 
G4ParticleGunfParticleGun
 

Detailed Description

Definition at line 46 of file PrimaryGeneratorAction4.hh.

View newest version in sPHENIX GitHub at line 46 of file PrimaryGeneratorAction4.hh

Constructor & Destructor Documentation

PrimaryGeneratorAction4::PrimaryGeneratorAction4 ( G4ParticleGun gun)

Definition at line 47 of file PrimaryGeneratorAction4.cc.

View newest version in sPHENIX GitHub at line 47 of file PrimaryGeneratorAction4.cc

References deg, fCosAlphaMax, fCosAlphaMin, fRmax3, fRmin3, and mm.

PrimaryGeneratorAction4::~PrimaryGeneratorAction4 ( )

Definition at line 67 of file PrimaryGeneratorAction4.cc.

View newest version in sPHENIX GitHub at line 67 of file PrimaryGeneratorAction4.cc

Member Function Documentation

void PrimaryGeneratorAction4::GeneratePrimaries ( G4Event anEvent)

Definition at line 72 of file PrimaryGeneratorAction4.cc.

View newest version in sPHENIX GitHub at line 72 of file PrimaryGeneratorAction4.cc

References dir, fCosAlphaMax, fCosAlphaMin, fParticleGun, fRmax3, fRmin3, G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), MeV, phi, Acts::IntegrationTest::R, CLHEP::Hep3Vector::rotateUz(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), G4VPrimaryGenerator::SetParticlePosition(), and twopi.

+ Here is the call graph for this function:

G4double PrimaryGeneratorAction4::GetCosAlphaMax ( )
inline

Definition at line 58 of file PrimaryGeneratorAction4.hh.

View newest version in sPHENIX GitHub at line 58 of file PrimaryGeneratorAction4.hh

References fCosAlphaMax.

G4double PrimaryGeneratorAction4::GetCosAlphaMin ( )
inline

Definition at line 57 of file PrimaryGeneratorAction4.hh.

View newest version in sPHENIX GitHub at line 57 of file PrimaryGeneratorAction4.hh

References fCosAlphaMin.

G4double PrimaryGeneratorAction4::GetRmax3 ( )
inline

Definition at line 56 of file PrimaryGeneratorAction4.hh.

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

References fRmax3.

G4double PrimaryGeneratorAction4::GetRmin3 ( )
inline

Definition at line 55 of file PrimaryGeneratorAction4.hh.

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

References fRmin3.

Member Data Documentation

G4double PrimaryGeneratorAction4::fCosAlphaMax
private

Definition at line 64 of file PrimaryGeneratorAction4.hh.

View newest version in sPHENIX GitHub at line 64 of file PrimaryGeneratorAction4.hh

Referenced by GeneratePrimaries(), GetCosAlphaMax(), and PrimaryGeneratorAction4().

G4double PrimaryGeneratorAction4::fCosAlphaMin
private

Definition at line 63 of file PrimaryGeneratorAction4.hh.

View newest version in sPHENIX GitHub at line 63 of file PrimaryGeneratorAction4.hh

Referenced by GeneratePrimaries(), GetCosAlphaMin(), and PrimaryGeneratorAction4().

G4ParticleGun* PrimaryGeneratorAction4::fParticleGun
private

Definition at line 66 of file PrimaryGeneratorAction4.hh.

View newest version in sPHENIX GitHub at line 66 of file PrimaryGeneratorAction4.hh

Referenced by GeneratePrimaries().

G4double PrimaryGeneratorAction4::fRmax3
private

Definition at line 62 of file PrimaryGeneratorAction4.hh.

View newest version in sPHENIX GitHub at line 62 of file PrimaryGeneratorAction4.hh

Referenced by GeneratePrimaries(), GetRmax3(), and PrimaryGeneratorAction4().

G4double PrimaryGeneratorAction4::fRmin3
private

Definition at line 58 of file PrimaryGeneratorAction4.hh.

View newest version in sPHENIX GitHub at line 58 of file PrimaryGeneratorAction4.hh

Referenced by GeneratePrimaries(), GetRmin3(), and PrimaryGeneratorAction4().


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