#include <G4CollisionnpElastic.hh>
Definition at line 42 of file G4CollisionnpElastic.hh.
◆ G4CollisionnpElastic()
G4CollisionnpElastic::G4CollisionnpElastic |
( |
| ) |
|
Definition at line 42 of file G4CollisionnpElastic.cc.
43{
44
47
48 colliders1.push_back(subType1);
49 colliders2.push_back(subType2);
50
51
54}
static G4Neutron * NeutronDefinition()
const G4String & GetParticleSubType() const
static G4Proton * ProtonDefinition()
◆ ~G4CollisionnpElastic()
G4CollisionnpElastic::~G4CollisionnpElastic |
( |
| ) |
|
|
virtual |
◆ GetAngularDistribution()
◆ GetCrossSectionSource()
◆ GetListOfColliders()
const std::vector< G4String > & G4CollisionnpElastic::GetListOfColliders |
( |
G4int |
whichOne | ) |
const |
|
protectedvirtual |
Implements G4VCollision.
Definition at line 84 of file G4CollisionnpElastic.cc.
85{
86 if (whichOne == 1) {
87 return colliders1;
88 } else if (whichOne == 2) {
89 return colliders2;
90 }
91
92 throw G4HadronicException(__FILE__, __LINE__,
"G4CollisionnpElastic::GetListOfColliders - Argument outside valid range");
93}
◆ GetName()
virtual G4String G4CollisionnpElastic::GetName |
( |
| ) |
const |
|
inlinevirtual |
◆ IsInCharge()
Implements G4VCollision.
Definition at line 64 of file G4CollisionnpElastic.cc.
66{
68
71
74 ||
77 {
78 isInCharge = true;
79 }
80 return isInCharge;
81}
G4ParticleDefinition * GetDefinition() const
◆ operator!=()
◆ operator==()
The documentation for this class was generated from the following files: