Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <G4CascadeCheckBalance.hh>
Public Member Functions | |
G4CascadeCheckBalance (const G4String &owner="G4CascadeCheckBalance") | |
G4CascadeCheckBalance (G4double relative, G4double absolute, const G4String &owner="G4CascadeCheckBalance") | |
virtual | ~G4CascadeCheckBalance () |
void | setOwner (const G4String &owner) |
void | setLimits (G4double relative, G4double absolute) |
void | setRelativeLimit (G4double limit) |
void | setAbsoluteLimit (G4double limit) |
void | collide (G4InuclParticle *bullet, G4InuclParticle *target, G4CollisionOutput &output) |
void | collide (const G4Fragment &fragment, G4CollisionOutput &output) |
void | collide (G4InuclParticle *bullet, G4InuclParticle *target, const std::vector< G4InuclElementaryParticle > &particles) |
void | collide (G4InuclParticle *bullet, G4InuclParticle *target, const std::vector< G4CascadParticle > &particles) |
void | collide (G4InuclParticle *bullet, G4InuclParticle *target, G4CollisionOutput &output, const std::vector< G4CascadParticle > &cparticles) |
void | collide (const G4Fragment &target, const std::vector< G4InuclElementaryParticle > &particles) |
void | collide (const G4Fragment &target, const std::vector< G4InuclNuclei > &fragments) |
G4bool | energyOkay () const |
G4bool | ekinOkay () const |
G4bool | momentumOkay () const |
G4bool | baryonOkay () const |
G4bool | chargeOkay () const |
G4bool | strangeOkay () const |
G4bool | okay () const |
G4double | deltaE () const |
G4double | relativeE () const |
G4double | deltaKE () const |
G4double | relativeKE () const |
G4double | deltaP () const |
G4double | relativeP () const |
G4LorentzVector | deltaLV () const |
G4int | deltaB () const |
G4int | deltaQ () const |
G4int | deltaS () const |
Public Member Functions inherited from G4VCascadeCollider | |
G4VCascadeCollider (const G4String &name, G4int verbose=0) | |
virtual | ~G4VCascadeCollider () |
virtual void | collide (G4InuclParticle *bullet, G4InuclParticle *target, G4CollisionOutput &output)=0 |
virtual void | setVerboseLevel (G4int verbose=0) |
Static Public Attributes | |
static const G4double | tolerance = 1e-6 |
Protected Member Functions | |
G4double | ekin (const G4LorentzVector &p) const |
Protected Member Functions inherited from G4VCascadeCollider | |
virtual void | setName (const G4String &name) |
Additional Inherited Members | |
Protected Attributes inherited from G4VCascadeCollider | |
G4String | theName |
G4int | verboseLevel |
Definition at line 64 of file G4CascadeCheckBalance.hh.
|
explicit |
Definition at line 71 of file G4CascadeCheckBalance.cc.
G4CascadeCheckBalance::G4CascadeCheckBalance | ( | G4double | relative, |
G4double | absolute, | ||
const G4String & | owner = "G4CascadeCheckBalance" |
||
) |
Definition at line 77 of file G4CascadeCheckBalance.cc.
|
inlinevirtual |
Definition at line 72 of file G4CascadeCheckBalance.hh.
G4bool G4CascadeCheckBalance::baryonOkay | ( | ) | const |
Definition at line 330 of file G4CascadeCheckBalance.cc.
Referenced by G4CascadeInterface::checkFinalResult(), okay(), and G4CascadeInterface::throwNonConservationFailure().
G4bool G4CascadeCheckBalance::chargeOkay | ( | ) | const |
Definition at line 338 of file G4CascadeCheckBalance.cc.
Referenced by G4CascadeInterface::checkFinalResult(), okay(), and G4CascadeInterface::throwNonConservationFailure().
void G4CascadeCheckBalance::collide | ( | const G4Fragment & | fragment, |
G4CollisionOutput & | output | ||
) |
Definition at line 156 of file G4CascadeCheckBalance.cc.
void G4CascadeCheckBalance::collide | ( | const G4Fragment & | target, |
const std::vector< G4InuclElementaryParticle > & | particles | ||
) |
Definition at line 219 of file G4CascadeCheckBalance.cc.
void G4CascadeCheckBalance::collide | ( | const G4Fragment & | target, |
const std::vector< G4InuclNuclei > & | fragments | ||
) |
Definition at line 232 of file G4CascadeCheckBalance.cc.
void G4CascadeCheckBalance::collide | ( | G4InuclParticle * | bullet, |
G4InuclParticle * | target, | ||
const std::vector< G4CascadParticle > & | particles | ||
) |
Definition at line 245 of file G4CascadeCheckBalance.cc.
void G4CascadeCheckBalance::collide | ( | G4InuclParticle * | bullet, |
G4InuclParticle * | target, | ||
const std::vector< G4InuclElementaryParticle > & | particles | ||
) |
Definition at line 207 of file G4CascadeCheckBalance.cc.
|
virtual |
Implements G4VCascadeCollider.
Definition at line 88 of file G4CascadeCheckBalance.cc.
Referenced by G4CascadeInterface::ApplyYourself(), G4CascadeInterface::checkFinalResult(), collide(), G4CascadeRecoilMaker::collide(), G4NucleiModel::generateParticleFate(), G4CascadeInterface::Propagate(), G4CascadeDeexciteBase::validateOutput(), and G4CascadeColliderBase::validateOutput().
void G4CascadeCheckBalance::collide | ( | G4InuclParticle * | bullet, |
G4InuclParticle * | target, | ||
G4CollisionOutput & | output, | ||
const std::vector< G4CascadParticle > & | cparticles | ||
) |
Definition at line 259 of file G4CascadeCheckBalance.cc.
|
inline |
Definition at line 147 of file G4CascadeCheckBalance.hh.
Referenced by baryonOkay(), G4CascadeInterface::checkFinalResult(), G4CascadeRecoilMaker::fillRecoil(), and G4CascadeInterface::throwNonConservationFailure().
|
inline |
Definition at line 126 of file G4CascadeCheckBalance.hh.
Referenced by G4CascadeInterface::checkFinalResult(), energyOkay(), relativeE(), and G4CascadeInterface::throwNonConservationFailure().
|
inline |
Definition at line 132 of file G4CascadeCheckBalance.hh.
Referenced by G4CascadeInterface::checkFinalResult(), ekinOkay(), and relativeKE().
|
inline |
Definition at line 144 of file G4CascadeCheckBalance.hh.
Referenced by deltaP(), and G4CascadeRecoilMaker::fillRecoil().
|
inline |
Definition at line 138 of file G4CascadeCheckBalance.hh.
Referenced by momentumOkay(), relativeP(), and G4CascadeInterface::throwNonConservationFailure().
|
inline |
Definition at line 148 of file G4CascadeCheckBalance.hh.
Referenced by chargeOkay(), G4CascadeInterface::checkFinalResult(), G4CascadeRecoilMaker::fillRecoil(), and G4CascadeInterface::throwNonConservationFailure().
|
inline |
Definition at line 149 of file G4CascadeCheckBalance.hh.
Referenced by strangeOkay().
|
inlineprotected |
Definition at line 153 of file G4CascadeCheckBalance.hh.
Referenced by deltaKE(), and relativeKE().
G4bool G4CascadeCheckBalance::ekinOkay | ( | ) | const |
Definition at line 293 of file G4CascadeCheckBalance.cc.
G4bool G4CascadeCheckBalance::energyOkay | ( | ) | const |
Definition at line 275 of file G4CascadeCheckBalance.cc.
Referenced by okay(), and G4CascadeInterface::throwNonConservationFailure().
G4bool G4CascadeCheckBalance::momentumOkay | ( | ) | const |
Definition at line 312 of file G4CascadeCheckBalance.cc.
Referenced by okay(), and G4CascadeInterface::throwNonConservationFailure().
|
inline |
Definition at line 121 of file G4CascadeCheckBalance.hh.
Referenced by G4CascadeInterface::ApplyYourself(), G4NucleiModel::generateParticleFate(), G4CascadeInterface::Propagate(), G4CascadeInterface::retryInelasticNucleus(), G4CascadeDeexciteBase::validateOutput(), and G4CascadeColliderBase::validateOutput().
|
inline |
Definition at line 127 of file G4CascadeCheckBalance.hh.
Referenced by energyOkay(), and G4CascadeInterface::throwNonConservationFailure().
|
inline |
|
inline |
Definition at line 139 of file G4CascadeCheckBalance.hh.
Referenced by momentumOkay(), and G4CascadeInterface::throwNonConservationFailure().
|
inline |
Definition at line 82 of file G4CascadeCheckBalance.hh.
Referenced by setLimits().
Definition at line 76 of file G4CascadeCheckBalance.hh.
Referenced by G4CascadeInterface::G4CascadeInterface().
|
inline |
Definition at line 74 of file G4CascadeCheckBalance.hh.
|
inline |
Definition at line 81 of file G4CascadeCheckBalance.hh.
Referenced by setLimits().
G4bool G4CascadeCheckBalance::strangeOkay | ( | ) | const |
Definition at line 347 of file G4CascadeCheckBalance.cc.
|
static |
Definition at line 66 of file G4CascadeCheckBalance.hh.
Referenced by relativeE(), relativeKE(), and relativeP().