LauDaughters.cc
Go to the documentation of this file.
27 LauDaughters::LauDaughters(Int_t codeParent, Int_t code1, Int_t code2, Int_t code3, Bool_t useSquareDP) :
42 kinematics_ = new LauKinematics(this->getMassDaug1(), this->getMassDaug2(), this->getMassDaug3(), this->getMassParent(), useSquareDP);
45 LauDaughters::LauDaughters(const TString& nameParent, const TString& name1, const TString& name2, const TString& name3, Bool_t useSquareDP) :
56 kinematics_ = new LauKinematics(this->getMassDaug1(), this->getMassDaug2(), this->getMassDaug3(), this->getMassParent(), useSquareDP);
75 kinematics_ = new LauKinematics(this->getMassDaug1(), this->getMassDaug2(), this->getMassDaug3(), this->getMassParent(), rhs.squareDP());
119 for ( std::vector<const LauParticlePDG*>::const_iterator iter = allowedParents_.begin(); iter != allowedParents_.end(); ++iter ) {
123 std::cout<<"INFO in LauDaughters::setParentType : Setting parent to be "<<parent_->string()<<" == "<<parent_->code()<<std::endl;
129 std::cerr<<"ERROR in LauDaughters::setParentType : Couldn't find a valid parent called \""<<nameParent<<"\"."<<std::endl;
134 void LauDaughters::setDaugType(const TString& name1, const TString& name2, const TString& name3)
137 const Int_t codes[3] = { LauDatabasePDG::code( name1 ), LauDatabasePDG::code( name2 ), LauDatabasePDG::code( name3 ) };
143 for ( std::vector<const LauParticlePDG*>::const_iterator iter = allowedDaughters_.begin(); iter != allowedDaughters_.end(); ++iter ) {
147 std::cout<<"INFO in LauDaughters::setDaugType : Setting daughter "<<i+1<<" to be "<<daughters_[i]->string()<<" == "<<daughters_[i]->code()<<std::endl;
152 std::cerr<<"ERROR in LauDaughters::setDaugType : Couldn't find a valid daughter called \""<<names[i]<<"\"."<<std::endl;
173 std::cerr<<"WARNING in LauDaughters::testDPSymmetry : daughter 0 and daughter 2 are both "<<daughters_[0]->string()<<" but DP can only fold on daughers 0 and 1."<<std::endl;
175 std::cerr<<"WARNING in LauDaughters::testDPSymmetry : daughter 1 and daughter 2 are both "<<daughters_[1]->string()<<" but DP can only fold on daughers 0 and 1."<<std::endl;
187 for ( std::vector<const LauParticlePDG*>::const_iterator iter = daughters_.begin(); iter != daughters_.end(); ++iter ) {
193 std::cerr<<"ERROR in LauDaughters::sanityCheck : Total charge of daughters ("<<totCharge<<") not equal to charge of parent ("<<parent_->charge()<<")."<<std::endl;
198 std::cerr<<"ERROR in LauDaughters::sanityCheck : Total mass of daughters ("<<totMass<<") greater than mass of parent ("<<parent_->mass()<<")."<<std::endl;
TString getNameDaug1() const Get name of the first daughter particle. Definition: LauDaughters.cc:223 Int_t getChargeDaug3() const Get charge of the third daughter particle. Definition: LauDaughters.cc:273 Int_t getTypeDaug1() const Get PDG code of the first daughter particle. Definition: LauDaughters.cc:243 void setParentType(const TString &nameParent) Set the parent particle type. Definition: LauDaughters.cc:113 LauDaughters(Int_t codeParent, Int_t code1, Int_t code2, Int_t code3, Bool_t useSquareDP=kFALSE) Constructor from PDG codes. Definition: LauDaughters.cc:27 ClassImp(LauAbsCoeffSet) void createParticleLists() Create list of all the allowed parent/daughter particles. Definition: LauDaughters.cc:78 Class that defines the particular 3-body decay under study. Definition: LauDaughters.hh:33 Int_t getCharge(Int_t resPairAmpInt) const Get charge of a particular two-daughter combination. Definition: LauDaughters.cc:283 void testDPSymmetry() Check whether there is a symmetrical Dalitz plot. Definition: LauDaughters.cc:164 File containing declaration of LauDaughters class. Int_t getChargeDaug1() const Get charge of the first daughter particle. Definition: LauDaughters.cc:263 TString getNameDaug2() const Get name of the second daughter particle. Definition: LauDaughters.cc:228 Bool_t squareDP() const Determine to use or not the square Dalitz plot. Definition: LauDaughters.hh:72 File containing declaration of LauKinematics class. std::vector< const LauParticlePDG * > daughters_ The daughter particles. Definition: LauDaughters.hh:166 Int_t getChargeDaug2() const Get charge of the second daughter particle. Definition: LauDaughters.cc:268 File containing declaration of LauDatabasePDG class. std::vector< const LauParticlePDG * > allowedParents_ All possible parent types. Definition: LauDaughters.hh:160 File containing declaration of LauParticlePDG class. static const LauParticlePDG * particle(Int_t code) Get particle object based on the PDG code. Definition: LauDatabasePDG.cc:64 Int_t getTypeDaug3() const Get PDG code of the third daughter particle. Definition: LauDaughters.cc:253 Int_t getTypeDaug2() const Get PDG code of the second daughter particle. Definition: LauDaughters.cc:248 void setDaugType(const TString &name1, const TString &name2, const TString &name3) Set the three daughter types. Definition: LauDaughters.cc:134 std::vector< const LauParticlePDG * > allowedDaughters_ All possible daughter types. Definition: LauDaughters.hh:157 static Int_t code(const TString &string) Method to convert from a particle name string into a PDG code. Definition: LauDatabasePDG.cc:74 TString getNameDaug3() const Get name of the third daughter particle. Definition: LauDaughters.cc:233 static TString string(Int_t code) Method to convert from a PDG code to a particle name string. Definition: LauDatabasePDG.cc:79 Generated by 1.8.5 |