Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4NeutrinoElectronTotXsc Class Reference

#include <G4NeutrinoElectronTotXsc.hh>

+ Inheritance diagram for G4NeutrinoElectronTotXsc:

Public Member Functions

 G4NeutrinoElectronTotXsc ()
 
 ~G4NeutrinoElectronTotXsc ()
 
virtual G4bool IsElementApplicable (const G4DynamicParticle *, G4int Z, const G4Material *)
 
virtual G4double GetElementCrossSection (const G4DynamicParticle *, G4int Z, const G4Material *)
 
void SetCutEnergy (G4double ec)
 
G4double GetCutEnergy ()
 
void SetBiasingFactor (G4double bf)
 
void SetBiasingFactors (G4double bfCc, G4double bfNc)
 
G4double GetBiasingFactor ()
 
G4double GetCcRatio ()
 
- Public Member Functions inherited from G4VCrossSectionDataSet
 G4VCrossSectionDataSet (const G4String &nam="")
 
virtual ~G4VCrossSectionDataSet ()
 
virtual G4bool IsElementApplicable (const G4DynamicParticle *, G4int Z, const G4Material *mat=nullptr)
 
virtual G4bool IsIsoApplicable (const G4DynamicParticle *, G4int Z, G4int A, const G4Element *elm=nullptr, const G4Material *mat=nullptr)
 
G4double GetCrossSection (const G4DynamicParticle *, const G4Element *, const G4Material *mat=nullptr)
 
G4double ComputeCrossSection (const G4DynamicParticle *, const G4Element *, const G4Material *mat=nullptr)
 
virtual G4double GetElementCrossSection (const G4DynamicParticle *, G4int Z, const G4Material *mat=nullptr)
 
virtual G4double GetIsoCrossSection (const G4DynamicParticle *, G4int Z, G4int A, const G4Isotope *iso=nullptr, const G4Element *elm=nullptr, const G4Material *mat=nullptr)
 
virtual const G4IsotopeSelectIsotope (const G4Element *, G4double kinEnergy, G4double logE)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual void DumpPhysicsTable (const G4ParticleDefinition &)
 
virtual void CrossSectionDescription (std::ostream &) const
 
virtual G4int GetVerboseLevel () const
 
virtual void SetVerboseLevel (G4int value)
 
G4double GetMinKinEnergy () const
 
void SetMinKinEnergy (G4double value)
 
G4double GetMaxKinEnergy () const
 
void SetMaxKinEnergy (G4double value)
 
bool ForAllAtomsAndEnergies () const
 
void SetForAllAtomsAndEnergies (G4bool val)
 
const G4StringGetName () const
 

Protected Attributes

G4NeutrinoElectronCcXscfCcXsc
 
G4NeutrinoElectronNcXscfNcXsc
 
G4double fCutEnergy
 
G4double fBiasingFactor
 
G4double fCcRatio
 
- Protected Attributes inherited from G4VCrossSectionDataSet
G4int verboseLevel
 

Additional Inherited Members

- Protected Member Functions inherited from G4VCrossSectionDataSet
void SetName (const G4String &)
 

Detailed Description

Definition at line 42 of file G4NeutrinoElectronTotXsc.hh.

Constructor & Destructor Documentation

◆ G4NeutrinoElectronTotXsc()

G4NeutrinoElectronTotXsc::G4NeutrinoElectronTotXsc ( )

◆ ~G4NeutrinoElectronTotXsc()

G4NeutrinoElectronTotXsc::~G4NeutrinoElectronTotXsc ( )

Definition at line 52 of file G4NeutrinoElectronTotXsc.cc.

53{}

Member Function Documentation

◆ GetBiasingFactor()

G4double G4NeutrinoElectronTotXsc::GetBiasingFactor ( )
inline

Definition at line 62 of file G4NeutrinoElectronTotXsc.hh.

62{return fBiasingFactor;};

◆ GetCcRatio()

G4double G4NeutrinoElectronTotXsc::GetCcRatio ( )
inline

Definition at line 63 of file G4NeutrinoElectronTotXsc.hh.

63{return fCcRatio;};

Referenced by G4NeutrinoElectronProcess::PostStepDoIt().

◆ GetCutEnergy()

G4double G4NeutrinoElectronTotXsc::GetCutEnergy ( )
inline

Definition at line 58 of file G4NeutrinoElectronTotXsc.hh.

58{return fCutEnergy;};

◆ GetElementCrossSection()

G4double G4NeutrinoElectronTotXsc::GetElementCrossSection ( const G4DynamicParticle aPart,
G4int  Z,
const G4Material mat 
)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 72 of file G4NeutrinoElectronTotXsc.cc.

75{
76 G4double result = 0.;
77
78 G4double ccXsc = fCcXsc->GetElementCrossSection( aPart, ZZ, mat);
79 G4double ncXsc = fNcXsc->GetElementCrossSection( aPart, ZZ, mat);
80
81 result = ccXsc + ncXsc;
82
83 if (result > 0.) fCcRatio = ccXsc/result;
84 else fCcRatio = 0.;
85
86 return result;
87}
double G4double
Definition: G4Types.hh:83
virtual G4double GetElementCrossSection(const G4DynamicParticle *, G4int Z, const G4Material *)
virtual G4double GetElementCrossSection(const G4DynamicParticle *, G4int Z, const G4Material *)

Referenced by G4NeutrinoElectronProcess::PostStepDoIt().

◆ IsElementApplicable()

G4bool G4NeutrinoElectronTotXsc::IsElementApplicable ( const G4DynamicParticle aPart,
G4int  Z,
const G4Material mat 
)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 58 of file G4NeutrinoElectronTotXsc.cc.

59{
60 G4bool result = false;
61
62 G4bool apCc = fCcXsc->IsElementApplicable( aPart,i, mat);
63 G4bool apNc = fNcXsc->IsElementApplicable( aPart, i, mat);
64
65 if( apCc || apNc) result = true;
66
67 return result;
68}
bool G4bool
Definition: G4Types.hh:86
virtual G4bool IsElementApplicable(const G4DynamicParticle *, G4int Z, const G4Material *)
virtual G4bool IsElementApplicable(const G4DynamicParticle *, G4int Z, const G4Material *)

◆ SetBiasingFactor()

void G4NeutrinoElectronTotXsc::SetBiasingFactor ( G4double  bf)

Definition at line 91 of file G4NeutrinoElectronTotXsc.cc.

92{
93 fBiasingFactor = bf;
96}

◆ SetBiasingFactors()

void G4NeutrinoElectronTotXsc::SetBiasingFactors ( G4double  bfCc,
G4double  bfNc 
)

◆ SetCutEnergy()

void G4NeutrinoElectronTotXsc::SetCutEnergy ( G4double  ec)
inline

Definition at line 57 of file G4NeutrinoElectronTotXsc.hh.

57{fCutEnergy=ec;};

Member Data Documentation

◆ fBiasingFactor

G4double G4NeutrinoElectronTotXsc::fBiasingFactor
protected

◆ fCcRatio

G4double G4NeutrinoElectronTotXsc::fCcRatio
protected

◆ fCcXsc

◆ fCutEnergy

G4double G4NeutrinoElectronTotXsc::fCutEnergy
protected

◆ fNcXsc


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