#include <G4ASCCrossSection.hh>
Inheritance diagram for G4ASCCrossSection:
Public Member Functions | |
G4ASCCrossSection (G4int, G4int, G4double, G4double, G4double, G4double) | |
G4bool | InCharge (G4int aCode, G4int bCode) |
G4double | GetXsec (G4double S) |
Definition at line 32 of file G4ASCCrossSection.hh.
Definition at line 29 of file G4ASCCrossSection.cc.
00031 { 00032 theCode1 = aCode1; 00033 theCode2 = aCode2; 00034 theX = aX; 00035 theY = aY; 00036 theEta = aEta; 00037 theEps = aEps; 00038 }
Implements G4VAnnihilationCrossSection.
Definition at line 58 of file G4ASCCrossSection.hh.
00059 { 00060 G4double result = theX*std::pow(S, theEps) + theY*std::pow(S, -theEta); 00061 return result; 00062 }
Implements G4VAnnihilationCrossSection.
Definition at line 50 of file G4ASCCrossSection.hh.
00051 { 00052 G4bool result; 00053 result = (aCode==theCode1&&bCode==theCode2)||(aCode==theCode2&&bCode==theCode1); 00054 return result; 00055 }