Geant4  10.01.p02
G4CrossSectionBuffer Class Reference

#include <G4CrossSectionBuffer.hh>

+ Collaboration diagram for G4CrossSectionBuffer:

Public Member Functions

 G4CrossSectionBuffer (const G4ParticleDefinition *aA, const G4ParticleDefinition *aB)
 
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
 
void Print ()
 

Private Attributes

std::vector< std::pair
< G4double, G4double > > 
theData
 
const G4ParticleDefinitiontheA
 
const G4ParticleDefinitiontheB
 

Detailed Description

Definition at line 36 of file G4CrossSectionBuffer.hh.

Constructor & Destructor Documentation

G4CrossSectionBuffer::G4CrossSectionBuffer ( const G4ParticleDefinition aA,
const G4ParticleDefinition aB 
)
inline

Definition at line 40 of file G4CrossSectionBuffer.hh.

Member Function Documentation

G4double G4CrossSectionBuffer::CrossSection ( const G4KineticTrack trk1,
const G4KineticTrack trk2 
) const
inline

Definition at line 64 of file G4CrossSectionBuffer.hh.

References G4KineticTrack::Get4Momentum(), millibarn, and theData.

+ Here is the call graph for this function:

G4bool G4CrossSectionBuffer::InCharge ( const G4ParticleDefinition aA,
const G4ParticleDefinition aB 
) const
inline

Definition at line 43 of file G4CrossSectionBuffer.hh.

References theA, and theB.

void G4CrossSectionBuffer::Print ( void  )
inline

Definition at line 108 of file G4CrossSectionBuffer.hh.

References G4cerr, G4endl, millibarn, and theData.

void G4CrossSectionBuffer::push_back ( G4double  S,
G4double  x 
)
inline

Definition at line 57 of file G4CrossSectionBuffer.hh.

References theData.

Referenced by G4CollisionComposite::BufferCrossSection().

+ Here is the caller graph for this function:

Member Data Documentation

const G4ParticleDefinition* G4CrossSectionBuffer::theA
private

Definition at line 119 of file G4CrossSectionBuffer.hh.

Referenced by InCharge().

const G4ParticleDefinition* G4CrossSectionBuffer::theB
private

Definition at line 120 of file G4CrossSectionBuffer.hh.

Referenced by InCharge().

std::vector<std::pair<G4double, G4double> > G4CrossSectionBuffer::theData
private

Definition at line 117 of file G4CrossSectionBuffer.hh.

Referenced by CrossSection(), Print(), and push_back().


The documentation for this class was generated from the following file: