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

#include <geant4/tree/geant4-10.6-release/source/processes/electromagnetic/dna/models/include/G4VLEPTSModel.hh>

+ Inheritance diagram for G4VLEPTSModel:
+ Collaboration diagram for G4VLEPTSModel:

Public Member Functions

 G4VLEPTSModel (const G4String &processName)
 
 ~G4VLEPTSModel ()
 
void BuildPhysicsTable (const G4ParticleDefinition &aParticleType)
 
G4double GetMeanFreePath (const G4Material *mate, const G4ParticleDefinition *aParticle, G4double kineticEnergy)
 
G4ThreeVector SampleNewDirection (const G4Material *aMaterial, G4ThreeVector Dir, G4double e, G4double el)
 
G4double SampleAngle (const G4Material *aMaterial, G4double e, G4double el)
 
G4ThreeVector SampleNewDirection (G4ThreeVector Dir, G4double ang)
 
G4VLEPTSModeloperator= (const G4VLEPTSModel &right)
 
 G4VLEPTSModel (const G4VLEPTSModel &)
 
- Public Member Functions inherited from G4VEmModel
 G4VEmModel (const G4String &nam)
 
virtual ~G4VEmModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &)=0
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin=0.0, G4double tmax=DBL_MAX)=0
 
virtual void InitialiseLocal (const G4ParticleDefinition *, G4VEmModel *masterModel)
 
virtual void InitialiseForMaterial (const G4ParticleDefinition *, const G4Material *)
 
virtual void InitialiseForElement (const G4ParticleDefinition *, G4int Z)
 
virtual G4double ComputeDEDXPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=DBL_MAX)
 
virtual G4double CrossSectionPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
virtual G4double GetPartialCrossSection (const G4Material *, G4int level, const G4ParticleDefinition *, G4double kineticEnergy)
 
virtual G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A=0., G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
virtual G4double ComputeCrossSectionPerShell (const G4ParticleDefinition *, G4int Z, G4int shellIdx, G4double kinEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
virtual G4double ChargeSquareRatio (const G4Track &)
 
virtual G4double GetChargeSquareRatio (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
virtual G4double GetParticleCharge (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
virtual void StartTracking (G4Track *)
 
virtual void CorrectionsAlongStep (const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double &eloss, G4double &niel, G4double length)
 
virtual G4double Value (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy)
 
virtual G4double MinPrimaryEnergy (const G4Material *, const G4ParticleDefinition *, G4double cut=0.0)
 
virtual G4double MinEnergyCut (const G4ParticleDefinition *, const G4MaterialCutsCouple *)
 
virtual void SetupForMaterial (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
virtual void DefineForRegion (const G4Region *)
 
virtual void ModelDescription (std::ostream &outFile) const
 
void InitialiseElementSelectors (const G4ParticleDefinition *, const G4DataVector &)
 
std::vector
< G4EmElementSelector * > * 
GetElementSelectors ()
 
void SetElementSelectors (std::vector< G4EmElementSelector * > *)
 
virtual G4double ComputeDEDX (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=DBL_MAX)
 
G4double CrossSection (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
G4double ComputeMeanFreePath (const G4ParticleDefinition *, G4double kineticEnergy, const G4Material *, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, const G4Element *, G4double kinEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
const G4ElementSelectRandomAtom (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
const G4ElementSelectTargetAtom (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double logKineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
const G4ElementSelectRandomAtom (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
G4int SelectRandomAtomNumber (const G4Material *)
 
G4int SelectIsotopeNumber (const G4Element *)
 
void SetParticleChange (G4VParticleChange *, G4VEmFluctuationModel *f=nullptr)
 
void SetCrossSectionTable (G4PhysicsTable *, G4bool isLocal)
 
G4ElementDataGetElementData ()
 
G4PhysicsTableGetCrossSectionTable ()
 
G4VEmFluctuationModelGetModelOfFluctuations ()
 
G4VEmAngularDistributionGetAngularDistribution ()
 
G4VEmModelGetTripletModel ()
 
void SetTripletModel (G4VEmModel *)
 
void SetAngularDistribution (G4VEmAngularDistribution *)
 
G4double HighEnergyLimit () const
 
G4double LowEnergyLimit () const
 
G4double HighEnergyActivationLimit () const
 
G4double LowEnergyActivationLimit () const
 
G4double PolarAngleLimit () const
 
G4double SecondaryThreshold () const
 
G4bool LPMFlag () const
 
G4bool DeexcitationFlag () const
 
G4bool ForceBuildTableFlag () const
 
G4bool UseAngularGeneratorFlag () const
 
void SetAngularGeneratorFlag (G4bool)
 
void SetHighEnergyLimit (G4double)
 
void SetLowEnergyLimit (G4double)
 
void SetActivationHighEnergyLimit (G4double)
 
void SetActivationLowEnergyLimit (G4double)
 
G4bool IsActive (G4double kinEnergy) const
 
void SetPolarAngleLimit (G4double)
 
void SetSecondaryThreshold (G4double)
 
void SetLPMFlag (G4bool val)
 
void SetDeexcitationFlag (G4bool val)
 
void SetForceBuildTable (G4bool val)
 
void SetFluctuationFlag (G4bool val)
 
void SetMasterThread (G4bool val)
 
G4bool IsMaster () const
 
void SetUseBaseMaterials (G4bool val)
 
G4bool UseBaseMaterials () const
 
G4double MaxSecondaryKinEnergy (const G4DynamicParticle *dynParticle)
 
const G4StringGetName () const
 
void SetCurrentCouple (const G4MaterialCutsCouple *)
 
const G4ElementGetCurrentElement () const
 
const G4IsotopeGetCurrentIsotope () const
 
G4bool IsLocked () const
 
void SetLocked (G4bool)
 

Protected Member Functions

void Init ()
 
G4bool ReadParam (G4String fileName, const G4Material *aMaterial)
 
virtual std::map< G4int,
std::vector< G4double > > 
ReadIXS (G4String fileName, const G4Material *aMaterial)
 
G4double SampleEnergyLoss (const G4Material *aMaterial, G4double eMin, G4double eMax)
 
void BuildMeanFreePathTable (const G4Material *aMaterial, std::map< G4int, std::vector< G4double > > &integralXS)
 
- Protected Member Functions inherited from G4VEmModel
G4ParticleChangeForLossGetParticleChangeForLoss ()
 
G4ParticleChangeForGammaGetParticleChangeForGamma ()
 
virtual G4double MaxSecondaryEnergy (const G4ParticleDefinition *, G4double kineticEnergy)
 
const G4MaterialCutsCoupleCurrentCouple () const
 
void SetCurrentElement (const G4Element *)
 

Protected Attributes

G4PhysicsTabletheMeanFreePathTable
 
G4double theLowestEnergyLimit
 
G4double theHighestEnergyLimit
 
G4int theNumbBinTable
 
std::map< const G4Material
*, G4double
theIonisPot
 
std::map< const G4Material
*, G4double
theIonisPotInt
 
std::map< const G4Material
*, G4double
theMolecularMass
 
std::map< const G4Material
*, G4LEPTSDiffXS * > 
theDiffXS
 
std::map< const G4Material
*, G4LEPTSDistribution * > 
theRMTDistr
 
std::map< const G4Material
*, G4LEPTSElossDistr * > 
theElostDistr
 
std::map< const G4Material
*, G4LEPTSDistribution * > 
theElostDistr2
 
std::map< const G4Material
*, G4int
theNXSdat
 
std::map< const G4Material
*, G4int
theNXSsub
 
G4bool isInitialised
 
XSType theXSType
 
G4int verboseLevel
 
- Protected Attributes inherited from G4VEmModel
G4ElementDatafElementData
 
G4VParticleChangepParticleChange
 
G4PhysicsTablexSectionTable
 
const G4MaterialpBaseMaterial
 
const std::vector< G4double > * theDensityFactor
 
const std::vector< G4int > * theDensityIdx
 
size_t idxTable
 
G4bool lossFlucFlag
 
G4double inveplus
 
G4double pFactor
 

Detailed Description

Definition at line 59 of file G4VLEPTSModel.hh.

View newest version in sPHENIX GitHub at line 59 of file G4VLEPTSModel.hh

Constructor & Destructor Documentation

G4VLEPTSModel::G4VLEPTSModel ( const G4String processName)

Definition at line 31 of file G4VLEPTSModel.cc.

View newest version in sPHENIX GitHub at line 31 of file G4VLEPTSModel.cc

References theMeanFreePathTable, theNumbBinTable, and verboseLevel.

G4VLEPTSModel::~G4VLEPTSModel ( )

Definition at line 42 of file G4VLEPTSModel.cc.

View newest version in sPHENIX GitHub at line 42 of file G4VLEPTSModel.cc

References G4PhysicsTable::clearAndDestroy(), and theMeanFreePathTable.

+ Here is the call graph for this function:

G4VLEPTSModel::G4VLEPTSModel ( const G4VLEPTSModel )

Member Function Documentation

void G4VLEPTSModel::BuildMeanFreePathTable ( const G4Material aMaterial,
std::map< G4int, std::vector< G4double > > &  integralXS 
)
protected

Definition at line 178 of file G4VLEPTSModel.cc.

View newest version in sPHENIX GitHub at line 178 of file G4VLEPTSModel.cc

References CLHEP::Avogadro, bb, CLHEP::cm2, DBL_MAX, DBL_MIN, e, CLHEP::eV, G4cout, G4endl, G4Material::GetDensity(), G4Material::GetIndex(), G4PhysicsVector::GetLowEdgeEnergy(), G4VEmModel::GetName(), G4PhysicsTable::insertAt(), G4PhysicsVector::PutValue(), theHighestEnergyLimit, theLowestEnergyLimit, theMeanFreePathTable, theMolecularMass, theNumbBinTable, theNXSdat, theXSType, and verboseLevel.

Referenced by BuildPhysicsTable().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4VLEPTSModel::GetMeanFreePath ( const G4Material mate,
const G4ParticleDefinition aParticle,
G4double  kineticEnergy 
)

Definition at line 67 of file G4VLEPTSModel.cc.

View newest version in sPHENIX GitHub at line 67 of file G4VLEPTSModel.cc

References DBL_MAX, G4cout, G4endl, G4Material::GetIndex(), theHighestEnergyLimit, theLowestEnergyLimit, and verboseLevel.

Referenced by G4LEPTSDissociationModel::CrossSectionPerVolume(), G4LEPTSIonisationModel::CrossSectionPerVolume(), G4LEPTSRotExcitationModel::CrossSectionPerVolume(), G4LEPTSPositroniumModel::CrossSectionPerVolume(), G4LEPTSVibExcitationModel::CrossSectionPerVolume(), G4LEPTSElasticModel::CrossSectionPerVolume(), G4LEPTSExcitationModel::CrossSectionPerVolume(), and G4LEPTSAttachmentModel::CrossSectionPerVolume().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VLEPTSModel::Init ( )
protected

Definition at line 53 of file G4VLEPTSModel.cc.

View newest version in sPHENIX GitHub at line 53 of file G4VLEPTSModel.cc

References CLHEP::eV, CLHEP::MeV, G4VEmModel::SetHighEnergyLimit(), G4VEmModel::SetLowEnergyLimit(), theHighestEnergyLimit, theLowestEnergyLimit, and theNumbBinTable.

Referenced by G4LEPTSDissociationModel::Initialise(), G4LEPTSExcitationModel::Initialise(), G4LEPTSRotExcitationModel::Initialise(), G4LEPTSPositroniumModel::Initialise(), G4LEPTSIonisationModel::Initialise(), G4LEPTSVibExcitationModel::Initialise(), G4LEPTSElasticModel::Initialise(), and G4LEPTSAttachmentModel::Initialise().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VLEPTSModel& G4VLEPTSModel::operator= ( const G4VLEPTSModel right)
std::map< G4int, std::vector< G4double > > G4VLEPTSModel::ReadIXS ( G4String  fileName,
const G4Material aMaterial 
)
protectedvirtual

Reimplemented in G4LEPTSExcitationModel.

Definition at line 361 of file G4VLEPTSModel.cc.

View newest version in sPHENIX GitHub at line 361 of file G4VLEPTSModel.cc

References fin, G4cout, G4endl, G4Exception(), G4VEmModel::GetName(), JustWarning, theNXSdat, theNXSsub, and verboseLevel.

Referenced by BuildPhysicsTable(), and G4LEPTSExcitationModel::ReadIXS().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4VLEPTSModel::ReadParam ( G4String  fileName,
const G4Material aMaterial 
)
protected

Definition at line 322 of file G4VLEPTSModel.cc.

View newest version in sPHENIX GitHub at line 322 of file G4VLEPTSModel.cc

References CLHEP::eV, fin, CLHEP::g, G4cout, G4endl, G4Exception(), G4Element::GetA(), G4Material::GetAtomsVector(), G4Material::GetElement(), G4Material::GetNumberOfElements(), JustWarning, CLHEP::mole, theIonisPot, theIonisPotInt, theMolecularMass, and verboseLevel.

Referenced by BuildPhysicsTable().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4VLEPTSModel::SampleAngle ( const G4Material aMaterial,
G4double  e,
G4double  el 
)

Definition at line 243 of file G4VLEPTSModel.cc.

View newest version in sPHENIX GitHub at line 243 of file G4VLEPTSModel.cc

References e, theDiffXS, theRMTDistr, and x.

Referenced by SampleNewDirection(), and G4LEPTSElasticModel::SampleSecondaries().

+ Here is the caller graph for this function:

G4double G4VLEPTSModel::SampleEnergyLoss ( const G4Material aMaterial,
G4double  eMin,
G4double  eMax 
)
protected

Definition at line 308 of file G4VLEPTSModel.cc.

View newest version in sPHENIX GitHub at line 308 of file G4VLEPTSModel.cc

References CLHEP::eV, G4cout, G4endl, G4Material::GetName(), G4VEmModel::GetName(), theElostDistr, and verboseLevel.

Referenced by G4LEPTSDissociationModel::SampleSecondaries(), G4LEPTSIonisationModel::SampleSecondaries(), and G4LEPTSExcitationModel::SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ThreeVector G4VLEPTSModel::SampleNewDirection ( const G4Material aMaterial,
G4ThreeVector  Dir,
G4double  e,
G4double  el 
)

Definition at line 270 of file G4VLEPTSModel.cc.

View newest version in sPHENIX GitHub at line 270 of file G4VLEPTSModel.cc

References G4cout, G4endl, G4UniformRand, CLHEP::Hep3Vector::rotateUz(), SampleAngle(), CLHEP::twopi, verboseLevel, and x.

Referenced by G4LEPTSDissociationModel::SampleSecondaries(), G4LEPTSVibExcitationModel::SampleSecondaries(), G4LEPTSElasticModel::SampleSecondaries(), G4LEPTSPositroniumModel::SampleSecondaries(), G4LEPTSIonisationModel::SampleSecondaries(), G4LEPTSRotExcitationModel::SampleSecondaries(), and G4LEPTSExcitationModel::SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ThreeVector G4VLEPTSModel::SampleNewDirection ( G4ThreeVector  Dir,
G4double  ang 
)

Definition at line 293 of file G4VLEPTSModel.cc.

View newest version in sPHENIX GitHub at line 293 of file G4VLEPTSModel.cc

References G4UniformRand, CLHEP::Hep3Vector::rotateUz(), and CLHEP::twopi.

+ Here is the call graph for this function:

Member Data Documentation

G4bool G4VLEPTSModel::isInitialised
protected

Definition at line 106 of file G4VLEPTSModel.hh.

View newest version in sPHENIX GitHub at line 106 of file G4VLEPTSModel.hh

std::map<const G4Material*, G4LEPTSDiffXS*> G4VLEPTSModel::theDiffXS
protected

Definition at line 97 of file G4VLEPTSModel.hh.

View newest version in sPHENIX GitHub at line 97 of file G4VLEPTSModel.hh

Referenced by BuildPhysicsTable(), and SampleAngle().

std::map<const G4Material*, G4LEPTSElossDistr*> G4VLEPTSModel::theElostDistr
protected

Definition at line 100 of file G4VLEPTSModel.hh.

View newest version in sPHENIX GitHub at line 100 of file G4VLEPTSModel.hh

Referenced by BuildPhysicsTable(), and SampleEnergyLoss().

std::map<const G4Material*, G4LEPTSDistribution*> G4VLEPTSModel::theElostDistr2
protected

Definition at line 101 of file G4VLEPTSModel.hh.

View newest version in sPHENIX GitHub at line 101 of file G4VLEPTSModel.hh

G4double G4VLEPTSModel::theHighestEnergyLimit
protected

Definition at line 90 of file G4VLEPTSModel.hh.

View newest version in sPHENIX GitHub at line 90 of file G4VLEPTSModel.hh

Referenced by BuildMeanFreePathTable(), BuildPhysicsTable(), GetMeanFreePath(), and Init().

std::map<const G4Material*, G4double > G4VLEPTSModel::theIonisPot
protected

Definition at line 93 of file G4VLEPTSModel.hh.

View newest version in sPHENIX GitHub at line 93 of file G4VLEPTSModel.hh

Referenced by ReadParam(), G4LEPTSIonisationModel::SampleSecondaries(), and G4LEPTSExcitationModel::SampleSecondaries().

std::map<const G4Material*, G4double > G4VLEPTSModel::theIonisPotInt
protected

Definition at line 94 of file G4VLEPTSModel.hh.

View newest version in sPHENIX GitHub at line 94 of file G4VLEPTSModel.hh

Referenced by ReadParam(), and G4LEPTSIonisationModel::SampleSecondaries().

G4double G4VLEPTSModel::theLowestEnergyLimit
protected
G4PhysicsTable* G4VLEPTSModel::theMeanFreePathTable
protected

Definition at line 87 of file G4VLEPTSModel.hh.

View newest version in sPHENIX GitHub at line 87 of file G4VLEPTSModel.hh

Referenced by BuildMeanFreePathTable(), BuildPhysicsTable(), G4VLEPTSModel(), and ~G4VLEPTSModel().

std::map<const G4Material*, G4double > G4VLEPTSModel::theMolecularMass
protected

Definition at line 95 of file G4VLEPTSModel.hh.

View newest version in sPHENIX GitHub at line 95 of file G4VLEPTSModel.hh

Referenced by BuildMeanFreePathTable(), G4LEPTSElasticModel::Initialise(), and ReadParam().

G4int G4VLEPTSModel::theNumbBinTable
protected

Definition at line 91 of file G4VLEPTSModel.hh.

View newest version in sPHENIX GitHub at line 91 of file G4VLEPTSModel.hh

Referenced by BuildMeanFreePathTable(), G4VLEPTSModel(), and Init().

std::map<const G4Material*, G4int> G4VLEPTSModel::theNXSdat
protected

Definition at line 103 of file G4VLEPTSModel.hh.

View newest version in sPHENIX GitHub at line 103 of file G4VLEPTSModel.hh

Referenced by BuildMeanFreePathTable(), G4LEPTSExcitationModel::ReadIXS(), and ReadIXS().

std::map<const G4Material*, G4int> G4VLEPTSModel::theNXSsub
protected

Definition at line 104 of file G4VLEPTSModel.hh.

View newest version in sPHENIX GitHub at line 104 of file G4VLEPTSModel.hh

Referenced by ReadIXS().

std::map<const G4Material*, G4LEPTSDistribution*> G4VLEPTSModel::theRMTDistr
protected

Definition at line 98 of file G4VLEPTSModel.hh.

View newest version in sPHENIX GitHub at line 98 of file G4VLEPTSModel.hh

Referenced by BuildPhysicsTable(), and SampleAngle().


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