| 
    Geant4
    10.00.p02
    
   | 
 
#include <WLSPrimaryGeneratorAction.hh>
 Inheritance diagram for WLSPrimaryGeneratorAction:
 Collaboration diagram for WLSPrimaryGeneratorAction:Public Member Functions | |
| WLSPrimaryGeneratorAction (WLSDetectorConstruction *) | |
| virtual | ~WLSPrimaryGeneratorAction () | 
| virtual void | GeneratePrimaries (G4Event *) | 
| void | BuildEmissionSpectrum () | 
| void | SetOptPhotonPolar (G4double) | 
| void | SetDecayTimeConstant (G4double) | 
  Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
| G4VUserPrimaryGeneratorAction () | |
| virtual | ~G4VUserPrimaryGeneratorAction () | 
Protected Attributes | |
| G4PhysicsTable * | fIntegralTable | 
Private Member Functions | |
| void | SetOptPhotonPolar () | 
| void | SetOptPhotonTime () | 
Private Attributes | |
| WLSDetectorConstruction * | fDetector | 
| G4GeneralParticleSource * | fParticleGun | 
| WLSPrimaryGeneratorMessenger * | fGunMessenger | 
| G4double | fTimeConstant | 
Static Private Attributes | |
| static G4bool | fFirst = false | 
Definition at line 51 of file WLSPrimaryGeneratorAction.hh.
| WLSPrimaryGeneratorAction::WLSPrimaryGeneratorAction | ( | WLSDetectorConstruction * | dc | ) | 
Definition at line 59 of file WLSPrimaryGeneratorAction.cc.
References fDetector, fGunMessenger, fIntegralTable, fParticleGun, and fTimeConstant.
      
  | 
  virtual | 
Definition at line 79 of file WLSPrimaryGeneratorAction.cc.
References G4PhysicsTable::clearAndDestroy(), fGunMessenger, fIntegralTable, and fParticleGun.
 Here is the call graph for this function:| void WLSPrimaryGeneratorAction::BuildEmissionSpectrum | ( | ) | 
Definition at line 98 of file WLSPrimaryGeneratorAction.cc.
References G4PhysicsVector::Energy(), fIntegralTable, G4Material::GetMaterialPropertiesTable(), G4Material::GetMaterialTable(), G4Material::GetNumberOfMaterials(), G4MaterialPropertiesTable::GetProperty(), G4PhysicsVector::GetVectorLength(), and G4PhysicsTable::insertAt().
Referenced by GeneratePrimaries().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  virtual | 
Implements G4VUserPrimaryGeneratorAction.
Definition at line 156 of file WLSPrimaryGeneratorAction.cc.
References BuildEmissionSpectrum(), eV, fFirst, fIntegralTable, fParticleGun, G4UniformRand, G4GeneralParticleSource::GeneratePrimaryVertex(), G4PhysicsOrderedFreeVector::GetEnergy(), G4Material::GetIndex(), G4Material::GetMaterialPropertiesTable(), G4Material::GetMaterialTable(), G4PhysicsOrderedFreeVector::GetMaxValue(), G4Material::GetName(), G4GeneralParticleSource::GetParticleDefinition(), G4ParticleDefinition::GetParticleName(), G4MaterialPropertiesTable::GetProperty(), SetOptPhotonPolar(), and SetOptPhotonTime().
 Here is the call graph for this function:| void WLSPrimaryGeneratorAction::SetDecayTimeConstant | ( | G4double | time | ) | 
Definition at line 91 of file WLSPrimaryGeneratorAction.cc.
References fTimeConstant.
| void WLSPrimaryGeneratorAction::SetOptPhotonPolar | ( | G4double | angle | ) | 
Definition at line 211 of file WLSPrimaryGeneratorAction.cc.
References fParticleGun, G4cout, G4endl, G4GeneralParticleSource::GetParticleDefinition(), G4GeneralParticleSource::GetParticleMomentumDirection(), G4ParticleDefinition::GetParticleName(), CLHEP::normal(), and G4GeneralParticleSource::SetParticlePolarization().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 203 of file WLSPrimaryGeneratorAction.cc.
References deg, and G4UniformRand.
Referenced by GeneratePrimaries().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 236 of file WLSPrimaryGeneratorAction.cc.
References fParticleGun, fTimeConstant, G4UniformRand, and G4GeneralParticleSource::SetParticleTime().
Referenced by GeneratePrimaries().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 77 of file WLSPrimaryGeneratorAction.hh.
Referenced by WLSPrimaryGeneratorAction().
      
  | 
  staticprivate | 
Definition at line 81 of file WLSPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries().
      
  | 
  private | 
Definition at line 79 of file WLSPrimaryGeneratorAction.hh.
Referenced by WLSPrimaryGeneratorAction(), and ~WLSPrimaryGeneratorAction().
      
  | 
  protected | 
Definition at line 70 of file WLSPrimaryGeneratorAction.hh.
Referenced by BuildEmissionSpectrum(), GeneratePrimaries(), WLSPrimaryGeneratorAction(), and ~WLSPrimaryGeneratorAction().
      
  | 
  private | 
Definition at line 78 of file WLSPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), SetOptPhotonPolar(), SetOptPhotonTime(), WLSPrimaryGeneratorAction(), and ~WLSPrimaryGeneratorAction().
      
  | 
  private | 
Definition at line 83 of file WLSPrimaryGeneratorAction.hh.
Referenced by SetDecayTimeConstant(), SetOptPhotonTime(), and WLSPrimaryGeneratorAction().