67 char* dirName = getenv(
"G4PhysListDocDir");
69 std::ofstream outFile;
72 outFile.open(pathName);
73 outFile <<
"<html>\n";
74 outFile <<
"<head>\n";
76 outFile <<
"<title>Description of G4ChipsElasticModel</title>\n";
77 outFile <<
"</head>\n";
78 outFile <<
"<body>\n";
80 outFile <<
"The G4ChipsElasticModel model performs hadron-nucleus elastic\n"
81 <<
"scattering using the parameterized elastic cross sections\n"
84 outFile <<
"</body>\n";
85 outFile <<
"</html>\n";
96 if(Z == 1 && N == 2) { N = 1; }
97 else if(Z == 2 && N == 1) { N = 2; }
111 if (projPDG== 2212) { t = pxsManager->
GetExchangeT(Z,N,projPDG); }
112 else if(projPDG== 2112) { t = nxsManager->
GetExchangeT(Z,N,projPDG); }
113 else if(projPDG==-2212) { t = PBARxsManager->
GetExchangeT(Z,N,projPDG); }
114 else if(projPDG== 211) { t = PIPxsManager->
GetExchangeT(Z,N,projPDG); }
115 else if(projPDG== -211) { t = PIMxsManager->
GetExchangeT(Z,N,projPDG); }
116 else if(projPDG== 321) { t = KPxsManager->
GetExchangeT(Z,N,projPDG); }
117 else if(projPDG== -321) { t = KMxsManager->
GetExchangeT(Z,N,projPDG); }
virtual G4double GetChipsCrossSection(G4double momentum, G4int Z, G4int N, G4int pdg)
G4double GetExchangeT(G4int tZ, G4int tN, G4int pPDG)
static const char * Default_Name()
virtual ~G4ChipsElasticModel()
virtual G4double SampleInvariantT(const G4ParticleDefinition *p, G4double plab, G4int Z, G4int A)
virtual void Description() const
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)
virtual G4double GetChipsCrossSection(G4double momentum, G4int Z, G4int N, G4int pdg)
static const char * Default_Name()
G4double GetExchangeT(G4int tZ, G4int tN, G4int pPDG)
static const char * Default_Name()
virtual G4double GetChipsCrossSection(G4double momentum, G4int Z, G4int N, G4int pdg)
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)
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)
static const char * Default_Name()
G4VCrossSectionDataSet * GetCrossSectionDataSet(const G4String &name, G4bool warning=true)
static G4CrossSectionDataSetRegistry * Instance()
virtual G4double SampleInvariantT(const G4ParticleDefinition *p, G4double plab, G4int Z, G4int A)
const G4String & GetModelName() const
G4int GetPDGEncoding() const