64 char* dirName = getenv(
"G4PhysListDocDir");
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; }
108 if (projPDG== 2212) { t = pxsManager->
GetExchangeT(Z,N,projPDG); }
109 else if(projPDG== 2112) { t = nxsManager->
GetExchangeT(Z,N,projPDG); }
110 else if(projPDG==-2212) { t = PBARxsManager->
GetExchangeT(Z,N,projPDG); }
111 else if(projPDG== 211) { t = PIPxsManager->
GetExchangeT(Z,N,projPDG); }
112 else if(projPDG== -211) { t = PIMxsManager->
GetExchangeT(Z,N,projPDG); }
113 else if(projPDG== 321) { t = KPxsManager->
GetExchangeT(Z,N,projPDG); }
114 else if(projPDG== -321) { t = KMxsManager->
GetExchangeT(Z,N,projPDG); }
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)
G4double GetExchangeT(G4int tZ, G4int tN, G4int pPDG)
G4double GetExchangeT(G4int tZ, G4int tN, G4int pPDG)
G4int GetPDGEncoding() const
virtual G4double GetChipsCrossSection(G4double momentum, G4int Z, G4int N, G4int pdg)
const G4String & GetModelName() const
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)
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()
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)