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

#include <geant4/tree/geant4-10.6-release/examples/extended/parallel/ThreadsafeScorers/include/TSPrimaryGeneratorAction.hh>

+ Inheritance diagram for TSPrimaryGeneratorAction:
+ Collaboration diagram for TSPrimaryGeneratorAction:

Public Member Functions

 TSPrimaryGeneratorAction ()
 
virtual ~TSPrimaryGeneratorAction ()
 
void GeneratePrimaries (G4Event *)
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Private Attributes

G4ParticleGunfGun
 

Detailed Description

Definition at line 49 of file TSPrimaryGeneratorAction.hh.

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

Constructor & Destructor Documentation

TSPrimaryGeneratorAction::TSPrimaryGeneratorAction ( )

Definition at line 54 of file TSPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 54 of file TSPrimaryGeneratorAction.cc

References G4ParticleTable::FindParticle(), G4ParticleTable::GetParticleTable(), CLHEP::MeV, and particle.

+ Here is the call graph for this function:

TSPrimaryGeneratorAction::~TSPrimaryGeneratorAction ( )
virtual

Definition at line 70 of file TSPrimaryGeneratorAction.cc.

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

Member Function Documentation

void TSPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 77 of file TSPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 77 of file TSPrimaryGeneratorAction.cc

References dir, G4UniformRand, TSDetectorConstruction::GetWorldDimensions(), TSDetectorConstruction::Instance(), CLHEP::Hep3Vector::mag(), pos(), TIMEMORY_AUTO_TIMER, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().

+ Here is the call graph for this function:

Member Data Documentation

G4ParticleGun* TSPrimaryGeneratorAction::fGun
private

Definition at line 59 of file TSPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 59 of file TSPrimaryGeneratorAction.hh


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