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

#include <geant4/tree/geant4-10.6-release/examples/advanced/STCyclotron/include/STCyclotronPrimaryGeneratorAction.hh>

+ Inheritance diagram for STCyclotronPrimaryGeneratorAction:
+ Collaboration diagram for STCyclotronPrimaryGeneratorAction:

Public Member Functions

 STCyclotronPrimaryGeneratorAction ()
 
virtual ~STCyclotronPrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
virtual void SetBeamCurrent (G4double)
 
G4GeneralParticleSourceGetParticleGun ()
 
G4double GetBeamCurrent ()
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Private Attributes

G4GeneralParticleSourcefParticleBeam
 
G4double fBeamCurrent
 
STCyclotronPrimaryGeneratorActionMessengerfMessenger
 

Detailed Description

Definition at line 42 of file STCyclotronPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 42 of file STCyclotronPrimaryGeneratorAction.hh

Constructor & Destructor Documentation

STCyclotronPrimaryGeneratorAction::STCyclotronPrimaryGeneratorAction ( )

Definition at line 41 of file STCyclotronGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 41 of file STCyclotronGeneratorAction.cc

References fBeamCurrent, fMessenger, and fParticleBeam.

STCyclotronPrimaryGeneratorAction::~STCyclotronPrimaryGeneratorAction ( )
virtual

Definition at line 50 of file STCyclotronGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 50 of file STCyclotronGeneratorAction.cc

References fMessenger, and fParticleBeam.

Member Function Documentation

G4double STCyclotronPrimaryGeneratorAction::GetBeamCurrent ( )
inline

Definition at line 52 of file STCyclotronPrimaryGeneratorAction.hh.

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

References fBeamCurrent.

G4GeneralParticleSource* STCyclotronPrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 51 of file STCyclotronPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 51 of file STCyclotronPrimaryGeneratorAction.hh

References fParticleBeam.

void STCyclotronPrimaryGeneratorAction::SetBeamCurrent ( G4double  current)
virtual

Definition at line 88 of file STCyclotronGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 88 of file STCyclotronGeneratorAction.cc

References fBeamCurrent, G4cout, and G4endl.

Member Data Documentation

G4double STCyclotronPrimaryGeneratorAction::fBeamCurrent
private

Definition at line 57 of file STCyclotronPrimaryGeneratorAction.hh.

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

Referenced by GeneratePrimaries(), GetBeamCurrent(), SetBeamCurrent(), and STCyclotronPrimaryGeneratorAction().

STCyclotronPrimaryGeneratorActionMessenger* STCyclotronPrimaryGeneratorAction::fMessenger
private

Definition at line 58 of file STCyclotronPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 58 of file STCyclotronPrimaryGeneratorAction.hh

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

G4GeneralParticleSource* STCyclotronPrimaryGeneratorAction::fParticleBeam
private

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