Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4ConcreteNNTwoBodyResonance Class Reference

#include <G4ConcreteNNTwoBodyResonance.hh>

Inheritance diagram for G4ConcreteNNTwoBodyResonance:
Collaboration diagram for G4ConcreteNNTwoBodyResonance:

Public Member Functions

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

Protected Member Functions

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 39 of file G4ConcreteNNTwoBodyResonance.hh.

Constructor & Destructor Documentation

G4ConcreteNNTwoBodyResonance::G4ConcreteNNTwoBodyResonance ( const G4ParticleDefinition aPrimary,
const G4ParticleDefinition bPriamry,
const G4ParticleDefinition aSecondary,
const G4ParticleDefinition bSecondary,
const G4VXResonanceTable sigmaTable 
)

Definition at line 43 of file G4ConcreteNNTwoBodyResonance.cc.

48  : thePrimary1(aPrimary), thePrimary2(bPrimary)
49 {
50  theOutGoing.push_back(aSecondary);
51  theOutGoing.push_back(bSecondary);
52 
53  crossSectionSource = new G4XResonance(aPrimary, bPrimary,
54  aSecondary->GetPDGiIsospin(),
55  aSecondary->GetPDGiSpin(),
56  aSecondary->GetPDGMass(),
57  bSecondary->GetPDGiIsospin(),
58  bSecondary->GetPDGiSpin(),
59  bSecondary->GetPDGMass(),
60  aSecondary->GetParticleName(),
61  bSecondary->GetParticleName(),
62  sigmaTable);
63 }
const G4String & GetParticleName() const
G4double GetPDGMass() const

Here is the call graph for this function:

G4ConcreteNNTwoBodyResonance::G4ConcreteNNTwoBodyResonance ( void s1,
void s2,
void s3,
void s4,
void s5,
void s6,
void s7 
)

Definition at line 79 of file G4ConcreteNNTwoBodyResonance.cc.

80  : crossSectionSource(0), thePrimary1(0), thePrimary2(0)
81 {}
G4ConcreteNNTwoBodyResonance::~G4ConcreteNNTwoBodyResonance ( )
virtual

Definition at line 65 of file G4ConcreteNNTwoBodyResonance.cc.

66 {
67  if (crossSectionSource) delete crossSectionSource;
68  crossSectionSource=0;
69 }

Member Function Documentation

void G4ConcreteNNTwoBodyResonance::establish_G4MT_TLS_G4ConcreteNNTwoBodyResonance ( const G4ParticleDefinition aPrimary,
const G4ParticleDefinition bPriamry,
const G4ParticleDefinition aSecondary,
const G4ParticleDefinition bSecondary,
const G4VXResonanceTable sigmaTable 
)

Definition at line 83 of file G4ConcreteNNTwoBodyResonance.cc.

88 {
90  thePrimary1=aPrimary;
91  thePrimary2=bPrimary;
92  theOutGoing.push_back(aSecondary);
93  theOutGoing.push_back(bSecondary);
94 
95  crossSectionSource = new G4XResonance(aPrimary, bPrimary,
96  aSecondary->GetPDGiIsospin(),
97  aSecondary->GetPDGiSpin(),
98  aSecondary->GetPDGMass(),
99  bSecondary->GetPDGiIsospin(),
100  bSecondary->GetPDGiSpin(),
101  bSecondary->GetPDGMass(),
102  aSecondary->GetParticleName(),
103  bSecondary->GetParticleName(),
104  sigmaTable);
105 }
const G4String & GetParticleName() const
G4double GetPDGMass() const

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements G4VCollision.

Definition at line 80 of file G4ConcreteNNTwoBodyResonance.hh.

80 { return crossSectionSource; }
virtual const std::vector<G4String>& G4ConcreteNNTwoBodyResonance::GetListOfColliders ( G4int  ) const
inlinevirtual

Implements G4VCollision.

Definition at line 62 of file G4ConcreteNNTwoBodyResonance.hh.

63  {
64  throw G4HadronicException(__FILE__, __LINE__, "Tried to call G4ConcreteNNTwoBodyResonance::GetListOfColliders. Please find out why!");
65  std::vector<G4String> * aList = new std::vector<G4String>;
66  return *aList;
67  }
virtual G4String G4ConcreteNNTwoBodyResonance::GetName ( ) const
inlinevirtual

Implements G4VCollision.

Reimplemented in G4ConcreteNNToDeltaDelta, G4ConcreteNNToDeltaDeltastar, G4ConcreteNNToDeltaNstar, G4ConcreteNNToNDelta, G4ConcreteNNToNDeltaStar, G4ConcreteNNToNNStar, and G4ConcreteNStarNToNN.

Definition at line 69 of file G4ConcreteNNTwoBodyResonance.hh.

70  {
71  return "G4ConcreteNNTwoBodyResonance";
72  }
virtual const std::vector<const G4ParticleDefinition*>& G4ConcreteNNTwoBodyResonance::GetOutgoingParticles ( ) const
inlineprotectedvirtual

Implements G4VScatteringCollision.

Definition at line 82 of file G4ConcreteNNTwoBodyResonance.hh.

83  {
84  return theOutGoing;
85  }
G4bool G4ConcreteNNTwoBodyResonance::IsInCharge ( const G4KineticTrack trk1,
const G4KineticTrack trk2 
) const
virtual

Implements G4VCollision.

Definition at line 71 of file G4ConcreteNNTwoBodyResonance.cc.

73 {
74  if (trk1.GetDefinition()==thePrimary1 && trk2.GetDefinition()==thePrimary2) return true;
75  if (trk1.GetDefinition()==thePrimary2 && trk2.GetDefinition()==thePrimary1) return true;
76  return false;
77 }
const G4ParticleDefinition * GetDefinition() const

Here is the call graph for this function:

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

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