85 char* dirName = getenv(
"G4PhysListDocDir");
87 std::ofstream outFile;
90 outFile.open(pathName);
91 outFile <<
"<html>\n";
92 outFile <<
"<head>\n";
94 outFile <<
"<title>Description of G4CHIPSElastic</title>\n";
95 outFile <<
"</head>\n";
96 outFile <<
"<body>\n";
98 outFile <<
"The G4CHIPSElastic model performs hadron-nucleus elastic\n"
99 <<
"scattering using the parameterized elastic cross sections\n"
102 outFile <<
"</body>\n";
103 outFile <<
"</html>\n";
114 if(Z == 1 && N == 2) { N = 1; }
115 else if(Z == 2 && N == 1) { N = 2; }
118 if (projPDG==2212) { cs = pxsManager->
GetCrossSection(
false,plab,Z,N,projPDG); }
119 else if(projPDG==2112) { cs = nxsManager->
GetCrossSection(
false,plab,Z,N,projPDG); }
120 else if(projPDG==-2212){ cs = PBARxsManager->
GetCrossSection(
false,plab,Z,N,projPDG); }
121 else if(projPDG== 211) { cs = PIPxsManager->
GetCrossSection(
false,plab,Z,N,projPDG); }
122 else if(projPDG==-211) { cs = PIMxsManager->
GetCrossSection(
false,plab,Z,N,projPDG); }
123 else if(projPDG== 321) { cs = KPxsManager->
GetCrossSection(
false,plab,Z,N,projPDG); }
124 else if(projPDG==-321) { cs = KMxsManager->
GetCrossSection(
false,plab,Z,N,projPDG); }
129 if (projPDG== 2212) { t = pxsManager->
GetExchangeT(Z,N,projPDG); }
130 else if(projPDG== 2112) { t = nxsManager->
GetExchangeT(Z,N,projPDG); }
131 else if(projPDG==-2212) { t = PBARxsManager->
GetExchangeT(Z,N,projPDG); }
132 else if(projPDG== 211) { t = PIPxsManager->
GetExchangeT(Z,N,projPDG); }
133 else if(projPDG== -211) { t = PIMxsManager->
GetExchangeT(Z,N,projPDG); }
134 else if(projPDG== 321) { t = KPxsManager->
GetExchangeT(Z,N,projPDG); }
135 else if(projPDG== -321) { t = KMxsManager->
GetExchangeT(Z,N,projPDG); }
virtual G4double SampleInvariantT(const G4ParticleDefinition *p, G4double plab, G4int Z, G4int A)
virtual ~G4CHIPSElastic()
virtual void Description() const
virtual G4double SampleInvariantT(const G4ParticleDefinition *p, G4double plab, G4int Z, G4int A)
const G4String & GetModelName() const
G4int GetPDGEncoding() const
static G4VQCrossSection * GetPointer()
static G4VQCrossSection * GetPointer()
static G4VQCrossSection * GetPointer()
static G4VQCrossSection * GetPointer()
static G4VQCrossSection * GetPointer()
static G4VQCrossSection * GetPointer()
static G4VQCrossSection * GetPointer()
virtual G4double GetExchangeT(G4int tZ, G4int tN, G4int pPDG)
virtual G4double GetCrossSection(G4bool, G4double, G4int, G4int, G4int pPDG=0)