Changeset View
Changeset View
Standalone View
Standalone View
src/LauAbsResonance.cc
Show First 20 Lines • Show All 136 Lines • ▼ Show 20 Lines | LauAbsResonance::LauAbsResonance(LauResonanceInfo* resInfo, const Int_t resPairAmpInt, const LauDaughters* daughters) : | ||||
Int_t totalCharge = chargeDaug1_ + chargeDaug2_; | Int_t totalCharge = chargeDaug1_ + chargeDaug2_; | ||||
if ( (totalCharge != resCharge_) && (resPairAmpInt_ != 0) ) { | if ( (totalCharge != resCharge_) && (resPairAmpInt_ != 0) ) { | ||||
std::cerr << "ERROR in LauAbsResonance : Total charge of daughters = " << totalCharge << ". Resonance charge = " << resCharge_ << "." << std::endl; | std::cerr << "ERROR in LauAbsResonance : Total charge of daughters = " << totalCharge << ". Resonance charge = " << resCharge_ << "." << std::endl; | ||||
gSystem->Exit(EXIT_FAILURE); | gSystem->Exit(EXIT_FAILURE); | ||||
} | } | ||||
} | } | ||||
// Constructor | // Constructor | ||||
LauAbsResonance::LauAbsResonance(const TString& resName, const Int_t resPairAmpInt, const LauDaughters* daughters) : | LauAbsResonance::LauAbsResonance(const TString& resName, const Int_t resPairAmpInt, const LauDaughters* daughters, const Int_t resSpin) : | ||||
resInfo_(0), | resInfo_(0), | ||||
daughters_(daughters), | daughters_(daughters), | ||||
nameParent_(""), nameDaug1_(""), nameDaug2_(""), nameBachelor_(""), | nameParent_(""), nameDaug1_(""), nameDaug2_(""), nameBachelor_(""), | ||||
chargeParent_(0), chargeDaug1_(0), chargeDaug2_(0), chargeBachelor_(0), | chargeParent_(0), chargeDaug1_(0), chargeDaug2_(0), chargeBachelor_(0), | ||||
massParent_(0.0), massDaug1_(0.0), massDaug2_(0.0), massBachelor_(0.0), | massParent_(0.0), massDaug1_(0.0), massDaug2_(0.0), massBachelor_(0.0), | ||||
resName_(resName), | resName_(resName), | ||||
sanitisedName_(resName), | sanitisedName_(resName), | ||||
resMass_(0), | resMass_(0), | ||||
resWidth_(0), | resWidth_(0), | ||||
resSpin_(0), | resSpin_(resSpin), | ||||
resCharge_(0), | resCharge_(0), | ||||
resPairAmpInt_(resPairAmpInt), | resPairAmpInt_(resPairAmpInt), | ||||
parBWFactor_(0), | parBWFactor_(0), | ||||
resBWFactor_(0), | resBWFactor_(0), | ||||
spinType_(Zemach_P), | spinType_(Zemach_P), | ||||
flipHelicity_(kFALSE), | flipHelicity_(kFALSE), | ||||
ignoreMomenta_(kFALSE), | ignoreMomenta_(kFALSE), | ||||
ignoreSpin_(kFALSE), | ignoreSpin_(kFALSE), | ||||
▲ Show 20 Lines • Show All 557 Lines • Show Last 20 Lines |