64 char* dirName = getenv(
"G4PhysListDocDir");
66 std::ofstream outFile;
69 outFile.open(pathName);
70 outFile <<
"<html>\n";
71 outFile <<
"<head>\n";
73 outFile <<
"<title>Description of G4ChipsElasticModel</title>\n";
74 outFile <<
"</head>\n";
75 outFile <<
"<body>\n";
77 outFile <<
"The G4ChipsElasticModel model performs hadron-nucleus elastic\n"
78 <<
"scattering using the parameterized elastic cross sections\n"
81 outFile <<
"</body>\n";
82 outFile <<
"</html>\n";
93 if(Z == 1 && N == 2) { N = 1; }
94 else if(Z == 2 && N == 1) { N = 2; }
G4VCrossSectionDataSet * GetCrossSectionDataSet(const G4String &name, G4bool warning=true)
virtual void Description() const
virtual G4double SampleInvariantT(const G4ParticleDefinition *p, G4double plab, G4int Z, G4int A)
static const char * Default_Name()
virtual G4double GetChipsCrossSection(G4double momentum, G4int Z, G4int N, G4int pdg)
virtual G4double SampleInvariantT(const G4ParticleDefinition *p, G4double plab, G4int Z, G4int A)
G4ChipsKaonPlusElasticXS * KPxsManager
G4double GetExchangeT(G4int tZ, G4int tN, G4int pPDG)
G4ChipsNeutronElasticXS * nxsManager
G4double GetExchangeT(G4int tZ, G4int tN, G4int pPDG)
G4int GetPDGEncoding() const
G4ChipsPionMinusElasticXS * PIMxsManager
virtual G4double GetChipsCrossSection(G4double momentum, G4int Z, G4int N, G4int pdg)
const G4String & GetModelName() const
G4ChipsKaonMinusElasticXS * KMxsManager
G4ChipsPionPlusElasticXS * PIPxsManager
G4ChipsAntiBaryonElasticXS * PBARxsManager
G4double GetExchangeT(G4int tZ, G4int tN, G4int pPDG)
static const char * Default_Name()
static G4CrossSectionDataSetRegistry * Instance()
static const char * Default_Name()
virtual G4double GetChipsCrossSection(G4double momentum, G4int Z, G4int N, G4int pdg)
static const G4double A[nN]
virtual G4double GetChipsCrossSection(G4double momentum, G4int Z, G4int N, G4int pdg)
G4double GetExchangeT(G4int tZ, G4int tN, G4int pPDG)
virtual G4double GetChipsCrossSection(G4double momentum, G4int Z, G4int N, G4int pdg)
virtual ~G4ChipsElasticModel()
virtual G4double GetChipsCrossSection(G4double momentum, G4int Z, G4int N, G4int pdg)
static const char * Default_Name()
static const char * Default_Name()
G4ChipsProtonElasticXS * pxsManager
G4double GetExchangeT(G4int tZ, G4int tN, G4int pPDG)
static const char * Default_Name()
virtual G4double GetChipsCrossSection(G4double momentum, G4int Z, G4int N, G4int pdg)
G4double GetExchangeT(G4int tZ, G4int tN, G4int pPDG)
static const char * Default_Name()
G4double GetExchangeT(G4int tZ, G4int tN, G4int pPDG)