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) :
45 cout<<"Set component \""<<this->name()<<"\" to have magnitude = "<<magnitude_->value()<<" and phase = "<<phase_->value()<<"."<<endl;
48 LauMagPhaseCoeffSet::LauMagPhaseCoeffSet(const LauMagPhaseCoeffSet& rhs, Double_t constFactor) : LauAbsCoeffSet(rhs.name())
166 LauComplex coeff(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:119 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 virtual LauComplex particleCoeff() Retrieve the complex coefficient for a particle. Definition: LauMagPhaseCoeffSet.cc:164 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:191 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:89 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:175 virtual void randomiseInitValues() Randomise the starting values of the parameters for a fit. Definition: LauMagPhaseCoeffSet.cc:105 virtual LauComplex antiparticleCoeff() Retrieve the complex coefficient for an antiparticle. Definition: LauMagPhaseCoeffSet.cc:170 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:81 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:73 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:58 Class for defining a complex coefficient using a magnitude and a phase. Definition: LauMagPhaseCoeffSet.hh:36 Generated by 1.8.5 |