Geant4-11
|
#include <G4CollisionComposite.hh>
Data Structures | |
struct | Register |
struct | Resolve |
Public Member Functions | |
void | AddComponent (G4VCollision *aC) |
virtual G4double | CrossSection (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const |
void | establish_G4MT_TLS_G4VCollision () |
virtual G4KineticTrackVector * | FinalState (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const |
G4CollisionComposite () | |
virtual const G4VAngularDistribution * | GetAngularDistribution () const |
virtual const G4CollisionVector * | GetComponents () const |
virtual const G4VCrossSectionSource * | GetCrossSectionSource () const |
virtual G4String | GetName () const =0 |
virtual G4bool | IsInCharge (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const |
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 |
virtual | ~G4CollisionComposite () |
Protected Member Functions | |
virtual const std::vector< G4String > & | GetListOfColliders (G4int whichOne) const =0 |
G4int | GetNumberOfPartons (const G4ParticleDefinition *aP) const |
Private Member Functions | |
void | BufferCrossSection (const G4ParticleDefinition *aP, const G4ParticleDefinition *bP) |
G4double | BufferedCrossSection (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const |
G4CollisionComposite (const G4CollisionComposite &right) | |
const G4CollisionComposite & | operator= (const G4CollisionComposite &right) |
Private Attributes | |
G4Mutex | bufferMutex |
G4CollisionVector | components |
std::vector< G4CrossSectionBuffer > | theBuffer |
Static Private Attributes | |
static const G4int | nPoints = 32 |
static const G4double | theT [] |
Definition at line 57 of file G4CollisionComposite.hh.
G4CollisionComposite::G4CollisionComposite | ( | ) |
Definition at line 44 of file G4CollisionComposite.cc.
References bufferMutex, and G4MUTEXINIT.
|
virtual |
Definition at line 50 of file G4CollisionComposite.cc.
References bufferMutex, components, and G4MUTEXDESTROY.
|
private |
|
inline |
Definition at line 72 of file G4CollisionComposite.hh.
References components.
Referenced by G4CollisionMesonBaryon::G4CollisionMesonBaryon(), G4CollisionMesonBaryonToResonance::G4CollisionMesonBaryonToResonance(), G4CollisionComposite::Register::operator()(), and G4CollisionComposite::Resolve::operator()().
|
private |
Definition at line 141 of file G4CollisionComposite.cc.
References components, G4ParticleDefinition::GetPDGMass(), GeV, IsInCharge(), nPoints, G4CrossSectionBuffer::push_back(), theBuffer, and theT.
Referenced by CrossSection().
|
private |
Definition at line 201 of file G4CollisionComposite.cc.
References G4KineticTrack::GetDefinition(), and theBuffer.
Referenced by CrossSection().
|
virtual |
Reimplemented from G4VCollision.
Reimplemented in G4CollisionMesonBaryonToResonance, and G4CollisionNN.
Definition at line 57 of file G4CollisionComposite.cc.
References BufferCrossSection(), BufferedCrossSection(), bufferMutex, G4VCrossSectionSource::CrossSection(), GetCrossSectionSource(), and G4KineticTrack::GetDefinition().
Referenced by G4CollisionMesonBaryonToResonance::CrossSection().
|
inherited |
Definition at line 143 of file G4VCollision.cc.
Referenced by G4VScatteringCollision::establish_G4MT_TLS_G4VScatteringCollision().
|
virtual |
Implements G4VCollision.
Definition at line 79 of file G4CollisionComposite.cc.
References components, G4UniformRand, and IsInCharge().
|
inlinevirtual |
Implements G4VCollision.
Reimplemented in G4CollisionNN, and G4CollisionPN.
Definition at line 76 of file G4CollisionComposite.hh.
|
inlinevirtual |
Reimplemented from G4VCollision.
Reimplemented in G4CollisionNN, G4CollisionNNToDeltaDelta1600, G4CollisionNNToDeltaDelta1620, G4CollisionNNToDeltaDelta1700, G4CollisionNNToDeltaDelta1900, G4CollisionNNToDeltaDelta1905, G4CollisionNNToDeltaDelta1910, G4CollisionNNToDeltaDelta1920, G4CollisionNNToDeltaDelta1930, G4CollisionNNToDeltaDelta1950, G4CollisionNNToNDelta, G4CollisionNNToNDelta1600, G4CollisionNNToNDelta1620, G4CollisionNNToNDelta1700, G4CollisionNNToNDelta1900, G4CollisionNNToNDelta1905, G4CollisionNNToNDelta1910, G4CollisionNNToNDelta1920, G4CollisionNNToNDelta1930, and G4CollisionNNToNDelta1950.
Definition at line 78 of file G4CollisionComposite.hh.
References components.
Referenced by IsInCharge().
|
inlinevirtual |
Implements G4VCollision.
Reimplemented in G4CollisionNN, and G4CollisionPN.
Definition at line 75 of file G4CollisionComposite.hh.
Referenced by CrossSection().
|
protectedpure virtualinherited |
Implemented in G4CollisionNN, G4CollisionNNElastic, G4CollisionnpElastic, G4CollisionPN, G4CollisionMesonBaryon, G4CollisionMesonBaryonElastic, G4CollisionMesonBaryonToResonance, G4CollisionNNToDeltaDelta, G4CollisionNNToDeltaDelta1600, G4CollisionNNToDeltaDelta1620, G4CollisionNNToDeltaDelta1700, G4CollisionNNToDeltaDelta1900, G4CollisionNNToDeltaDelta1905, G4CollisionNNToDeltaDelta1910, G4CollisionNNToDeltaDelta1920, G4CollisionNNToDeltaDelta1930, G4CollisionNNToDeltaDelta1950, G4CollisionNNToDeltaDeltastar, G4CollisionNNToDeltaNstar, G4CollisionNNToNDelta, G4CollisionNNToNDelta1600, G4CollisionNNToNDelta1620, G4CollisionNNToNDelta1700, G4CollisionNNToNDelta1900, G4CollisionNNToNDelta1905, G4CollisionNNToNDelta1910, G4CollisionNNToNDelta1920, G4CollisionNNToNDelta1930, G4CollisionNNToNDelta1950, G4CollisionNNToNDeltastar, G4CollisionNNToNNstar, G4CollisionNStarNToNN, G4ConcreteMesonBaryonToResonance, and G4ConcreteNNTwoBodyResonance.
|
pure virtualinherited |
Implemented in G4CollisionMesonBaryon, G4CollisionMesonBaryonElastic, G4CollisionMesonBaryonToResonance, G4CollisionNN, G4CollisionNNElastic, G4CollisionNNToDeltaDelta, G4CollisionNNToDeltaDelta1600, G4CollisionNNToDeltaDelta1620, G4CollisionNNToDeltaDelta1700, G4CollisionNNToDeltaDelta1900, G4CollisionNNToDeltaDelta1905, G4CollisionNNToDeltaDelta1910, G4CollisionNNToDeltaDelta1920, G4CollisionNNToDeltaDelta1930, G4CollisionNNToDeltaDelta1950, G4CollisionNNToDeltaDeltastar, G4CollisionNNToDeltaNstar, G4CollisionNNToNDelta, G4CollisionNNToNDelta1600, G4CollisionNNToNDelta1620, G4CollisionNNToNDelta1700, G4CollisionNNToNDelta1900, G4CollisionNNToNDelta1905, G4CollisionNNToNDelta1910, G4CollisionNNToNDelta1920, G4CollisionNNToNDelta1930, G4CollisionNNToNDelta1950, G4CollisionNNToNDeltastar, G4CollisionNNToNNstar, G4CollisionnpElastic, G4CollisionNStarNToNN, G4CollisionPN, G4ConcreteMesonBaryonToResonance, G4ConcreteNNToDeltaDelta, G4ConcreteNNToDeltaDeltastar, G4ConcreteNNToDeltaNstar, G4ConcreteNNToNDelta, G4ConcreteNNToNDeltaStar, G4ConcreteNNToNNStar, G4ConcreteNNTwoBodyResonance, and G4ConcreteNStarNToNN.
Referenced by G4VCollision::Print().
|
inlineprotectedinherited |
Definition at line 68 of file G4VCollision.hh.
References G4ParticleDefinition::GetAntiQuarkContent(), and G4ParticleDefinition::GetQuarkContent().
Referenced by G4CollisionMesonBaryonElastic::IsInCharge().
|
virtual |
Implements G4VCollision.
Reimplemented in G4GeneralNNCollision.
Definition at line 121 of file G4CollisionComposite.cc.
References GetComponents(), and IsInCharge().
Referenced by BufferCrossSection(), FinalState(), and IsInCharge().
|
inherited |
Definition at line 48 of file G4VCollision.cc.
|
private |
|
inherited |
Definition at line 42 of file G4VCollision.cc.
|
virtualinherited |
Definition at line 70 of file G4VCollision.cc.
References G4cout, G4endl, G4VCollision::GetComponents(), G4VCollision::GetCrossSectionSource(), G4VCollision::GetName(), G4InuclParticleNames::name(), G4VCollision::Print(), and G4VCrossSectionSource::Print().
Referenced by G4VCollision::Print().
|
virtualinherited |
Definition at line 101 of file G4VCollision.cc.
References G4VCollision::CrossSection(), G4cout, G4endl, G4VCollision::GetComponents(), G4VCollision::GetCrossSectionSource(), G4VCollision::GetName(), G4VCollision::IsInCharge(), G4InuclParticleNames::name(), G4VCollision::Print(), and G4VCrossSectionSource::Print().
|
mutableprivate |
Definition at line 126 of file G4CollisionComposite.hh.
Referenced by CrossSection(), G4CollisionComposite(), and ~G4CollisionComposite().
|
private |
Definition at line 120 of file G4CollisionComposite.hh.
Referenced by AddComponent(), BufferCrossSection(), FinalState(), GetComponents(), and ~G4CollisionComposite().
|
staticprivate |
Definition at line 123 of file G4CollisionComposite.hh.
Referenced by BufferCrossSection().
|
private |
Definition at line 121 of file G4CollisionComposite.hh.
Referenced by BufferCrossSection(), and BufferedCrossSection().
|
staticprivate |
Definition at line 124 of file G4CollisionComposite.hh.
Referenced by BufferCrossSection().