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

#include <geant4/tree/geant4-10.6-release/examples/extended/field/field01/include/F01PrimaryGeneratorAction.hh>

+ Inheritance diagram for F01PrimaryGeneratorAction:
+ Collaboration diagram for F01PrimaryGeneratorAction:

Public Member Functions

 F01PrimaryGeneratorAction (F01DetectorConstruction *)
 
virtual ~F01PrimaryGeneratorAction ()
 
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
 
F01DetectorConstructionfDetector
 
F01PrimaryGeneratorMessengerfGunMessenger
 
G4String fRndmFlag
 
G4double fXVertex
 
G4double fYVertex
 
G4double fZVertex
 
G4bool fVertexDefined
 

Static Private Attributes

static G4ParticleDefinitionfgPrimaryParticle = 0
 

Detailed Description

Definition at line 49 of file F01PrimaryGeneratorAction.hh.

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

Constructor & Destructor Documentation

F01PrimaryGeneratorAction::F01PrimaryGeneratorAction ( F01DetectorConstruction det)
F01PrimaryGeneratorAction::~F01PrimaryGeneratorAction ( )
virtual

Definition at line 94 of file F01PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 94 of file F01PrimaryGeneratorAction.cc

References fGunMessenger, and fParticleGun.

Member Function Documentation

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

Definition at line 137 of file F01PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 137 of file F01PrimaryGeneratorAction.cc

References fgPrimaryParticle, and G4ParticleDefinition::GetParticleName().

+ Here is the call graph for this function:

void F01PrimaryGeneratorAction::SetRndmFlag ( G4String  val)
inline

Definition at line 57 of file F01PrimaryGeneratorAction.hh.

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

References fRndmFlag.

Referenced by F01PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void F01PrimaryGeneratorAction::SetXVertex ( G4double  x)

Definition at line 154 of file F01PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 154 of file F01PrimaryGeneratorAction.cc

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

Referenced by F01PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void F01PrimaryGeneratorAction::SetYVertex ( G4double  y)

Definition at line 164 of file F01PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 164 of file F01PrimaryGeneratorAction.cc

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

Referenced by F01PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void F01PrimaryGeneratorAction::SetZVertex ( G4double  z)

Definition at line 144 of file F01PrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 144 of file F01PrimaryGeneratorAction.cc

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

Referenced by F01PrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

F01DetectorConstruction* F01PrimaryGeneratorAction::fDetector
private

Definition at line 66 of file F01PrimaryGeneratorAction.hh.

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

Referenced by F01PrimaryGeneratorAction(), and GeneratePrimaries().

G4ParticleDefinition * F01PrimaryGeneratorAction::fgPrimaryParticle = 0
staticprivate

Definition at line 71 of file F01PrimaryGeneratorAction.hh.

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

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

F01PrimaryGeneratorMessenger* F01PrimaryGeneratorAction::fGunMessenger
private

Definition at line 68 of file F01PrimaryGeneratorAction.hh.

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

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

G4ParticleGun* F01PrimaryGeneratorAction::fParticleGun
private

Definition at line 65 of file F01PrimaryGeneratorAction.hh.

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

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

G4String F01PrimaryGeneratorAction::fRndmFlag
private

Definition at line 69 of file F01PrimaryGeneratorAction.hh.

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

Referenced by GeneratePrimaries(), and SetRndmFlag().

G4bool F01PrimaryGeneratorAction::fVertexDefined
private

Definition at line 73 of file F01PrimaryGeneratorAction.hh.

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

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

G4double F01PrimaryGeneratorAction::fXVertex
private

Definition at line 72 of file F01PrimaryGeneratorAction.hh.

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

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

G4double F01PrimaryGeneratorAction::fYVertex
private

Definition at line 72 of file F01PrimaryGeneratorAction.hh.

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

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

G4double F01PrimaryGeneratorAction::fZVertex
private

Definition at line 72 of file F01PrimaryGeneratorAction.hh.

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

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


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