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

#include <G4ConcreteNNToDeltaDeltastar.hh>

+ Inheritance diagram for G4ConcreteNNToDeltaDeltastar:

Public Member Functions

 G4ConcreteNNToDeltaDeltastar (const G4ParticleDefinition *aPrimary, const G4ParticleDefinition *bPriamry, const G4ParticleDefinition *aSecondary, const G4ParticleDefinition *bSecondary)
 
virtual ~G4ConcreteNNToDeltaDeltastar ()
 
virtual G4String GetName () const
 
- Public Member Functions inherited from G4ConcreteNNTwoBodyResonance
 G4ConcreteNNTwoBodyResonance (const G4ParticleDefinition *aPrimary, const G4ParticleDefinition *bPriamry, const G4ParticleDefinition *aSecondary, const G4ParticleDefinition *bSecondary, const G4VXResonanceTable &sigmaTable)
 
virtual ~G4ConcreteNNTwoBodyResonance ()
 
virtual G4bool IsInCharge (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
 
virtual const std::vector< G4String > & GetListOfColliders (G4int) const
 
virtual G4String GetName () const
 
G4bool operator== (const G4ConcreteNNTwoBodyResonance &right) const
 
G4bool operator!= (const G4ConcreteNNTwoBodyResonance &right) const
 
- Public Member Functions inherited from G4VScatteringCollision
 G4VScatteringCollision ()
 
virtual ~G4VScatteringCollision ()
 
G4bool operator== (const G4VScatteringCollision &right) const
 
G4bool operator!= (const G4VScatteringCollision &right) const
 
virtual G4KineticTrackVectorFinalState (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
 
virtual const G4VAngularDistributionGetAngularDistribution () 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
 

Additional Inherited Members

- Protected Member Functions inherited from G4ConcreteNNTwoBodyResonance
virtual const G4VCrossSectionSourceGetCrossSectionSource () const
 
virtual const std::vector< const G4ParticleDefinition * > & GetOutgoingParticles () const
 
virtual const std::vector< const G4ParticleDefinition * > & GetOutgoingParticles () const =0
 
- 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 42 of file G4ConcreteNNToDeltaDeltastar.hh.

Constructor & Destructor Documentation

◆ G4ConcreteNNToDeltaDeltastar()

G4ConcreteNNToDeltaDeltastar::G4ConcreteNNToDeltaDeltastar ( const G4ParticleDefinition aPrimary,
const G4ParticleDefinition bPriamry,
const G4ParticleDefinition aSecondary,
const G4ParticleDefinition bSecondary 
)

Definition at line 37 of file G4ConcreteNNToDeltaDeltastar.cc.

41 : G4ConcreteNNTwoBodyResonance(aPrimary, bPrimary, aSecondary, bSecondary,
42 G4DeltaDeltastarBuilder(bSecondary->GetParticleName(), theSigmaTable))
43{
44 G4double chargeBalance = aPrimary->GetPDGCharge()+bPrimary->GetPDGCharge();
45 chargeBalance -= aSecondary->GetPDGCharge();
46 chargeBalance -= bSecondary->GetPDGCharge();
47 if(std::abs(chargeBalance) >.1)
48 {
49 G4cout << "Charge conservation problem in G4ConcreteNNToDeltaDeltastar"<<G4endl;
50 G4cout << "Initial charges in "<<typeid(*this).name()<<G4endl;
51 G4cout << aPrimary->GetPDGCharge()<<" "<<aPrimary->GetParticleName()
52 << bPrimary->GetPDGCharge()<<" "<<bPrimary->GetParticleName()
53 << aSecondary->GetPDGCharge()<<" "<<aSecondary->GetParticleName()
54 << bSecondary->GetPDGCharge()<<" "<<bSecondary->GetParticleName()<<G4endl;
55 }
56}
double G4double
Definition: G4Types.hh:64
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout
G4double GetPDGCharge() const
const G4String & GetParticleName() const

◆ ~G4ConcreteNNToDeltaDeltastar()

G4ConcreteNNToDeltaDeltastar::~G4ConcreteNNToDeltaDeltastar ( )
virtual

Definition at line 58 of file G4ConcreteNNToDeltaDeltastar.cc.

59{
60}

Member Function Documentation

◆ GetName()

virtual G4String G4ConcreteNNToDeltaDeltastar::GetName ( ) const
inlinevirtual

Reimplemented from G4ConcreteNNTwoBodyResonance.

Definition at line 51 of file G4ConcreteNNToDeltaDeltastar.hh.

51{ return "ConcreteNNToNDeltaStar"; }

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