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

#include <G4ChipsKaonZeroInelasticXS.hh>

+ Inheritance diagram for G4ChipsKaonZeroInelasticXS:

Public Member Functions

 G4ChipsKaonZeroInelasticXS ()
 
 ~G4ChipsKaonZeroInelasticXS ()
 
virtual G4bool IsIsoApplicable (const G4DynamicParticle *Pt, G4int Z, G4int A, const G4Element *elm, const G4Material *mat)
 
virtual G4double GetIsoCrossSection (const G4DynamicParticle *, G4int tgZ, G4int A, const G4Isotope *iso=0, const G4Element *elm=0, const G4Material *mat=0)
 
G4double GetChipsCrossSection (G4double momentum, G4int Z, G4int N, G4int pdg)
 
- Public Member Functions inherited from G4VCrossSectionDataSet
 G4VCrossSectionDataSet (const G4String &nam="")
 
virtual ~G4VCrossSectionDataSet ()
 
virtual G4bool IsElementApplicable (const G4DynamicParticle *, G4int Z, const G4Material *mat=0)
 
virtual G4bool IsIsoApplicable (const G4DynamicParticle *, G4int Z, G4int A, const G4Element *elm=0, const G4Material *mat=0)
 
G4double GetCrossSection (const G4DynamicParticle *, const G4Element *, const G4Material *mat=0)
 
G4double ComputeCrossSection (const G4DynamicParticle *, const G4Element *, const G4Material *mat=0)
 
virtual G4double GetElementCrossSection (const G4DynamicParticle *, G4int Z, const G4Material *mat=0)
 
virtual G4double GetIsoCrossSection (const G4DynamicParticle *, G4int Z, G4int A, const G4Isotope *iso=0, const G4Element *elm=0, const G4Material *mat=0)
 
virtual G4IsotopeSelectIsotope (const G4Element *, G4double kinEnergy)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual void DumpPhysicsTable (const G4ParticleDefinition &)
 
virtual void CrossSectionDescription (std::ostream &) const
 
void SetVerboseLevel (G4int value)
 
G4double GetMinKinEnergy () const
 
void SetMinKinEnergy (G4double value)
 
G4double GetMaxKinEnergy () const
 
void SetMaxKinEnergy (G4double value)
 
const G4StringGetName () const
 

Static Public Member Functions

static const char * Default_Name ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 50 of file G4ChipsKaonZeroInelasticXS.hh.

Constructor & Destructor Documentation

◆ G4ChipsKaonZeroInelasticXS()

◆ ~G4ChipsKaonZeroInelasticXS()

G4ChipsKaonZeroInelasticXS::~G4ChipsKaonZeroInelasticXS ( )

Definition at line 72 of file G4ChipsKaonZeroInelasticXS.cc.

73{
74}

Member Function Documentation

◆ Default_Name()

◆ GetChipsCrossSection()

G4double G4ChipsKaonZeroInelasticXS::GetChipsCrossSection ( G4double  momentum,
G4int  Z,
G4int  N,
G4int  pdg 
)

Definition at line 108 of file G4ChipsKaonZeroInelasticXS.cc.

109{
110 return (theKMinusCS->GetChipsCrossSection(mom,Z,N,pdg)
111 +theKPlusCS->GetChipsCrossSection(mom,Z,N,pdg))/2;
112}
virtual G4double GetChipsCrossSection(G4double momentum, G4int Z, G4int N, G4int pdg)
virtual G4double GetChipsCrossSection(G4double momentum, G4int Z, G4int N, G4int pdg)

Referenced by GetIsoCrossSection(), and G4ChipsComponentXS::GetTotalElementCrossSection().

◆ GetIsoCrossSection()

G4double G4ChipsKaonZeroInelasticXS::GetIsoCrossSection ( const G4DynamicParticle Pt,
G4int  tgZ,
G4int  A,
const G4Isotope iso = 0,
const G4Element elm = 0,
const G4Material mat = 0 
)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 97 of file G4ChipsKaonZeroInelasticXS.cc.

101{
102 G4double pMom=Pt->GetTotalMomentum();
103 G4int N = A - tgZ;
104
105 return GetChipsCrossSection(pMom, tgZ, N, 311);
106}
double G4double
Definition: G4Types.hh:64
int G4int
Definition: G4Types.hh:66
G4double GetChipsCrossSection(G4double momentum, G4int Z, G4int N, G4int pdg)
G4double GetTotalMomentum() const

◆ IsIsoApplicable()

G4bool G4ChipsKaonZeroInelasticXS::IsIsoApplicable ( const G4DynamicParticle Pt,
G4int  Z,
G4int  A,
const G4Element elm,
const G4Material mat 
)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 76 of file G4ChipsKaonZeroInelasticXS.cc.

79{
80 G4ParticleDefinition* particle = Pt->GetDefinition();
81
82 if(particle == G4KaonZeroLong::KaonZeroLong() ||
83 particle == G4KaonZeroShort::KaonZeroShort() ||
84 particle == G4KaonZero::KaonZero() ||
85 particle == G4AntiKaonZero::AntiKaonZero() )
86 {
87 return true;
88 }
89 return false;
90}
static G4AntiKaonZero * AntiKaonZero()
G4ParticleDefinition * GetDefinition() const
static G4KaonZeroLong * KaonZeroLong()
static G4KaonZeroShort * KaonZeroShort()
static G4KaonZero * KaonZero()
Definition: G4KaonZero.cc:104

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