26 #ifndef G4CASCADE_CHECK_BALANCE_HH
27 #define G4CASCADE_CHECK_BALANCE_HH
72 const G4String& owner=
"G4CascadeCheckBalance");
93 const std::vector<G4InuclElementaryParticle>& particles);
97 const std::vector<G4CascadParticle>& particles);
102 const std::vector<G4CascadParticle>& cparticles);
106 const std::vector<G4InuclElementaryParticle>& particles);
110 const std::vector<G4InuclNuclei>& fragments);
129 return ( (std::abs(
deltaE())<tolerance) ? 0. :
135 return ( (std::abs(
deltaKE())<tolerance) ? 0. :
141 return ( (std::abs(
deltaP())<tolerance) ? 0. :
G4CascadeCheckBalance & operator=(const G4CascadeCheckBalance &)
G4LorentzVector deltaLV() const
G4bool baryonOkay() const
void collide(G4InuclParticle *bullet, G4InuclParticle *target, G4CollisionOutput &output)
void setAbsoluteLimit(G4double limit)
G4bool strangeOkay() const
G4double ekin(const G4LorentzVector &p) const
static const G4double tolerance
virtual void setName(const G4String &name)
void setRelativeLimit(G4double limit)
void setLimits(G4double relative, G4double absolute)
virtual ~G4CascadeCheckBalance()
G4CascadeCheckBalance(const G4String &owner="G4CascadeCheckBalance")
G4bool energyOkay() const
G4double relativeE() const
G4double relativeKE() const
G4CollisionOutput tempOutput
void setOwner(const G4String &owner)
G4bool chargeOkay() const
G4bool momentumOkay() const
G4double relativeP() const
CLHEP::HepLorentzVector G4LorentzVector