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

#include <geant4/tree/geant4-10.6-release/examples/extended/field/field03/include/F03PrimaryGeneratorAction.hh>

+ Inheritance diagram for F03PrimaryGeneratorAction:
+ Collaboration diagram for F03PrimaryGeneratorAction:

Public Member Functions

 F03PrimaryGeneratorAction (F03DetectorConstruction *)
 
virtual ~F03PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
void SetRndmFlag (G4String val)
 
void SetXVertex (G4double x)
 
void SetYVertex (G4double y)
 
void SetZVertex (G4double z)
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Static Public Member Functions

static G4String GetPrimaryName ()
 

Private Attributes

G4ParticleGunfParticleGun
 
F03DetectorConstructionfDetector
 
F03PrimaryGeneratorMessengerfGunMessenger
 
G4String fRndmFlag
 
G4double fXVertex
 
G4double fYVertex
 
G4double fZVertex
 
G4bool fVertexDefined
 

Static Private Attributes

static G4ParticleDefinitionfgPrimaryParticle = 0
 

Detailed Description

Definition at line 49 of file F03PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 49 of file F03PrimaryGeneratorAction.hh

Constructor & Destructor Documentation

F03PrimaryGeneratorAction::F03PrimaryGeneratorAction ( F03DetectorConstruction det)
F03PrimaryGeneratorAction::~F03PrimaryGeneratorAction ( )
virtual

Definition at line 93 of file F03PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 93 of file F03PrimaryGeneratorAction.cc

References fGunMessenger, and fParticleGun.

Member Function Documentation

void F03PrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual
G4String F03PrimaryGeneratorAction::GetPrimaryName ( )
static

Definition at line 136 of file F03PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 136 of file F03PrimaryGeneratorAction.cc

References fgPrimaryParticle, and G4ParticleDefinition::GetParticleName().

+ Here is the call graph for this function:

void F03PrimaryGeneratorAction::SetRndmFlag ( G4String  val)
inline

Definition at line 57 of file F03PrimaryGeneratorAction.hh.

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

References fRndmFlag.

Referenced by F03PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void F03PrimaryGeneratorAction::SetXVertex ( G4double  x)

Definition at line 143 of file F03PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 143 of file F03PrimaryGeneratorAction.cc

References fVertexDefined, fXVertex, G4cout, G4endl, mm, and x.

Referenced by F03PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void F03PrimaryGeneratorAction::SetYVertex ( G4double  y)

Definition at line 153 of file F03PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 153 of file F03PrimaryGeneratorAction.cc

References fVertexDefined, fYVertex, G4cout, G4endl, mm, and y.

Referenced by F03PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void F03PrimaryGeneratorAction::SetZVertex ( G4double  z)

Definition at line 163 of file F03PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 163 of file F03PrimaryGeneratorAction.cc

References fVertexDefined, fZVertex, G4cout, G4endl, mm, and z.

Referenced by F03PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

F03DetectorConstruction* F03PrimaryGeneratorAction::fDetector
private

Definition at line 66 of file F03PrimaryGeneratorAction.hh.

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

Referenced by F03PrimaryGeneratorAction(), and GeneratePrimaries().

G4ParticleDefinition * F03PrimaryGeneratorAction::fgPrimaryParticle = 0
staticprivate

Definition at line 71 of file F03PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 71 of file F03PrimaryGeneratorAction.hh

Referenced by F03PrimaryGeneratorAction(), GeneratePrimaries(), and GetPrimaryName().

F03PrimaryGeneratorMessenger* F03PrimaryGeneratorAction::fGunMessenger
private

Definition at line 68 of file F03PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 68 of file F03PrimaryGeneratorAction.hh

Referenced by F03PrimaryGeneratorAction(), and ~F03PrimaryGeneratorAction().

G4ParticleGun* F03PrimaryGeneratorAction::fParticleGun
private

Definition at line 65 of file F03PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 65 of file F03PrimaryGeneratorAction.hh

Referenced by F03PrimaryGeneratorAction(), GeneratePrimaries(), and ~F03PrimaryGeneratorAction().

G4String F03PrimaryGeneratorAction::fRndmFlag
private

Definition at line 69 of file F03PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 69 of file F03PrimaryGeneratorAction.hh

Referenced by GeneratePrimaries(), and SetRndmFlag().

G4bool F03PrimaryGeneratorAction::fVertexDefined
private

Definition at line 73 of file F03PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 73 of file F03PrimaryGeneratorAction.hh

Referenced by GeneratePrimaries(), SetXVertex(), SetYVertex(), and SetZVertex().

G4double F03PrimaryGeneratorAction::fXVertex
private

Definition at line 72 of file F03PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 72 of file F03PrimaryGeneratorAction.hh

Referenced by F03PrimaryGeneratorAction(), GeneratePrimaries(), and SetXVertex().

G4double F03PrimaryGeneratorAction::fYVertex
private

Definition at line 72 of file F03PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 72 of file F03PrimaryGeneratorAction.hh

Referenced by F03PrimaryGeneratorAction(), GeneratePrimaries(), and SetYVertex().

G4double F03PrimaryGeneratorAction::fZVertex
private

Definition at line 72 of file F03PrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 72 of file F03PrimaryGeneratorAction.hh

Referenced by F03PrimaryGeneratorAction(), GeneratePrimaries(), and SetZVertex().


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