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

#include <G4ConcreteNNToDeltaDeltastar.hh>

Inheritance diagram for G4ConcreteNNToDeltaDeltastar:
Collaboration 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)
 
void establish_G4MT_TLS_G4ConcreteNNTwoBodyResonance (const G4ParticleDefinition *aPrimary, const G4ParticleDefinition *bPriamry, const G4ParticleDefinition *aSecondary, const G4ParticleDefinition *bSecondary, const G4VXResonanceTable &sigmaTable)
 
 G4ConcreteNNTwoBodyResonance (void *s1, void *s2, void *s3, void *s4, void *s5, void *s6, void *s7)
 
virtual ~G4ConcreteNNTwoBodyResonance ()
 
virtual G4bool IsInCharge (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
 
virtual const std::vector
< G4String > & 
GetListOfColliders (G4int) const
 
G4bool operator== (const G4ConcreteNNTwoBodyResonance &right) const
 
G4bool operator!= (const G4ConcreteNNTwoBodyResonance &right) const
 
- Public Member Functions inherited from G4VScatteringCollision
 G4VScatteringCollision ()
 
void establish_G4MT_TLS_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
G4VAngularDistribution
GetAngularDistribution () 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 void Print () const
 
virtual void Print (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
 

Additional Inherited Members

- Protected Member Functions inherited from G4ConcreteNNTwoBodyResonance
virtual const
G4VCrossSectionSource
GetCrossSectionSource () const
 
virtual const std::vector
< const G4ParticleDefinition * > & 
GetOutgoingParticles () const
 
- Protected Member Functions inherited from G4VCollision
G4int GetNumberOfPartons (const G4ParticleDefinition *aP) const
 
virtual const G4CollisionVectorGetComponents () const
 

Detailed Description

Definition at line 42 of file G4ConcreteNNToDeltaDeltastar.hh.

Constructor & Destructor Documentation

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

Definition at line 37 of file G4ConcreteNNToDeltaDeltastar.cc.

40  :
41  G4ConcreteNNTwoBodyResonance(NULL, NULL, NULL, NULL, NULL, NULL, NULL)
42 {
43  if (!theSigmaTable_G4MT_TLS_) theSigmaTable_G4MT_TLS_ = new G4XDeltaDeltastarTable;
44  G4XDeltaDeltastarTable &theSigmaTable = *theSigmaTable_G4MT_TLS_;
45  establish_G4MT_TLS_G4ConcreteNNTwoBodyResonance(aPrimary,bPrimary,aSecondary,bSecondary,
46  G4DeltaDeltastarBuilder(bSecondary->GetParticleName(),theSigmaTable));
47  G4double chargeBalance = aPrimary->GetPDGCharge()+bPrimary->GetPDGCharge();
48  chargeBalance -= aSecondary->GetPDGCharge();
49  chargeBalance -= bSecondary->GetPDGCharge();
50  if(std::abs(chargeBalance) >.1)
51  {
52  G4cout << "Charge conservation problem in G4ConcreteNNToDeltaDeltastar"<<G4endl;
53  G4cout << "Initial charges in "<<typeid(*this).name()<<G4endl;
54  G4cout << aPrimary->GetPDGCharge()<<" "<<aPrimary->GetParticleName()
55  << bPrimary->GetPDGCharge()<<" "<<bPrimary->GetParticleName()
56  << aSecondary->GetPDGCharge()<<" "<<aSecondary->GetParticleName()
57  << bSecondary->GetPDGCharge()<<" "<<bSecondary->GetParticleName()<<G4endl;
58  }
59 }
void establish_G4MT_TLS_G4ConcreteNNTwoBodyResonance(const G4ParticleDefinition *aPrimary, const G4ParticleDefinition *bPriamry, const G4ParticleDefinition *aSecondary, const G4ParticleDefinition *bSecondary, const G4VXResonanceTable &sigmaTable)
G4ConcreteNNTwoBodyResonance(const G4ParticleDefinition *aPrimary, const G4ParticleDefinition *bPriamry, const G4ParticleDefinition *aSecondary, const G4ParticleDefinition *bSecondary, const G4VXResonanceTable &sigmaTable)
const G4String & GetParticleName() const
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
double G4double
Definition: G4Types.hh:76
G4double GetPDGCharge() const

Here is the call graph for this function:

G4ConcreteNNToDeltaDeltastar::~G4ConcreteNNToDeltaDeltastar ( )
virtual

Definition at line 61 of file G4ConcreteNNToDeltaDeltastar.cc.

62 {
63  if (theSigmaTable_G4MT_TLS_) delete theSigmaTable_G4MT_TLS_;
64  theSigmaTable_G4MT_TLS_=0;
65 }

Member Function Documentation

virtual G4String G4ConcreteNNToDeltaDeltastar::GetName ( void  ) 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: