Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4CollisionPN Class Reference

#include <G4CollisionPN.hh>

+ Inheritance 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 G4VCrossSectionSourceGetCrossSectionSource () const
 
virtual const G4VAngularDistributionGetAngularDistribution () const
 
virtual const G4CollisionVectorGetComponents () const
 
- Public Member Functions inherited from G4VCollision
 G4VCollision ()
 
virtual ~G4VCollision ()
 
G4bool operator== (const G4VCollision &right) const
 
G4bool operator!= (const G4VCollision &right) const
 
virtual G4double CrossSection (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
 
virtual G4KineticTrackVectorFinalState (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const =0
 
virtual G4bool IsInCharge (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const =0
 
virtual G4String GetName () const =0
 
virtual void Print () const
 
virtual void Print (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
 

Protected Member Functions

virtual const G4VCrossSectionSourceGetCrossSectionSource () const
 
virtual const G4VAngularDistributionGetAngularDistribution () const
 
virtual const std::vector< G4String > & GetListOfColliders (G4int whichOne) const
 
- Protected Member Functions inherited from G4VCollision
G4int GetNumberOfPartons (G4ParticleDefinition *aP) const
 
virtual const G4CollisionVectorGetComponents () const
 
virtual const G4VCrossSectionSourceGetCrossSectionSource () const =0
 
virtual const G4VAngularDistributionGetAngularDistribution () const =0
 
virtual const std::vector< G4String > & GetListOfColliders (G4int whichOne) const =0
 

Detailed Description

Definition at line 54 of file G4CollisionPN.hh.

Constructor & Destructor Documentation

◆ G4CollisionPN()

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

◆ ~G4CollisionPN()

G4CollisionPN::~G4CollisionPN ( )
virtual

Definition at line 48 of file G4CollisionPN.cc.

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

Member Function Documentation

◆ GetAngularDistribution()

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

Reimplemented from G4CollisionComposite.

Definition at line 76 of file G4CollisionPN.hh.

77 { return 0; }

◆ GetCrossSectionSource()

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

Reimplemented from G4CollisionComposite.

Definition at line 74 of file G4CollisionPN.hh.

75 { return crossSectionSource; }

◆ GetListOfColliders()

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}

◆ GetName()

virtual G4String G4CollisionPN::GetName ( ) const
inlinevirtual

Implements G4VCollision.

Definition at line 66 of file G4CollisionPN.hh.

66{ return "PN CollisionComposite"; }

◆ operator!=()

G4bool G4CollisionPN::operator!= ( const G4CollisionPN right) const

◆ operator==()

G4bool G4CollisionPN::operator== ( const G4CollisionPN right) const

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