ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/advanced/underground_physics/include/DMXParticleSource.hh>
Additional Inherited Members | |
Static Public Member Functions inherited from G4VPrimaryGenerator | |
static G4bool | CheckVertexInsideWorld (const G4ThreeVector &pos) |
Protected Attributes inherited from G4VPrimaryGenerator | |
G4ThreeVector | particle_position |
G4double | particle_time |
Definition at line 58 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 58 of file DMXParticleSource.hh
DMXParticleSource::DMXParticleSource | ( | ) |
Definition at line 68 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 68 of file DMXParticleSource.cc
References AngDistType, CentreCoords, Confine, EnergyDisType, G4TransportationManager::GetNavigatorForTracking(), G4TransportationManager::GetTransportationManager(), gNavigator, halfz, MaxPhi, MaxTheta, MeV, MinPhi, MinTheta, MonoEnergy, NumberOfParticlesToBeGenerated, particle_charge, particle_definition, particle_energy, particle_momentum_direction, particle_polarization, particle_position, particle_time, pi, Radius, Shape, SourcePosType, theMessenger, twopi, verbosityLevel, VolName, and zero.
DMXParticleSource::~DMXParticleSource | ( | ) |
Definition at line 104 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 104 of file DMXParticleSource.cc
References theMessenger.
Definition at line 134 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 134 of file DMXParticleSource.cc
References Confine, G4cout, G4endl, G4PhysicalVolumeStore::GetInstance(), G4VPhysicalVolume::GetName(), verbosityLevel, and VolName.
void DMXParticleSource::GenerateIsotropicFlux | ( | ) |
Definition at line 273 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 273 of file DMXParticleSource.cc
References G4cout, G4endl, G4UniformRand, MaxPhi, MaxTheta, MinPhi, MinTheta, particle_momentum_direction, Phi, CLHEP::Hep3Vector::setX(), CLHEP::Hep3Vector::setY(), CLHEP::Hep3Vector::setZ(), and verbosityLevel.
Referenced by GeneratePrimaryVertex().
void DMXParticleSource::GenerateMonoEnergetic | ( | ) |
Definition at line 318 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 318 of file DMXParticleSource.cc
References MonoEnergy, and particle_energy.
Referenced by GeneratePrimaryVertex().
void DMXParticleSource::GeneratePointsInVolume | ( | ) |
Definition at line 195 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 195 of file DMXParticleSource.cc
References CentreCoords, G4cout, G4endl, G4UniformRand, halfz, particle_position, Radius, CLHEP::Hep3Vector::setX(), CLHEP::Hep3Vector::setY(), CLHEP::Hep3Vector::setZ(), Shape, SourcePosType, verbosityLevel, x, y, and z.
Referenced by GeneratePrimaryVertex().
void DMXParticleSource::GeneratePointSource | ( | ) |
Definition at line 184 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 184 of file DMXParticleSource.cc
References CentreCoords, G4cout, G4endl, particle_position, SourcePosType, and verbosityLevel.
Referenced by GeneratePrimaryVertex().
Implements G4VPrimaryGenerator.
Definition at line 338 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 338 of file DMXParticleSource.cc
References G4Event::AddPrimaryVertex(), AngDistType, Confine, energy, EnergyDisType, G4cout, G4endl, GenerateIsotropicFlux(), GenerateMonoEnergetic(), GeneratePointsInVolume(), GeneratePointSource(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetPDGMass(), IsSourceConfined(), mass, NumberOfParticlesToBeGenerated, particle, particle_charge, particle_definition, particle_energy, particle_momentum_direction, particle_polarization, particle_position, particle_time, G4PrimaryParticle::SetCharge(), G4PrimaryParticle::SetMass(), SetParticleMomentumDirection(), G4PrimaryParticle::SetPolarization(), G4PrimaryVertex::SetPrimary(), SourcePosType, verbosityLevel, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by DMXPrimaryGeneratorAction::GeneratePrimaries().
|
inline |
Definition at line 87 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 87 of file DMXParticleSource.hh
References particle_energy.
Referenced by DMXPrimaryGeneratorAction::GeneratePrimaries().
G4bool DMXParticleSource::IsSourceConfined | ( | ) |
Definition at line 242 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 242 of file DMXParticleSource.cc
References Confine, G4cout, G4endl, G4VPhysicalVolume::GetName(), gNavigator, G4Navigator::LocateGlobalPointAndSetup(), particle_position, verbosityLevel, and VolName.
Referenced by GeneratePrimaryVertex().
Definition at line 178 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 178 of file DMXParticleSource.cc
References AngDistType.
void DMXParticleSource::SetCentreCoords | ( | G4ThreeVector | coordsOfCentre | ) |
Definition at line 119 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 119 of file DMXParticleSource.cc
References CentreCoords.
Definition at line 308 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 308 of file DMXParticleSource.cc
References EnergyDisType.
Definition at line 124 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 124 of file DMXParticleSource.cc
References halfz.
Definition at line 313 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 313 of file DMXParticleSource.cc
References MonoEnergy.
Definition at line 94 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 94 of file DMXParticleSource.hh
References particle_charge.
void DMXParticleSource::SetParticleDefinition | ( | G4ParticleDefinition * | aParticleDefinition | ) |
Definition at line 331 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 331 of file DMXParticleSource.cc
References G4ParticleDefinition::GetPDGCharge().
void DMXParticleSource::SetParticleMomentumDirection | ( | G4ParticleMomentum | aDirection | ) |
Definition at line 267 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 267 of file DMXParticleSource.cc
References CLHEP::Hep3Vector::unit().
Referenced by GeneratePrimaryVertex().
Definition at line 114 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 114 of file DMXParticleSource.cc
References Shape.
Definition at line 109 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 109 of file DMXParticleSource.cc
References SourcePosType.
Definition at line 129 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 129 of file DMXParticleSource.cc
Definition at line 324 of file DMXParticleSource.cc.
View newest version in sPHENIX GitHub at line 324 of file DMXParticleSource.cc
References G4cout, G4endl, and verbosityLevel.
|
private |
Definition at line 107 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 107 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), GeneratePrimaryVertex(), and SetAngDistType().
|
private |
Definition at line 104 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 104 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), GeneratePointsInVolume(), GeneratePointSource(), and SetCentreCoords().
|
private |
Definition at line 105 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 105 of file DMXParticleSource.hh
Referenced by ConfineSourceToVolume(), DMXParticleSource(), GeneratePrimaryVertex(), and IsSourceConfined().
|
private |
Definition at line 110 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 110 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), GeneratePrimaryVertex(), and SetEnergyDisType().
|
private |
Definition at line 129 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 129 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), and IsSourceConfined().
|
private |
Definition at line 102 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 102 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), GeneratePointsInVolume(), and SetHalfZ().
|
private |
Definition at line 108 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 108 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), and GenerateIsotropicFlux().
|
private |
Definition at line 108 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 108 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), and GenerateIsotropicFlux().
|
private |
Definition at line 108 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 108 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), and GenerateIsotropicFlux().
|
private |
Definition at line 108 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 108 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), and GenerateIsotropicFlux().
|
private |
Definition at line 111 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 111 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), GenerateMonoEnergetic(), and SetMonoEnergy().
|
private |
Definition at line 114 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 114 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), and GeneratePrimaryVertex().
|
private |
Definition at line 118 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 118 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), GeneratePrimaryVertex(), and SetParticleCharge().
|
private |
Definition at line 115 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 115 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), and GeneratePrimaryVertex().
|
private |
Definition at line 117 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 117 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), GenerateMonoEnergetic(), GeneratePrimaryVertex(), and GetParticleEnergy().
|
private |
Definition at line 116 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 116 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), GenerateIsotropicFlux(), and GeneratePrimaryVertex().
|
private |
Definition at line 121 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 121 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), and GeneratePrimaryVertex().
|
private |
Definition at line 119 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 119 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), GeneratePointsInVolume(), GeneratePointSource(), GeneratePrimaryVertex(), and IsSourceConfined().
|
private |
Definition at line 120 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 120 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), and GeneratePrimaryVertex().
|
private |
Definition at line 109 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 109 of file DMXParticleSource.hh
Referenced by GenerateIsotropicFlux().
|
private |
Definition at line 103 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 103 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), GeneratePointsInVolume(), and SetRadius().
|
private |
Definition at line 101 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 101 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), GeneratePointsInVolume(), and SetPosDisShape().
|
private |
Definition at line 100 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 100 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), GeneratePointsInVolume(), GeneratePointSource(), GeneratePrimaryVertex(), and SetPosDisType().
|
private |
Definition at line 128 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 128 of file DMXParticleSource.hh
Referenced by DMXParticleSource(), and ~DMXParticleSource().
|
private |
Definition at line 124 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 124 of file DMXParticleSource.hh
Referenced by ConfineSourceToVolume(), DMXParticleSource(), GenerateIsotropicFlux(), GeneratePointsInVolume(), GeneratePointSource(), GeneratePrimaryVertex(), IsSourceConfined(), and SetVerbosity().
|
private |
Definition at line 106 of file DMXParticleSource.hh.
View newest version in sPHENIX GitHub at line 106 of file DMXParticleSource.hh
Referenced by ConfineSourceToVolume(), DMXParticleSource(), and IsSourceConfined().