Geant4 11.2.2
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 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 G4VCrossSectionSourceGetCrossSectionSource () const
 
virtual const G4VAngularDistributionGetAngularDistribution () 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 53 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
void Register(T *inst)

◆ ~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 75 of file G4CollisionPN.hh.

76 { return 0; }

◆ GetCrossSectionSource()

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

Reimplemented from G4CollisionComposite.

Definition at line 73 of file G4CollisionPN.hh.

74 { 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 65 of file G4CollisionPN.hh.

65{ 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: