#include <G4CollisionNNElastic.hh>
Definition at line 42 of file G4CollisionNNElastic.hh.
◆ G4CollisionNNElastic()
G4CollisionNNElastic::G4CollisionNNElastic |
( |
| ) |
|
Definition at line 43 of file G4CollisionNNElastic.cc.
44{
45
48
49 colliders1.push_back(subType1);
50 colliders2.push_back(subType2);
51
54}
static G4Neutron * NeutronDefinition()
const G4String & GetParticleSubType() const
static G4Proton * ProtonDefinition()
◆ ~G4CollisionNNElastic()
G4CollisionNNElastic::~G4CollisionNNElastic |
( |
| ) |
|
|
virtual |
Definition at line 57 of file G4CollisionNNElastic.cc.
58{
59 delete angularDistribution;
60 angularDistribution = 0;
61 delete crossSectionSource;
62 crossSectionSource = 0;
63}
◆ GetAngularDistribution()
◆ GetCrossSectionSource()
◆ GetListOfColliders()
const std::vector< G4String > & G4CollisionNNElastic::GetListOfColliders |
( |
G4int |
whichOne | ) |
const |
|
protectedvirtual |
Implements G4VCollision.
Definition at line 86 of file G4CollisionNNElastic.cc.
87{
88 if (whichOne == 1) {
89 return colliders1;
90 }else if (whichOne == 2) {
91 return colliders2;
92 }
93 throw G4HadronicException(__FILE__, __LINE__,
"G4CollisionNNElastic::GetListOfColliders - Argument outside valid range");
94}
◆ GetName()
virtual G4String G4CollisionNNElastic::GetName |
( |
| ) |
const |
|
inlinevirtual |
◆ IsInCharge()
Implements G4VCollision.
Definition at line 66 of file G4CollisionNNElastic.cc.
68{
70
73
76 ||
79 {
80 isInCharge = true;
81 }
82 return isInCharge;
83}
G4ParticleDefinition * GetDefinition() const
◆ operator!=()
◆ operator==()
The documentation for this class was generated from the following files: