LauCartesianCPCoeffSet.cc
Go to the documentation of this file.
35 LauCartesianCPCoeffSet::LauCartesianCPCoeffSet(const TString& compName, Double_t x, Double_t y, Double_t deltaX, Double_t deltaY,
36 Bool_t xFixed, Bool_t yFixed, Bool_t deltaXFixed, Bool_t deltaYFixed, Bool_t deltaXSecondStage, Bool_t deltaYSecondStage) :
46 acp_("ACP", -2.0*(x*deltaX + y*deltaY)/(x*x + deltaX*deltaX + y*y + deltaY*deltaY), -1.0, 1.0, deltaXFixed&&deltaYFixed)
49 cout<<"Set component \""<<this->name()<<"\" to have x = "<<x_->value()<<",\ty = "<<y_->value()<<",\t";
62 LauCartesianCPCoeffSet::LauCartesianCPCoeffSet(const LauCartesianCPCoeffSet& rhs, Double_t constFactor) : LauAbsCoeffSet(rhs.name())
107 stream<<"Component & Real Part & Imaginary Part & $\\Delta$ Real Part & $\\Delta$ Imaginary Part \\\\"<<endl;
178 void LauCartesianCPCoeffSet::setCoeffValues( const LauComplex& coeff, const LauComplex& coeffBar )
198 Double_t denom = x_->value()*x_->value() + deltaX_->value()*deltaX_->value() + y_->value()*y_->value() + deltaY_->value()*deltaY_->value();
214 LauAbsCoeffSet* LauCartesianCPCoeffSet::createClone(const TString& newName, Double_t constFactor)
Double_t maxDeltaPar_ The maximum allowed value for the asymmetric parts. Definition: LauCartesianCPCoeffSet.hh:140 virtual LauComplex antiparticleCoeff() Retrieve the complex coefficient for an antiparticle. Definition: LauCartesianCPCoeffSet.cc:173 Double_t maxPar_ The maximum allowed value for the average parts. Definition: LauCartesianCPCoeffSet.hh:136 Bool_t fixed() const Check whether the parameter is fixed or floated. Definition: LauParameter.hh:192 virtual LauComplex particleCoeff() Retrieve the complex coefficient for a particle. Definition: LauCartesianCPCoeffSet.cc:168 TRandom * zeroSeedRandom() Access the singleton random number generator with seed set from machine clock time (within +-1 sec)... Definition: LauRandom.cc:30 Double_t minDeltaPar_ The minimum allowed value for the asymmetric parts. Definition: LauCartesianCPCoeffSet.hh:138 LauCartesianCPCoeffSet(const TString &compName, Double_t x, Double_t y, Double_t deltaX, Double_t deltaY, Bool_t xFixed, Bool_t yFixed, Bool_t deltaXFixed, Bool_t deltaYFixed, Bool_t deltaXSecondStage=kFALSE, Bool_t deltaYSecondStage=kFALSE) Constructor. Definition: LauCartesianCPCoeffSet.cc:35 virtual TString baseName() const Retrieve the base name of the coefficient set. Definition: LauAbsCoeffSet.hh:117 File containing declaration of LauPrint class. Double_t minPar_ The minimum allowed value for the average parts. Definition: LauCartesianCPCoeffSet.hh:134 LauCartesianCPCoeffSet & operator=(const LauCartesianCPCoeffSet &rhs) Copy assignment operator. Definition: LauCartesianCPCoeffSet.cc:75 File containing declaration of LauParameter class. Bool_t secondStage() const Check whether the parameter should be floated only in the second stage of a two stage fit... Definition: LauParameter.hh:204 File containing declaration of LauComplex class. Class for defining the abstract interface for complex coefficient classes. Definition: LauAbsCoeffSet.hh:34 void valueAndErrors(Double_t newValue, Double_t newError, Double_t newNegError=0.0, Double_t newPosError=0.0) Set the value and errors on the parameter. Definition: LauParameter.cc:310 File containing declaration of LauCartesianCPCoeffSet class. virtual void printTableRow(std::ostream &stream) Print the parameters of the complex coefficient as a row in the results table. Definition: LauCartesianCPCoeffSet.cc:111 File containing LauRandom namespace. 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 setCoeffValues(const LauComplex &coeff, const LauComplex &coeffBar) Set the parameters based on the complex coefficients for particles and antiparticles. Definition: LauCartesianCPCoeffSet.cc:178 virtual void printTableHeading(std::ostream &stream) Print the column headings for a results table. Definition: LauCartesianCPCoeffSet.cc:103 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 TString name() const Retrieve the name of the coefficient set. Definition: LauAbsCoeffSet.hh:102 virtual LauAbsCoeffSet * createClone(const TString &newName, Double_t constFactor=1.0) Create a clone of the coefficient set. Definition: LauCartesianCPCoeffSet.cc:214 virtual void finaliseValues() Make sure values are in "standard" ranges, e.g. phases should be between -pi and pi. Definition: LauCartesianCPCoeffSet.cc:159 virtual std::vector< LauParameter * > getParameters() Retrieve the parameters of the coefficient, e.g. so that they can be loaded into a fit... Definition: LauCartesianCPCoeffSet.cc:93 Class for defining a complex coefficient using the Cartesian CP convention. Definition: LauCartesianCPCoeffSet.hh:36 virtual void randomiseInitValues() Randomise the starting values of the parameters for a fit. Definition: LauCartesianCPCoeffSet.cc:135 Generated by 1.8.5 |