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

#include <geant4/tree/geant4-10.6-release/examples/extended/exoticphysics/phonon/include/XPrimaryGeneratorAction.hh>

+ Inheritance diagram for XPrimaryGeneratorAction:
+ Collaboration diagram for XPrimaryGeneratorAction:

Public Member Functions

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

Private Attributes

G4ParticleGunfParticleGun
 

Detailed Description

Definition at line 39 of file XPrimaryGeneratorAction.hh.

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

Constructor & Destructor Documentation

XPrimaryGeneratorAction::XPrimaryGeneratorAction ( )

Definition at line 45 of file XPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 45 of file XPrimaryGeneratorAction.cc

References e, eV, G4RandomDirection(), and G4PhononLong::PhononDefinition().

+ Here is the call graph for this function:

XPrimaryGeneratorAction::~XPrimaryGeneratorAction ( )
virtual

Definition at line 60 of file XPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 60 of file XPrimaryGeneratorAction.cc

Member Function Documentation

void XPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 68 of file XPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 68 of file XPrimaryGeneratorAction.cc

References eV, G4RandomDirection(), G4UniformRand, G4PhononLong::PhononDefinition(), G4PhononTransSlow::PhononDefinition(), and G4PhononTransFast::PhononDefinition().

+ Here is the call graph for this function:

Member Data Documentation

G4ParticleGun* XPrimaryGeneratorAction::fParticleGun
private

Definition at line 49 of file XPrimaryGeneratorAction.hh.

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


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