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) :
43 kinematics_ = new LauKinematics(this->getMassDaug1(), this->getMassDaug2(), this->getMassDaug3(), this->getMassParent(), useSquareDP);
46 LauDaughters::LauDaughters(const TString& nameParent, const TString& name1, const TString& name2, const TString& name3, Bool_t useSquareDP) :
58 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 std::cout<<"INFO in LauDaughters::setParentType : Setting parent to be "<<parent_->string()<<" == "<<parent_->code()<<std::endl;
132 std::cerr<<"ERROR in LauDaughters::setParentType : Couldn't find a valid parent called \""<<nameParent<<"\"."<<std::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 std::cout<<"INFO in LauDaughters::setDaugType : Setting daughter "<<i+1<<" to be "<<daughters_[i]->string()<<" == "<<daughters_[i]->code()<<std::endl;
155 std::cerr<<"ERROR in LauDaughters::setDaugType : Couldn't find a valid daughter called \""<<names[i]<<"\"."<<std::endl;
174 if ( daughters_[0]->code() == daughters_[1]->code() && daughters_[0]->code() == daughters_[2]->code() ) {
181 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;
183 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;
195 for ( std::vector<const LauParticlePDG*>::const_iterator iter = daughters_.begin(); iter != daughters_.end(); ++iter ) {
201 std::cerr<<"ERROR in LauDaughters::sanityCheck : Total charge of daughters ("<<totCharge<<") not equal to charge of parent ("<<parent_->charge()<<")."<<std::endl;
206 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:231 Int_t getChargeDaug3() const Get charge of the third daughter particle. Definition: LauDaughters.cc:281 Int_t getTypeDaug1() const Get PDG code of the first daughter particle. Definition: LauDaughters.cc:251 Bool_t fullySymmetricDP_ Boolean flag for fully symmetric Dalitz plot. Definition: LauDaughters.hh:181 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:27 ClassImp(LauAbsCoeffSet) 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:291 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:271 TString getNameDaug2() const Get name of the second daughter particle. Definition: LauDaughters.cc:236 Bool_t squareDP() const Determine to use or not the square Dalitz plot. Definition: LauDaughters.hh:78 File containing declaration of LauKinematics class. std::vector< const LauParticlePDG * > daughters_ The daughter particles. Definition: LauDaughters.hh:175 Int_t getChargeDaug2() const Get charge of the second daughter particle. Definition: LauDaughters.cc:276 File containing declaration of LauDatabasePDG class. std::vector< const LauParticlePDG * > allowedParents_ All possible parent types. Definition: LauDaughters.hh:169 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:261 Int_t getTypeDaug2() const Get PDG code of the second daughter particle. Definition: LauDaughters.cc:256 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:166 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:241 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 |