26 #ifndef G4CrossSectionBuffer_h 27 #define G4CrossSectionBuffer_h 48 if(aB ==
theB) result =
true;
52 if(aB ==
theA) result =
true;
59 std::pair<G4double, G4double> aNew;
72 for(
size_t i=0; i<
theData.size(); i++)
103 if(result<0) result = 0;
110 for(
size_t i=0;i<
theData.size(); i++)
117 std::vector<std::pair<G4double, G4double> >
theData;
const G4ParticleDefinition * theB
const G4ParticleDefinition * theA
static const double millibarn
std::vector< std::pair< G4double, G4double > > theData
G4bool InCharge(const G4ParticleDefinition *aA, const G4ParticleDefinition *aB) const
void push_back(G4double S, G4double x)
G4double CrossSection(const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
G4GLOB_DLL std::ostream G4cerr
G4CrossSectionBuffer(const G4ParticleDefinition *aA, const G4ParticleDefinition *aB)
const G4LorentzVector & Get4Momentum() const