LauMagPhaseCoeffSet.cc
Go to the documentation of this file.
35 LauMagPhaseCoeffSet::LauMagPhaseCoeffSet(const TString& compName, Double_t magnitude, Double_t phase, Bool_t magFixed, Bool_t phaseFixed) :
46 cout<<"Set component \""<<this->name()<<"\" to have magnitude = "<<magnitude_->value()<<" and phase = "<<phase_->value()<<"."<<endl;
49 LauMagPhaseCoeffSet::LauMagPhaseCoeffSet(const LauMagPhaseCoeffSet& rhs, Double_t constFactor) : LauAbsCoeffSet(rhs.name())
168 coeff_.setRealImagPart(magnitude_->value()*TMath::Cos(phase_->value()), magnitude_->value()*TMath::Sin(phase_->value()));
Bool_t fixed() const Check whether the parameter is fixed or floated. Definition: LauParameter.hh:192 virtual void finaliseValues() Make sure values are in "standard" ranges, e.g. phases should be between -pi and pi. Definition: LauMagPhaseCoeffSet.cc:121 TRandom * zeroSeedRandom() Access the singleton random number generator with seed set from machine clock time (within +-1 sec)... Definition: LauRandom.cc:30 virtual TString baseName() const Retrieve the base name of the coefficient set. Definition: LauAbsCoeffSet.hh:117 File containing declaration of LauPrint class. virtual LauAbsCoeffSet * createClone(const TString &newName, Double_t constFactor=1.0) Create a clone of the coefficient set. Definition: LauMagPhaseCoeffSet.cc:193 virtual const LauComplex & antiparticleCoeff() Retrieve the complex coefficient for an antiparticle. Definition: LauMagPhaseCoeffSet.cc:172 LauMagPhaseCoeffSet(const TString &compName, Double_t magnitude, Double_t phase, Bool_t magFixed, Bool_t phaseFixed) Constructor. Definition: LauMagPhaseCoeffSet.cc:35 virtual void printTableRow(std::ostream &stream) Print the parameters of the complex coefficient as a row in the results table. Definition: LauMagPhaseCoeffSet.cc:91 File containing declaration of LauParameter class. File containing declaration of LauComplex class. Class for defining the abstract interface for complex coefficient classes. Definition: LauAbsCoeffSet.hh:34 File containing LauRandom namespace. virtual void setCoeffValues(const LauComplex &coeff, const LauComplex &coeffBar) Set the parameters based on the complex coefficients for particles and antiparticles. Definition: LauMagPhaseCoeffSet.cc:177 virtual void randomiseInitValues() Randomise the starting values of the parameters for a fit. Definition: LauMagPhaseCoeffSet.cc:107 void setRealImagPart(Double_t realpart, Double_t imagpart) Set both real and imaginary part. Definition: LauComplex.hh:311 virtual const LauComplex & particleCoeff() Retrieve the complex coefficient for a particle. Definition: LauMagPhaseCoeffSet.cc:166 File containing LauConstants namespace. void printFormat(std::ostream &stream, Double_t value) const Method to choose the printing format to a specified level of precision. Definition: LauPrint.cc:32 virtual void printTableHeading(std::ostream &stream) Print the column headings for a results table. Definition: LauMagPhaseCoeffSet.cc:83 LauParameter * createClone(Double_t constFactor=1.0) Method to create a clone from the parent parameter using the copy constructor. Definition: LauParameter.cc:498 virtual std::vector< LauParameter * > getParameters() Retrieve the parameters of the coefficient, e.g. so that they can be loaded into a fit... Definition: LauMagPhaseCoeffSet.cc:75 virtual TString name() const Retrieve the name of the coefficient set. Definition: LauAbsCoeffSet.hh:102 File containing declaration of LauMagPhaseCoeffSet class. LauMagPhaseCoeffSet & operator=(const LauMagPhaseCoeffSet &rhs) Copy assignment operator. Definition: LauMagPhaseCoeffSet.cc:60 Class for defining a complex coefficient using a magnitude and a phase. Definition: LauMagPhaseCoeffSet.hh:35 Generated by 1.8.5 |