#include <G4CollisionNN.hh>
|
| G4CollisionNN () |
|
virtual | ~G4CollisionNN () |
|
G4bool | operator== (const G4CollisionNN &right) const |
|
G4bool | operator!= (const G4CollisionNN &right) const |
|
virtual G4String | GetName () const |
|
virtual G4double | CrossSection (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const |
|
G4bool | IsInCharge (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const |
|
| G4CollisionComposite () |
|
virtual | ~G4CollisionComposite () |
|
virtual G4double | CrossSection (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const |
|
virtual G4KineticTrackVector * | FinalState (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const |
|
virtual G4bool | IsInCharge (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const |
|
void | AddComponent (G4VCollision *aC) |
|
virtual const G4VCrossSectionSource * | GetCrossSectionSource () const |
|
virtual const G4VAngularDistribution * | GetAngularDistribution () const |
|
virtual const G4CollisionVector * | GetComponents () const |
|
| 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 G4KineticTrackVector * | FinalState (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 |
|
Definition at line 39 of file G4CollisionNN.hh.
◆ G4CollisionNN()
G4CollisionNN::G4CollisionNN |
( |
| ) |
|
◆ ~G4CollisionNN()
G4CollisionNN::~G4CollisionNN |
( |
| ) |
|
|
virtual |
Definition at line 63 of file G4CollisionNN.cc.
64{
65 if (components) {
66 delete components;
67 components=0;
68 }
69 delete crossSectionSource;
70 crossSectionSource = 0;
71}
◆ CrossSection()
Reimplemented from G4CollisionComposite.
Definition at line 81 of file G4CollisionNN.cc.
83{
85
86
87
88
89
93 G4double t1 = p1.
e()-aTrk1.GetActualMass();
94 G4double t2 = p2.
e()-aTrk2.GetActualMass();
95 p1.
setE(t1+aTrk1.GetDefinition()->GetPDGMass());
96 p2.
setE(t2+aTrk2.GetDefinition()->GetPDGMass());
101 if( (p1+p2).mag()<aTrk1.GetDefinition()->GetPDGMass()+aTrk2.GetDefinition()->GetPDGMass())
102 {
103 return 0.;
104 }
105
106 if (xSource != 0)
107 {
108
110 }
111 return sigma;
112}
virtual const G4VCrossSectionSource * GetCrossSectionSource() const
void Set4Momentum(const G4LorentzVector &a4Momentum)
virtual G4double CrossSection(const G4KineticTrack &trk1, const G4KineticTrack &trk2) const =0
◆ GetAngularDistribution()
◆ GetComponents()
◆ GetCrossSectionSource()
◆ GetListOfColliders()
const std::vector< G4String > & G4CollisionNN::GetListOfColliders |
( |
G4int |
whichOne | ) |
const |
|
protectedvirtual |
◆ GetName()
virtual G4String G4CollisionNN::GetName |
( |
| ) |
const |
|
inlinevirtual |
◆ operator!=()
◆ operator==()
The documentation for this class was generated from the following files: