Geant4  10.02.p03
G4ChipsKaonZeroInelasticXS Class Reference

#include <G4ChipsKaonZeroInelasticXS.hh>

Inheritance diagram for G4ChipsKaonZeroInelasticXS:
Collaboration diagram for G4ChipsKaonZeroInelasticXS:

Public Member Functions

 G4ChipsKaonZeroInelasticXS ()
 
 ~G4ChipsKaonZeroInelasticXS ()
 
virtual void CrossSectionDescription (std::ostream &) const
 
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)
 
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 G4IsotopeSelectIsotope (const G4Element *, G4double kinEnergy)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual void DumpPhysicsTable (const G4ParticleDefinition &)
 
virtual G4int GetVerboseLevel () const
 
virtual 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 ()
 

Private Attributes

G4ChipsKaonMinusInelasticXStheKMinusCS
 
G4ChipsKaonPlusInelasticXStheKPlusCS
 
G4doublelastLEN
 
G4doublelastHEN
 
G4int lastN
 
G4int lastZ
 
G4double lastP
 
G4double lastTH
 
G4double lastCS
 
G4int lastI
 

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 49 of file G4ChipsKaonZeroInelasticXS.hh.

Constructor & Destructor Documentation

◆ G4ChipsKaonZeroInelasticXS()

G4ChipsKaonZeroInelasticXS::G4ChipsKaonZeroInelasticXS ( )

Definition at line 54 of file G4ChipsKaonZeroInelasticXS.cc.

55 {
56  lastLEN=0;// Pointer to the lastArray of LowEn CS
57  lastHEN=0;// Pointer to the lastArray of HighEnCS
58  lastN=0; // The last N of calculated nucleus
59  lastZ=0; // The last Z of calculated nucleus
60  lastP=0.; // Last used in cross section Momentum
61  lastTH=0.;// Last threshold momentum
62  lastCS=0.;// Last value of the Cross Section
63  lastI=0; // The last position in the DAMDB
64 
67 }
G4VCrossSectionDataSet * GetCrossSectionDataSet(const G4String &name, G4bool warning=true)
G4ChipsKaonMinusInelasticXS * theKMinusCS
G4VCrossSectionDataSet(const G4String &nam="")
static G4CrossSectionDataSetRegistry * Instance()
G4ChipsKaonPlusInelasticXS * theKPlusCS
Here is the call graph for this function:

◆ ~G4ChipsKaonZeroInelasticXS()

G4ChipsKaonZeroInelasticXS::~G4ChipsKaonZeroInelasticXS ( )

Definition at line 70 of file G4ChipsKaonZeroInelasticXS.cc.

71 {
72 }

Member Function Documentation

◆ CrossSectionDescription()

void G4ChipsKaonZeroInelasticXS::CrossSectionDescription ( std::ostream &  outFile) const
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 75 of file G4ChipsKaonZeroInelasticXS.cc.

76 {
77  outFile << "G4ChipsKaonZeroInelasticXS provides the inelastic cross\n"
78  << "section for K0 nucleus scattering as a function of incident\n"
79  << "momentum. The cross section is calculated using M. Kossov's\n"
80  << "CHIPS parameterization of cross section data.\n";
81 }
Here is the caller graph for this function:

◆ Default_Name()

static const char* G4ChipsKaonZeroInelasticXS::Default_Name ( )
inlinestatic

Definition at line 59 of file G4ChipsKaonZeroInelasticXS.hh.

59 {return "ChipsKaonZeroInelasticXS";}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetChipsCrossSection()

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

Definition at line 106 of file G4ChipsKaonZeroInelasticXS.cc.

107 {
108  return (theKMinusCS->GetChipsCrossSection(mom,Z,N,pdg)
109  +theKPlusCS->GetChipsCrossSection(mom,Z,N,pdg))/2;
110 }
G4ChipsKaonMinusInelasticXS * theKMinusCS
virtual G4double GetChipsCrossSection(G4double momentum, G4int Z, G4int N, G4int pdg)
Float_t Z
virtual G4double GetChipsCrossSection(G4double momentum, G4int Z, G4int N, G4int pdg)
**D E S C R I P T I O N
G4ChipsKaonPlusInelasticXS * theKPlusCS
Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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 95 of file G4ChipsKaonZeroInelasticXS.cc.

99 {
100  G4double pMom=Pt->GetTotalMomentum();
101  G4int N = A - tgZ;
102 
103  return GetChipsCrossSection(pMom, tgZ, N, 311);
104 }
G4double GetTotalMomentum() const
int G4int
Definition: G4Types.hh:78
double A(double temperature)
**D E S C R I P T I O N
double G4double
Definition: G4Types.hh:76
G4double GetChipsCrossSection(G4double momentum, G4int Z, G4int N, G4int pdg)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsIsoApplicable()

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

Reimplemented from G4VCrossSectionDataSet.

Definition at line 83 of file G4ChipsKaonZeroInelasticXS.cc.

86 {
87  return true;
88 }
Here is the caller graph for this function:

Member Data Documentation

◆ lastCS

G4double G4ChipsKaonZeroInelasticXS::lastCS
private

Definition at line 87 of file G4ChipsKaonZeroInelasticXS.hh.

◆ lastHEN

G4double* G4ChipsKaonZeroInelasticXS::lastHEN
private

Definition at line 82 of file G4ChipsKaonZeroInelasticXS.hh.

◆ lastI

G4int G4ChipsKaonZeroInelasticXS::lastI
private

Definition at line 88 of file G4ChipsKaonZeroInelasticXS.hh.

◆ lastLEN

G4double* G4ChipsKaonZeroInelasticXS::lastLEN
private

Definition at line 81 of file G4ChipsKaonZeroInelasticXS.hh.

◆ lastN

G4int G4ChipsKaonZeroInelasticXS::lastN
private

Definition at line 83 of file G4ChipsKaonZeroInelasticXS.hh.

◆ lastP

G4double G4ChipsKaonZeroInelasticXS::lastP
private

Definition at line 85 of file G4ChipsKaonZeroInelasticXS.hh.

◆ lastTH

G4double G4ChipsKaonZeroInelasticXS::lastTH
private

Definition at line 86 of file G4ChipsKaonZeroInelasticXS.hh.

◆ lastZ

G4int G4ChipsKaonZeroInelasticXS::lastZ
private

Definition at line 84 of file G4ChipsKaonZeroInelasticXS.hh.

◆ theKMinusCS

G4ChipsKaonMinusInelasticXS* G4ChipsKaonZeroInelasticXS::theKMinusCS
private

Definition at line 78 of file G4ChipsKaonZeroInelasticXS.hh.

◆ theKPlusCS

G4ChipsKaonPlusInelasticXS* G4ChipsKaonZeroInelasticXS::theKPlusCS
private

Definition at line 79 of file G4ChipsKaonZeroInelasticXS.hh.


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