Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4CollisionPN Class Reference

#include <G4CollisionPN.hh>

Inheritance diagram for G4CollisionPN:
Collaboration diagram for G4CollisionPN:

Public Member Functions

 G4CollisionPN ()
 
virtual ~G4CollisionPN ()
 
G4bool operator== (const G4CollisionPN &right) const
 
G4bool operator!= (const G4CollisionPN &right) const
 
virtual G4String GetName () const
 
- Public Member Functions inherited from G4CollisionComposite
 G4CollisionComposite ()
 
virtual ~G4CollisionComposite ()
 
virtual G4double CrossSection (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
 
virtual G4KineticTrackVectorFinalState (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
 
virtual G4bool IsInCharge (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
 
void AddComponent (G4VCollision *aC)
 
virtual const G4CollisionVectorGetComponents () const
 
- 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 std::vector
< G4String > & 
GetListOfColliders (G4int whichOne) const
 
- Protected Member Functions inherited from G4VCollision
G4int GetNumberOfPartons (const G4ParticleDefinition *aP) const
 

Detailed Description

Definition at line 54 of file G4CollisionPN.hh.

Constructor & Destructor Documentation

G4CollisionPN::G4CollisionPN ( )

Definition at line 39 of file G4CollisionPN.cc.

40 {
41 
42  crossSectionSource = new G4XnpTotal();
43  Register aR;
45 }
static void Apply()
Definition: G4Pair.hh:179
void Register(T *inst)
Definition: G4AutoDelete.hh:65

Here is the call graph for this function:

G4CollisionPN::~G4CollisionPN ( )
virtual

Definition at line 48 of file G4CollisionPN.cc.

49 {
50  delete crossSectionSource;
51  crossSectionSource = 0;
52 }

Member Function Documentation

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

Reimplemented from G4CollisionComposite.

Definition at line 76 of file G4CollisionPN.hh.

77  { return 0; }
virtual const G4VCrossSectionSource* G4CollisionPN::GetCrossSectionSource ( ) const
inlineprotectedvirtual

Reimplemented from G4CollisionComposite.

Definition at line 74 of file G4CollisionPN.hh.

75  { return crossSectionSource; }
const std::vector< G4String > & G4CollisionPN::GetListOfColliders ( G4int  whichOne) const
protectedvirtual

Implements G4VCollision.

Definition at line 55 of file G4CollisionPN.cc.

56 {
57  throw G4HadronicException(__FILE__, __LINE__, "G4CollisionPN:: GetListOfColliders called");
58  return colliders1;
59 }
virtual G4String G4CollisionPN::GetName ( void  ) const
inlinevirtual

Implements G4VCollision.

Definition at line 66 of file G4CollisionPN.hh.

66 { return "PN CollisionComposite"; }
G4bool G4CollisionPN::operator!= ( const G4CollisionPN right) const
G4bool G4CollisionPN::operator== ( const G4CollisionPN right) const

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