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

#include <G4CollisionNNToNDelta.hh>

+ Inheritance diagram for G4CollisionNNToNDelta:

Public Member Functions

 G4CollisionNNToNDelta ()
 
virtual ~G4CollisionNNToNDelta ()
 
virtual G4String GetName () const
 
virtual const std::vector< G4String > & GetListOfColliders (G4int) 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 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 ()
 
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 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 G4CollisionVectorGetComponents () const
 
- Protected Member Functions inherited from G4VCollision
G4int GetNumberOfPartons (const 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 36 of file G4CollisionNNToNDelta.hh.

Constructor & Destructor Documentation

◆ G4CollisionNNToNDelta()

G4CollisionNNToNDelta::G4CollisionNNToNDelta ( )

Definition at line 33 of file G4CollisionNNToNDelta.cc.

34{
35 components=0;
36 G4ShortLivedConstructor ShortLived;
37 ShortLived.ConstructParticle();
38 MakeNNToNDelta<DeltamPC, Delta0PC, DeltapPC, DeltappPC, G4ConcreteNNToNDelta>::Make(this);
39}

◆ ~G4CollisionNNToNDelta()

G4CollisionNNToNDelta::~G4CollisionNNToNDelta ( )
virtual

Definition at line 41 of file G4CollisionNNToNDelta.cc.

42{
43 if (components) delete components;
44 components=0;
45}

Member Function Documentation

◆ GetComponents()

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

Reimplemented from G4CollisionComposite.

Definition at line 57 of file G4CollisionNNToNDelta.hh.

57{ return components; }

◆ GetListOfColliders()

virtual const std::vector< G4String > & G4CollisionNNToNDelta::GetListOfColliders ( G4int  ) const
inlinevirtual

Implements G4VCollision.

Definition at line 47 of file G4CollisionNNToNDelta.hh.

48 {
49 throw G4HadronicException(__FILE__, __LINE__, "Tried to call G4CollisionNNToNDelta::GetListOfColliders. Please find out why!");
50 std::vector<G4String> * aList = new std::vector<G4String>;
51 return *aList;
52 }

◆ GetName()

virtual G4String G4CollisionNNToNDelta::GetName ( ) const
inlinevirtual

Implements G4VCollision.

Definition at line 46 of file G4CollisionNNToNDelta.hh.

46{ return "NN -> N Delta Collision"; }

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