Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PrimaryGeneratorAction Class Reference

The primary generator action class with particle gun. More...

#include <PrimaryGeneratorAction.hh>

Inherits G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VStateDependent, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VStateDependent, G4VUserPrimaryGeneratorAction, G4VStateDependent, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, G4VUserPrimaryGeneratorAction, and G4VUserPrimaryGeneratorAction.

Collaboration diagram for PrimaryGeneratorAction:

Public Member Functions

 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
void SetDefaultKinematic ()
 
void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
void SetDefaultKinematic ()
 
void SetRndmBeam (G4double val)
 
void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction ()
 
 ~PrimaryGeneratorAction ()
 
void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction ()
 
 ~PrimaryGeneratorAction ()
 
void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
void SetEmission (G4int)
 
CLHEP::HepMatrix GetMatrix ()
 
 PrimaryGeneratorAction (AnalysisManager *)
 
 ~PrimaryGeneratorAction ()
 
void GeneratePrimaries (G4Event *anEvent)
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
void SetDefaultKinematic ()
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
void SetDefaultKinematic (G4int)
 
void SetRndmBeam (G4double val)
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction ()
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
void SetDefaultKinematic ()
 
void SetRndmBeam (G4double val)
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction ()
 
 ~PrimaryGeneratorAction ()
 
void SetRndmBeam (G4bool val)
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
void SetDefaultKinematic ()
 
void SetRndmBeam (G4double val)
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction ()
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
void SetDefaultKinematic ()
 
void SetRndmBeam (G4double val)
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
void SetRndmBeam (G4double val)
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
void SetRndmBeam (G4double val)
 
virtual void GeneratePrimaries (G4Event *)
 
void ResetEbeamCumul ()
 
G4double GetEbeamCumul ()
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction ()
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction ()
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction ()
 
 ~PrimaryGeneratorAction ()
 
void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction ()
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
void SelectAction (G4int i)
 
G4int GetSelectedAction ()
 
PrimaryGeneratorAction0GetAction0 ()
 
PrimaryGeneratorAction1GetAction1 ()
 
PrimaryGeneratorAction2GetAction2 ()
 
PrimaryGeneratorAction3GetAction3 ()
 
PrimaryGeneratorAction4GetAction4 ()
 
 PrimaryGeneratorAction ()
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction ()
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction ()
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction ()
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction ()
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction ()
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction ()
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction ()
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
void SetDefaultKinematic ()
 
void SetRndmBeam (G4double val)
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction ()
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction ()
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction ()
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction ()
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
const G4ParticleGunGetParticleGun () const
 
 PrimaryGeneratorAction ()
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction ()
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction ()
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction ()
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction ()
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction ()
 
virtual ~PrimaryGeneratorAction ()
 
virtual G4bool Notify (G4ApplicationState requestedState)
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun () const
 
 PrimaryGeneratorAction ()
 
virtual ~PrimaryGeneratorAction ()
 
virtual G4bool Notify (G4ApplicationState requestedState)
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun () const
 
 PrimaryGeneratorAction ()
 
virtual ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
 PrimaryGeneratorAction ()
 
virtual ~PrimaryGeneratorAction ()
 
virtual G4bool Notify (G4ApplicationState requestedState)
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun () const
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
void SetRndmBeam (G4double val)
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
void SetBeamRadius (G4double val)
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
G4double GetBeamRadius ()
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
void RunInitialisation (G4double, G4double)
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
G4int GetWallCount ()
 
void AddWallCount (G4int wc)
 
G4int GetCavityCount ()
 
void AddCavityCount (G4int cc)
 
 PrimaryGeneratorAction (DetectorConstruction *pDet)
 
virtual ~PrimaryGeneratorAction ()
 
void GeneratePrimaries (G4Event *anEvent)
 
void SetBeamEnergy (G4double val)
 
void SetBeamSigmaE (G4double val)
 
void SetBeamX (G4double val)
 
void SetBeamY (G4double val)
 
void SetBeamZ (G4double val)
 
void SetBeamSigmaX (G4double val)
 
void SetBeamSigmaY (G4double val)
 
void SetBeamSigmaZ (G4double val)
 
void SetBeamMinCosTheta (G4double val)
 
void SetSigmaTheta (G4double val)
 
void SetVerbose (G4int val)
 
void SetRandom (const G4String &type)
 
 PrimaryGeneratorAction ()
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *anEvent)
 
 PrimaryGeneratorAction (DetectorConstruction *)
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction ()
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
 PrimaryGeneratorAction ()
 
 ~PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
G4ParticleGunGetParticleGun ()
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 
- Public Member Functions inherited from G4VStateDependent
 G4VStateDependent (G4bool bottom=false)
 
virtual ~G4VStateDependent ()
 
G4int operator== (const G4VStateDependent &right) const
 
G4int operator!= (const G4VStateDependent &right) const
 

Public Attributes

G4int fEmission
 

Detailed Description

The primary generator action class with particle gun.

PrimaryGeneratorAction class.

Definition at line 43 of file PrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction DC)

Definition at line 45 of file PrimaryGeneratorAction.cc.

46 :Detector(DC)
47 {
48  particleGun = new G4ParticleGun(1);
50 }

Here is the call graph for this function:

PrimaryGeneratorAction::~PrimaryGeneratorAction ( )

Definition at line 54 of file PrimaryGeneratorAction.cc.

55 {
56  delete particleGun;
57 }
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )

Definition at line 44 of file PrimaryGeneratorAction.cc.

45 {
46  fParticleGun = new G4ParticleGun(1);
47 }
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( AnalysisManager pAnalysis)

Definition at line 34 of file PrimaryGeneratorAction.cc.

35 {
36  gun = new G4GeneralParticleSource();
37  analysis = pAnalysis;
38 }
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction pDet)
virtual PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
virtual
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( DetectorConstruction )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )
PrimaryGeneratorAction::PrimaryGeneratorAction ( )
PrimaryGeneratorAction::~PrimaryGeneratorAction ( )

Member Function Documentation

void PrimaryGeneratorAction::AddCavityCount ( G4int  cc)
inline

Definition at line 62 of file PrimaryGeneratorAction.hh.

62 { fNcavity += cc;}
void PrimaryGeneratorAction::AddWallCount ( G4int  wc)
inline

Definition at line 59 of file PrimaryGeneratorAction.hh.

59 { fNwall += wc;}
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual
void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
void PrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
void PrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 74 of file PrimaryGeneratorAction.cc.

75 {
76  //this function is called at the begining of event
77  //
78  particleGun->GeneratePrimaryVertex(anEvent);
79 }
virtual void GeneratePrimaryVertex(G4Event *evt)

Here is the call graph for this function:

void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
virtual void PrimaryGeneratorAction::GeneratePrimaries ( G4Event )
virtual
void PrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual
PrimaryGeneratorAction0* PrimaryGeneratorAction::GetAction0 ( )
inline

Definition at line 68 of file PrimaryGeneratorAction.hh.

68 { return fAction0; };
PrimaryGeneratorAction1* PrimaryGeneratorAction::GetAction1 ( )
inline

Definition at line 69 of file PrimaryGeneratorAction.hh.

69 { return fAction1; };
PrimaryGeneratorAction2* PrimaryGeneratorAction::GetAction2 ( )
inline

Definition at line 70 of file PrimaryGeneratorAction.hh.

70 { return fAction2; };
PrimaryGeneratorAction3* PrimaryGeneratorAction::GetAction3 ( )
inline

Definition at line 71 of file PrimaryGeneratorAction.hh.

71 { return fAction3; };
PrimaryGeneratorAction4* PrimaryGeneratorAction::GetAction4 ( )
inline

Definition at line 72 of file PrimaryGeneratorAction.hh.

72 { return fAction4; };
G4double PrimaryGeneratorAction::GetBeamRadius ( )
inline

Definition at line 58 of file PrimaryGeneratorAction.hh.

58 {return fRBeam;}

Here is the caller graph for this function:

G4int PrimaryGeneratorAction::GetCavityCount ( )
inline

Definition at line 61 of file PrimaryGeneratorAction.hh.

61 {return fNcavity;}
G4double PrimaryGeneratorAction::GetEbeamCumul ( )
inline

Definition at line 58 of file PrimaryGeneratorAction.hh.

58 {return fEbeamCumul;}
CLHEP::HepMatrix PrimaryGeneratorAction::GetMatrix ( )
inline

Definition at line 60 of file PrimaryGeneratorAction.hh.

60 {return fBeamMatrix;};
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 53 of file PrimaryGeneratorAction.hh.

53 { return fParticleGun;} ;
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 53 of file PrimaryGeneratorAction.hh.

53 {return fParticleGun;};
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( )
inline

Definition at line 53 of file PrimaryGeneratorAction.hh.

53 {return particleGun;}

Here is the caller graph for this function:

G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 53 of file PrimaryGeneratorAction.hh.

53 {return fParticleGun;}
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( )
inline

Definition at line 53 of file PrimaryGeneratorAction.hh.

53 {return particleGun;};
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 54 of file PrimaryGeneratorAction.hh.

54 {return fParticleGun;};
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 54 of file PrimaryGeneratorAction.hh.

54 {return fParticleGun;}
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 54 of file PrimaryGeneratorAction.hh.

54 {return fParticleGun;};
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 54 of file PrimaryGeneratorAction.hh.

54 {return fParticleGun;};
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 54 of file PrimaryGeneratorAction.hh.

54 {return fParticleGun;};
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 54 of file PrimaryGeneratorAction.hh.

54 {return fParticleGun;};
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 54 of file PrimaryGeneratorAction.hh.

54 {return fParticleGun;};
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 54 of file PrimaryGeneratorAction.hh.

54 {return fParticleGun;};
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 56 of file PrimaryGeneratorAction.hh.

56 {return fParticleGun;}
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 56 of file PrimaryGeneratorAction.hh.

56 {return fParticleGun;};
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 56 of file PrimaryGeneratorAction.hh.

56 {return fParticleGun;};
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 56 of file PrimaryGeneratorAction.hh.

56 {return fParticleGun;};
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 56 of file PrimaryGeneratorAction.hh.

56 {return fParticleGun;};
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 56 of file PrimaryGeneratorAction.hh.

56 {return fParticleGun;};
const G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  ) const
inline

Definition at line 56 of file PrimaryGeneratorAction.hh.

56 { return fParticleGun; }
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 56 of file PrimaryGeneratorAction.hh.

56 {return fParticleGun;}
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 57 of file PrimaryGeneratorAction.hh.

57 {return fParticleGun;}
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 57 of file PrimaryGeneratorAction.hh.

57 {return fParticleGun;}
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 57 of file PrimaryGeneratorAction.hh.

57 {return fParticleGun;};
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 57 of file PrimaryGeneratorAction.hh.

57 {return fParticleGun;};
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 58 of file PrimaryGeneratorAction.hh.

58 {return fParticleGun;}
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 58 of file PrimaryGeneratorAction.hh.

58 {return fParticleGun;}
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 58 of file PrimaryGeneratorAction.hh.

58 {return fParticleGun;}
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  ) const
inline

Definition at line 58 of file PrimaryGeneratorAction.hh.

59  {
60  return fParticleGun;
61  }
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  ) const
inline

Definition at line 58 of file PrimaryGeneratorAction.hh.

59  {
60  return fParticleGun;
61  }
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  ) const
inline

Definition at line 58 of file PrimaryGeneratorAction.hh.

59  {
60  return fParticleGun;
61  }
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 59 of file PrimaryGeneratorAction.hh.

59 {return fParticleGun;};
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 60 of file PrimaryGeneratorAction.hh.

60 {return fParticleGun;}
G4ParticleGun* PrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 63 of file PrimaryGeneratorAction.hh.

63 { return fParticleGun; };
G4int PrimaryGeneratorAction::GetSelectedAction ( )
inline

Definition at line 66 of file PrimaryGeneratorAction.hh.

66 { return fSelectedAction; };
G4int PrimaryGeneratorAction::GetWallCount ( )
inline

Definition at line 58 of file PrimaryGeneratorAction.hh.

58 {return fNwall;}
virtual G4bool PrimaryGeneratorAction::Notify ( G4ApplicationState  requestedState)
virtual

Implements G4VStateDependent.

virtual G4bool PrimaryGeneratorAction::Notify ( G4ApplicationState  requestedState)
virtual

Implements G4VStateDependent.

G4bool PrimaryGeneratorAction::Notify ( G4ApplicationState  requestedState)
virtual

Implements G4VStateDependent.

Definition at line 79 of file PrimaryGeneratorAction.cc.

80 {
81  if(requestedState == G4State_Idle)
82  {
83  if(fParticleGun != 0) return true;
84 
85  fParticleGun = new G4ParticleGun(1);
86 
87  // Define default primary
88  G4ParticleDefinition* particle
90  fParticleGun->SetParticleDefinition(particle);
91  fParticleGun->SetParticleEnergy(10*eV);
92  fParticleGun->SetParticlePosition(G4ThreeVector());
93  fParticleGun->SetParticleMomentumDirection(G4ThreeVector(1,0,0));
94  }
95 
96  return true;
97 }
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
CLHEP::Hep3Vector G4ThreeVector
void SetParticleMomentumDirection(G4ParticleMomentum aMomentumDirection)
void SetParticlePosition(G4ThreeVector aPosition)
static constexpr double eV
Definition: G4SIunits.hh:215
void SetParticleEnergy(G4double aKineticEnergy)
static G4ParticleTable * GetParticleTable()
void SetParticleDefinition(G4ParticleDefinition *aParticleDefinition)

Here is the call graph for this function:

void PrimaryGeneratorAction::ResetEbeamCumul ( )
inline

Definition at line 57 of file PrimaryGeneratorAction.hh.

57 {fEbeamCumul = 0.;}
void PrimaryGeneratorAction::RunInitialisation ( G4double  effWall,
G4double  massR 
)

Definition at line 68 of file PrimaryGeneratorAction.cc.

69 {
70  //this function is called at beginning of run
71 
72 
73  fCavityThickness = fDetector->GetCavityThickness();
74  fEffWallThick = effWall;
75  fMassWallRatio = massR;
76 
77  fNwall = fNcavity = 0;
78 }

Here is the call graph for this function:

Here is the caller graph for this function:

void PrimaryGeneratorAction::SelectAction ( G4int  i)
inline

Definition at line 65 of file PrimaryGeneratorAction.hh.

65 { fSelectedAction = i; };
void PrimaryGeneratorAction::SetBeamEnergy ( G4double  val)

Definition at line 183 of file PrimaryGeneratorAction.cc.

184 {
185  fEnergy = val;
186  if(fEnergy < (Histo::GetPointer())->GetMaxEnergy()) {
187  (Histo::GetPointer())->SetMaxEnergy(fEnergy);
188  }
189 }
static Histo * GetPointer()
Definition: Histo.cc:59

Here is the call graph for this function:

void PrimaryGeneratorAction::SetBeamMinCosTheta ( G4double  val)
inline

Definition at line 87 of file PrimaryGeneratorAction.hh.

87 { fMinCosTheta = val;};
void PrimaryGeneratorAction::SetBeamRadius ( G4double  val)
inline

Definition at line 54 of file PrimaryGeneratorAction.hh.

54 {fRBeam = val;}
void PrimaryGeneratorAction::SetBeamSigmaE ( G4double  val)
inline

Definition at line 80 of file PrimaryGeneratorAction.hh.

80 { fSigmaE = val; };
void PrimaryGeneratorAction::SetBeamSigmaX ( G4double  val)
inline

Definition at line 84 of file PrimaryGeneratorAction.hh.

84 { fSigmaX = val;};
void PrimaryGeneratorAction::SetBeamSigmaY ( G4double  val)
inline

Definition at line 85 of file PrimaryGeneratorAction.hh.

85 { fSigmaY = val;};
void PrimaryGeneratorAction::SetBeamSigmaZ ( G4double  val)
inline

Definition at line 86 of file PrimaryGeneratorAction.hh.

86 { fSigmaY = val;};
void PrimaryGeneratorAction::SetBeamX ( G4double  val)
inline

Definition at line 81 of file PrimaryGeneratorAction.hh.

81 { fX0 = val;};
void PrimaryGeneratorAction::SetBeamY ( G4double  val)
inline

Definition at line 82 of file PrimaryGeneratorAction.hh.

82 { fY0 = val;};
void PrimaryGeneratorAction::SetBeamZ ( G4double  val)
inline

Definition at line 83 of file PrimaryGeneratorAction.hh.

83 { fZ0 = val;};
void PrimaryGeneratorAction::SetDefaultKinematic ( )
void PrimaryGeneratorAction::SetDefaultKinematic ( )

Definition at line 61 of file PrimaryGeneratorAction.cc.

62 {
63  G4ParticleDefinition* particle
65  particleGun->SetParticleDefinition(particle);
66  particleGun->SetParticleMomentumDirection(G4ThreeVector(1.,0.,0.));
67  particleGun->SetParticleEnergy(100*MeV);
68  G4double position = -0.5*(Detector->GetSize());
69  particleGun->SetParticlePosition(G4ThreeVector(position,0.*cm,0.*cm));
70 }
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
CLHEP::Hep3Vector G4ThreeVector
void SetParticleMomentumDirection(G4ParticleMomentum aMomentumDirection)
void SetParticlePosition(G4ThreeVector aPosition)
static constexpr double cm
Definition: G4SIunits.hh:119
void SetParticleEnergy(G4double aKineticEnergy)
static G4ParticleTable * GetParticleTable()
static constexpr double MeV
Definition: G4SIunits.hh:214
double G4double
Definition: G4Types.hh:76
void SetParticleDefinition(G4ParticleDefinition *aParticleDefinition)

Here is the call graph for this function:

Here is the caller graph for this function:

void PrimaryGeneratorAction::SetDefaultKinematic ( )
void PrimaryGeneratorAction::SetDefaultKinematic ( )
void PrimaryGeneratorAction::SetDefaultKinematic ( )
void PrimaryGeneratorAction::SetDefaultKinematic ( G4int  front)

Definition at line 74 of file PrimaryGeneratorAction.cc.

75 {
76  G4ParticleDefinition* particle
78  fParticleGun->SetParticleDefinition(particle);
79  fParticleGun->SetParticleMomentumDirection(G4ThreeVector(1.,0.,0.));
80  fParticleGun->SetParticleEnergy(100*MeV);
81  G4double position = 0.*cm;
82  if (front) position = -0.5*(fDetector->GetSize());
83  fParticleGun->SetParticlePosition(G4ThreeVector(position,0.*cm,0.*cm));
84 }
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
CLHEP::Hep3Vector G4ThreeVector
void SetParticleMomentumDirection(G4ParticleMomentum aMomentumDirection)
void SetParticlePosition(G4ThreeVector aPosition)
static constexpr double cm
Definition: G4SIunits.hh:119
void SetParticleEnergy(G4double aKineticEnergy)
static G4ParticleTable * GetParticleTable()
static constexpr double MeV
Definition: G4SIunits.hh:214
double G4double
Definition: G4Types.hh:76
void SetParticleDefinition(G4ParticleDefinition *aParticleDefinition)

Here is the call graph for this function:

void PrimaryGeneratorAction::SetDefaultKinematic ( )
void PrimaryGeneratorAction::SetDefaultKinematic ( )
void PrimaryGeneratorAction::SetEmission ( G4int  value)

Definition at line 283 of file PrimaryGeneratorAction.cc.

284 {
285  fEmission = value;
286 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void PrimaryGeneratorAction::SetRandom ( const G4String type)
inline

Definition at line 90 of file PrimaryGeneratorAction.hh.

90 { fGauss = type;};
void PrimaryGeneratorAction::SetRndmBeam ( G4double  val)
inline

Definition at line 51 of file PrimaryGeneratorAction.hh.

51 { beam = val;}

Here is the caller graph for this function:

void PrimaryGeneratorAction::SetRndmBeam ( G4bool  val)
inline

Definition at line 53 of file PrimaryGeneratorAction.hh.

53 {fRndmBeam = val;}
void PrimaryGeneratorAction::SetRndmBeam ( G4double  val)
inline

Definition at line 54 of file PrimaryGeneratorAction.hh.

54 {fRndmBeam = val;}
void PrimaryGeneratorAction::SetRndmBeam ( G4double  val)
inline

Definition at line 54 of file PrimaryGeneratorAction.hh.

54 {fRndmBeam = val;}
void PrimaryGeneratorAction::SetRndmBeam ( G4double  val)
inline

Definition at line 54 of file PrimaryGeneratorAction.hh.

54 {fRndmBeam = val;};
void PrimaryGeneratorAction::SetRndmBeam ( G4double  val)
inline

Definition at line 55 of file PrimaryGeneratorAction.hh.

55 { fRndmBeam = val;}
void PrimaryGeneratorAction::SetRndmBeam ( G4double  val)
inline

Definition at line 55 of file PrimaryGeneratorAction.hh.

55 {fRndmBeam = val;};
void PrimaryGeneratorAction::SetRndmBeam ( G4double  val)
inline

Definition at line 55 of file PrimaryGeneratorAction.hh.

55 {fRndmBeam = val;}
void PrimaryGeneratorAction::SetRndmBeam ( G4double  val)
inline

Definition at line 55 of file PrimaryGeneratorAction.hh.

55 {fRndmBeam = val;}
void PrimaryGeneratorAction::SetRndmBeam ( G4double  val)
inline

Definition at line 55 of file PrimaryGeneratorAction.hh.

55 {fRndmBeam = val;}
void PrimaryGeneratorAction::SetSigmaTheta ( G4double  val)
inline

Definition at line 88 of file PrimaryGeneratorAction.hh.

88 { fSigmaTheta = val;};
void PrimaryGeneratorAction::SetVerbose ( G4int  val)
inline

Definition at line 89 of file PrimaryGeneratorAction.hh.

89 { fVerbose = val;};

Member Data Documentation

G4int PrimaryGeneratorAction::fEmission

Definition at line 60 of file PrimaryGeneratorAction.hh.


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