Geant4  10.01.p02
G4CollisionNN Class Reference

#include <G4CollisionNN.hh>

+ Inheritance diagram for G4CollisionNN:
+ Collaboration diagram for G4CollisionNN:

Public Member Functions

 G4CollisionNN ()
 
virtual ~G4CollisionNN ()
 
G4bool operator== (const G4CollisionNN &right) const
 
G4bool operator!= (const G4CollisionNN &right) const
 
virtual G4String GetName () const
 
virtual G4double CrossSection (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
 
- Public Member Functions inherited from G4GeneralNNCollision
G4bool IsInCharge (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
 
- Public Member Functions inherited from G4CollisionComposite
 G4CollisionComposite ()
 
virtual ~G4CollisionComposite ()
 
virtual G4KineticTrackVectorFinalState (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
 
void AddComponent (G4VCollision *aC)
 
- Public Member Functions inherited from G4VCollision
 G4VCollision ()
 
void establish_G4MT_TLS_G4VCollision ()
 
 G4VCollision (void *s1, void *s2, void *s3, void *s4, void *s5, void *s6, void *s7)
 
virtual ~G4VCollision ()
 
G4bool operator== (const G4VCollision &right) const
 
G4bool operator!= (const G4VCollision &right) const
 
virtual void Print () const
 
virtual void Print (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
 

Protected Member Functions

virtual const
G4VCrossSectionSource
GetCrossSectionSource () const
 
virtual const
G4VAngularDistribution
GetAngularDistribution () const
 
virtual const G4CollisionVectorGetComponents () const
 
virtual const std::vector
< G4String > & 
GetListOfColliders (G4int whichOne) const
 
- Protected Member Functions inherited from G4VCollision
G4int GetNumberOfPartons (const G4ParticleDefinition *aP) const
 

Private Member Functions

 G4CollisionNN (const G4CollisionNN &)
 
G4CollisionNNoperator= (const G4CollisionNN &)
 

Private Attributes

G4CollisionVectorcomponents
 
G4VCrossSectionSourcecrossSectionSource
 
std::vector< G4Stringcolliders1
 
std::vector< G4Stringcolliders2
 

Detailed Description

Definition at line 40 of file G4CollisionNN.hh.

Constructor & Destructor Documentation

G4CollisionNN::G4CollisionNN ( )

Definition at line 55 of file G4CollisionNN.cc.

References G4ForEach< group >::Apply().

+ Here is the call graph for this function:

G4CollisionNN::~G4CollisionNN ( )
virtual

Definition at line 64 of file G4CollisionNN.cc.

References components, and crossSectionSource.

G4CollisionNN::G4CollisionNN ( const G4CollisionNN )
private

Member Function Documentation

G4double G4CollisionNN::CrossSection ( const G4KineticTrack trk1,
const G4KineticTrack trk2 
) const
virtual

Reimplemented from G4CollisionComposite.

Definition at line 82 of file G4CollisionNN.cc.

References G4VCrossSectionSource::CrossSection(), G4KineticTrack::Get4Momentum(), G4KineticTrack::GetActualMass(), GetCrossSectionSource(), G4KineticTrack::GetDefinition(), G4ParticleDefinition::GetPDGMass(), p1, p2, and G4KineticTrack::Set4Momentum().

+ Here is the call graph for this function:

virtual const G4VAngularDistribution* G4CollisionNN::GetAngularDistribution ( ) const
inlineprotectedvirtual

Reimplemented from G4CollisionComposite.

Definition at line 65 of file G4CollisionNN.hh.

virtual const G4CollisionVector* G4CollisionNN::GetComponents ( ) const
inlineprotectedvirtual

Reimplemented from G4CollisionComposite.

Definition at line 67 of file G4CollisionNN.hh.

References components.

virtual const G4VCrossSectionSource* G4CollisionNN::GetCrossSectionSource ( ) const
inlineprotectedvirtual

Reimplemented from G4CollisionComposite.

Definition at line 64 of file G4CollisionNN.hh.

References crossSectionSource.

Referenced by CrossSection().

+ Here is the caller graph for this function:

const std::vector< G4String > & G4CollisionNN::GetListOfColliders ( G4int  whichOne) const
protectedvirtual

Implements G4VCollision.

Definition at line 75 of file G4CollisionNN.cc.

References colliders1.

virtual G4String G4CollisionNN::GetName ( void  ) const
inlinevirtual

Implements G4VCollision.

Definition at line 52 of file G4CollisionNN.hh.

G4bool G4CollisionNN::operator!= ( const G4CollisionNN right) const
G4CollisionNN& G4CollisionNN::operator= ( const G4CollisionNN )
private
G4bool G4CollisionNN::operator== ( const G4CollisionNN right) const

Member Data Documentation

std::vector<G4String> G4CollisionNN::colliders1
private

Definition at line 77 of file G4CollisionNN.hh.

Referenced by GetListOfColliders().

std::vector<G4String> G4CollisionNN::colliders2
private

Definition at line 78 of file G4CollisionNN.hh.

G4CollisionVector* G4CollisionNN::components
private

Definition at line 73 of file G4CollisionNN.hh.

Referenced by GetComponents(), and ~G4CollisionNN().

G4VCrossSectionSource* G4CollisionNN::crossSectionSource
private

Definition at line 75 of file G4CollisionNN.hh.

Referenced by GetCrossSectionSource(), and ~G4CollisionNN().


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