LauModIndPartWave.cc
Go to the documentation of this file.
35 LauModIndPartWave::LauModIndPartWave(LauResonanceInfo* resInfo, Int_t resPairAmpInt, const LauDaughters* daughters) :
71 this->addKnot(this->getMassParent() - this->getMassBachelor(),upperThresholdMag_,upperThresholdPhase_, fixUpperThresholdMag_, fixUpperThresholdPhase_);
96 void LauModIndPartWave::addKnot(Double_t mass, Double_t magVal, Double_t phaseVal, Bool_t fixMag, Bool_t fixPhase) {
100 std::cerr << "WARNING in LauModIndPartWave::addKnot : Knot at mass " << mass << " is below the lower kinematic limit and will not be added." << std::endl;
101 std::cerr << " Lower kinematic limit is at mass " << this->getMassDaug1() + this->getMassDaug2() << std::endl;
106 std::cerr << "WARNING in LauModIndPartWave::addKnot : Knot at mass " << mass << " is above the upper kinematic limit and will not be added." << std::endl;
107 std::cerr << " Upper kinematic limit is at mass " << this->getMassParent() - this->getMassBachelor() << std::endl;
112 std::cerr << "WARNING in LauModIndPartWave::addKnot : Knots must be added in ascending order. Knot at mass " << mass << " has not been added." << std::endl;
138 phasePars_[nKnots_] = new LauParameter( phaseName, phaseVal, -6.0*LauConstants::pi, 6.0*LauConstants::pi, fixPhase);
143 std::cout << "INFO in LauModIndPartWave::addKnot : Knot added to resonance " << this->getResonanceName() << " at mass " << mass << std::endl;
152 void LauModIndPartWave::setKnotAmp(Int_t knot, Double_t magVal, Double_t phaseVal, Bool_t fixMag, Bool_t fixPhase) {
156 std::cerr << "WARNING in LauModIndPartWave::setKnotAmp : Index " << knot << " does not correspond to an existing knot in resonance " << this->getResonanceName() << std::endl;
168 std::cout << "INFO in LauModIndPartWave::setKnotAmp : Knot updated in resonance " << this->getResonanceName() << " at upper kinematic threshold" << std::endl;
188 if(knot == 0) std::cout << "INFO in LauModIndPartWave::setKnotAmp : Knot updated in resonance " << this->getResonanceName() << " at lower kinematic threshold" << std::endl;
189 else std::cout << "INFO in LauModIndPartWave::setKnotAmp : Knot updated in resonance " << this->getResonanceName() << " at mass " << masses_[knot] << std::endl;
Class for defining a model independent partial wave component. Definition: LauModIndPartWave.hh:32 Bool_t fixed() const Check whether the parameter is fixed or floated. Definition: LauParameter.hh:195 Double_t getMassBachelor() const Get the mass of the bachelor daughter. Definition: LauAbsResonance.cc:402 const TString & getResonanceName() const Get the name of the resonance. Definition: LauAbsResonance.hh:103 std::vector< Double_t > magnitudes_ The values of the magnitude spline at the knots. Definition: LauModIndPartWave.hh:104 void addKnot(Double_t mass, Double_t magVal, Double_t phaseVal, Bool_t fixMag=kFALSE, Bool_t fixPhase=kFALSE) Add a knot to the magnitude and phase splines. Definition: LauModIndPartWave.cc:96 File containing declaration of LauResonanceInfo class. ClassImp(LauAbsCoeffSet) Double_t upperThresholdPhase_ Phase for the knot at the upper kinematic threshold. Definition: LauModIndPartWave.hh:119 Class for defining the properties of a resonant particle. Definition: LauResonanceInfo.hh:32 Class that defines the particular 3-body decay under study. Definition: LauDaughters.hh:33 std::vector< Double_t > masses_ The masses at which knots are defined in the magnitude and phase splines. Definition: LauModIndPartWave.hh:102 Int_t nKnots_ The number of knots in the magnitude and phase splines. Definition: LauModIndPartWave.hh:99 const TString & getSanitisedName() const Get the name of the resonance. Definition: LauAbsResonance.hh:109 void setKnotAmp(Int_t knot, Double_t magVal, Double_t phaseVal, Bool_t fixMag, Bool_t fixPhase) Set the magnitude and phase at a given knot. Definition: LauModIndPartWave.cc:152 Bool_t fixUpperThresholdPhase_ Whether the phase should be fixed for the knot at the upper kinematic threshold. Definition: LauModIndPartWave.hh:123 File containing declaration of LauKinematics class. Bool_t initialised_ Flag to identify whether the model has been intialised yet. Definition: LauModIndPartWave.hh:114 void addFloatingParameter(LauParameter *param) Add parameter to the list of floating parameters. Definition: LauAbsResonance.cc:278 virtual const std::vector< LauParameter * > & getFloatingParameters() Retrieve the resonance parameters, e.g. so that they can be loaded into a fit. Definition: LauModIndPartWave.cc:231 Bool_t fixUpperThresholdMag_ Whether the magnitude should be fixed for the knot at the upper kinematic threshold. Definition: LauModIndPartWave.hh:121 std::vector< LauParameter * > & getParameters() Access the list of floating parameters. Definition: LauAbsResonance.hh:339 virtual LauComplex resAmp(Double_t mass, Double_t spinTerm) Complex resonant amplitude. Definition: LauModIndPartWave.cc:197 Double_t upperThresholdMag_ Magnitude for the knot at the upper kinematic threshold. Definition: LauModIndPartWave.hh:117 std::vector< LauParameter * > phasePars_ The parameters for the values at the knots in the phase spline. Definition: LauModIndPartWave.hh:111 Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc... Definition: LauAbsResonance.hh:37 LauResonanceInfo * getResInfo() const Access the resonance info object. Definition: LauAbsResonance.hh:317 File containing LauConstants namespace. void addExtraParameter(LauParameter *param) Add an extra parameter of the resonance. Definition: LauResonanceInfo.cc:114 std::vector< LauParameter * > magnitudePars_ The parameters for the values at the knots in the magnitude spline. Definition: LauModIndPartWave.hh:109 File containing declaration of LauModIndPartWave class. TSpline3 * magSpline_ The spline used to calculate the magnitude at a given mass. Definition: LauModIndPartWave.hh:94 std::vector< Double_t > phases_ The values of the phase spline at the knots. Definition: LauModIndPartWave.hh:106 TSpline3 * phaseSpline_ The spline used to calculate the phase at a given mass. Definition: LauModIndPartWave.hh:96 Generated by 1.8.5 |