LauDaughters.cc
Go to the documentation of this file.
30 LauDaughters::LauDaughters(Int_t codeParent, Int_t code1, Int_t code2, Int_t code3, Bool_t useSquareDP) :
45 kinematics_ = new LauKinematics(this->getMassDaug1(), this->getMassDaug2(), this->getMassDaug3(), this->getMassParent(), useSquareDP);
48 LauDaughters::LauDaughters(const TString& nameParent, const TString& name1, const TString& name2, const TString& name3, Bool_t useSquareDP) :
59 kinematics_ = new LauKinematics(this->getMassDaug1(), this->getMassDaug2(), this->getMassDaug3(), this->getMassParent(), useSquareDP);
78 kinematics_ = new LauKinematics(this->getMassDaug1(), this->getMassDaug2(), this->getMassDaug3(), this->getMassParent(), rhs.squareDP());
122 for ( std::vector<const LauParticlePDG*>::const_iterator iter = allowedParents_.begin(); iter != allowedParents_.end(); ++iter ) {
126 cout<<"INFO in LauDaughters::setParentType : Setting parent to be "<<parent_->string()<<" == "<<parent_->code()<<endl;
132 cerr<<"ERROR in LauDaughters::setParentType : Couldn't find a valid parent called \""<<nameParent<<"\"."<<endl;
137 void LauDaughters::setDaugType(const TString& name1, const TString& name2, const TString& name3)
140 const Int_t codes[3] = { LauDatabasePDG::code( name1 ), LauDatabasePDG::code( name2 ), LauDatabasePDG::code( name3 ) };
146 for ( std::vector<const LauParticlePDG*>::const_iterator iter = allowedDaughters_.begin(); iter != allowedDaughters_.end(); ++iter ) {
150 cout<<"INFO in LauDaughters::setDaugType : Setting daughter "<<i+1<<" to be "<<daughters_[i]->string()<<" == "<<daughters_[i]->code()<<endl;
155 cerr<<"ERROR in LauDaughters::setDaugType : Couldn't find a valid daughter called \""<<names[i]<<"\"."<<endl;
176 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."<<endl;
178 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."<<endl;
190 for ( std::vector<const LauParticlePDG*>::const_iterator iter = daughters_.begin(); iter != daughters_.end(); ++iter ) {
196 cerr<<"ERROR in LauDaughters::sanityCheck : Total charge of daughters ("<<totCharge<<") not equal to charge of parent ("<<parent_->charge()<<")."<<endl;
201 cerr<<"ERROR in LauDaughters::sanityCheck : Total mass of daughters ("<<totMass<<") greater than mass of parent ("<<parent_->mass()<<")."<<endl;
TString getNameDaug1() const Get name of the first daughter particle. Definition: LauDaughters.cc:226 Int_t getChargeDaug3() const Get charge of the third daughter particle. Definition: LauDaughters.cc:276 Int_t getTypeDaug1() const Get PDG code of the first daughter particle. Definition: LauDaughters.cc:246 void setParentType(const TString &nameParent) Set the parent particle type. Definition: LauDaughters.cc:116 LauDaughters(Int_t codeParent, Int_t code1, Int_t code2, Int_t code3, Bool_t useSquareDP=kFALSE) Constructor from PDG codes. Definition: LauDaughters.cc:30 void createParticleLists() Create list of all the allowed parent/daughter particles. Definition: LauDaughters.cc:81 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:286 void testDPSymmetry() Check whether there is a symmetrical Dalitz plot. Definition: LauDaughters.cc:167 File containing declaration of LauDaughters class. Int_t getChargeDaug1() const Get charge of the first daughter particle. Definition: LauDaughters.cc:266 TString getNameDaug2() const Get name of the second daughter particle. Definition: LauDaughters.cc:231 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:271 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:256 Int_t getTypeDaug2() const Get PDG code of the second daughter particle. Definition: LauDaughters.cc:251 void setDaugType(const TString &name1, const TString &name2, const TString &name3) Set the three daughter types. Definition: LauDaughters.cc:137 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:236 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 |