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

#include <geant4/tree/geant4-10.6-release/examples/advanced/lAr_calorimeter/include/FCALPrimaryGeneratorAction.hh>

+ Inheritance diagram for FCALPrimaryGeneratorAction:
+ Collaboration diagram for FCALPrimaryGeneratorAction:

Public Member Functions

 FCALPrimaryGeneratorAction ()
 
 ~FCALPrimaryGeneratorAction ()
 
void GeneratePrimaries (G4Event *)
 
void SetVerbosity (G4int ver)
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Private Attributes

G4ParticleGunparticleGun
 
G4int fVerbosity
 

Detailed Description

Definition at line 44 of file FCALPrimaryGeneratorAction.hh.

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

Constructor & Destructor Documentation

FCALPrimaryGeneratorAction::FCALPrimaryGeneratorAction ( )

Definition at line 123 of file FCALPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 123 of file FCALPrimaryGeneratorAction.cc

References G4ParticleTable::FindParticle(), G4ParticleTable::GetParticleTable(), GeV, particle, particleGun, G4ParticleGun::SetParticleDefinition(), and G4ParticleGun::SetParticleEnergy().

+ Here is the call graph for this function:

FCALPrimaryGeneratorAction::~FCALPrimaryGeneratorAction ( )

Definition at line 140 of file FCALPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 140 of file FCALPrimaryGeneratorAction.cc

References particleGun.

Member Function Documentation

void FCALPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 147 of file FCALPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 147 of file FCALPrimaryGeneratorAction.cc

References fVerbosity, G4cout, G4endl, G4ParticleGun::GeneratePrimaryVertex(), G4Event::GetEventID(), G4ParticleGun::GetParticleEnergy(), particleGun, G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().

+ Here is the call graph for this function:

void FCALPrimaryGeneratorAction::SetVerbosity ( G4int  ver)
inline

Definition at line 52 of file FCALPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 52 of file FCALPrimaryGeneratorAction.hh

References fVerbosity.

Member Data Documentation

G4int FCALPrimaryGeneratorAction::fVerbosity
private

Definition at line 57 of file FCALPrimaryGeneratorAction.hh.

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

Referenced by GeneratePrimaries(), and SetVerbosity().

G4ParticleGun* FCALPrimaryGeneratorAction::particleGun
private

Definition at line 52 of file FCALPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 52 of file FCALPrimaryGeneratorAction.hh

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


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