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

#include <east/blob/main/PrimGenInterface/include/eASTPrimaryGeneratorAction.hh>

+ Inheritance diagram for eASTPrimaryGeneratorAction:
+ Collaboration diagram for eASTPrimaryGeneratorAction:

Public Member Functions

 eASTPrimaryGeneratorAction (G4bool, G4bool, G4bool)
 
virtual ~eASTPrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
void SetT (G4double dt, G4double t0)
 
void GetT (G4double &dt, G4double &t0)
 

Private Attributes

G4ParticleGun * fParticleGun = nullptr
 
G4GeneralParticleSource * fParticleSource = nullptr
 
eASTPrimGenActionMessengermessenger = nullptr
 
G4double deltaT = 0.0
 
G4double T0 = 0.0
 

Detailed Description

Definition at line 29 of file eASTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 29 of file eASTPrimaryGeneratorAction.hh

Constructor & Destructor Documentation

eASTPrimaryGeneratorAction::eASTPrimaryGeneratorAction ( G4bool  useParticleGun,
G4bool  useParticleSource,
G4bool  useHepMC3Interface 
)

Definition at line 27 of file eASTPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 27 of file eASTPrimaryGeneratorAction.cc

References fParticleGun, fParticleSource, eASTHepMC3Interface::GetInstance(), Acts::UnitConstants::GeV, and messenger.

+ Here is the call graph for this function:

eASTPrimaryGeneratorAction::~eASTPrimaryGeneratorAction ( )
virtual

Definition at line 57 of file eASTPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 57 of file eASTPrimaryGeneratorAction.cc

References fParticleGun, fParticleSource, eASTHepMC3Interface::GetInstance(), and messenger.

+ Here is the call graph for this function:

Member Function Documentation

void eASTPrimaryGeneratorAction::GeneratePrimaries ( G4Event *  event)
virtual

Definition at line 70 of file eASTPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 70 of file eASTPrimaryGeneratorAction.cc

References deltaT, fParticleGun, fParticleSource, and T0.

void eASTPrimaryGeneratorAction::GetT ( G4double &  dt,
G4double &  t0 
)
inline

Definition at line 53 of file eASTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 53 of file eASTPrimaryGeneratorAction.hh

References deltaT, and T0.

Referenced by eASTPrimGenActionMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

void eASTPrimaryGeneratorAction::SetT ( G4double  dt,
G4double  t0 
)
inline

Definition at line 48 of file eASTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 48 of file eASTPrimaryGeneratorAction.hh

References deltaT, and T0.

Referenced by eASTPrimGenActionMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

G4double eASTPrimaryGeneratorAction::deltaT = 0.0
private

Definition at line 60 of file eASTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 60 of file eASTPrimaryGeneratorAction.hh

Referenced by GeneratePrimaries(), GetT(), and SetT().

G4ParticleGun* eASTPrimaryGeneratorAction::fParticleGun = nullptr
private

Definition at line 38 of file eASTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 38 of file eASTPrimaryGeneratorAction.hh

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

G4GeneralParticleSource* eASTPrimaryGeneratorAction::fParticleSource = nullptr
private

Definition at line 39 of file eASTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 39 of file eASTPrimaryGeneratorAction.hh

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

eASTPrimGenActionMessenger* eASTPrimaryGeneratorAction::messenger = nullptr
private

Definition at line 44 of file eASTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 44 of file eASTPrimaryGeneratorAction.hh

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

G4double eASTPrimaryGeneratorAction::T0 = 0.0
private

Definition at line 61 of file eASTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 61 of file eASTPrimaryGeneratorAction.hh

Referenced by GeneratePrimaries(), GetT(), and SetT().


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