Class for defining a complex coefficient using seperate magnitudes and phases for particles and antiparticles.
More...
|
| LauMagPhaseCPCoeffSet (const TString &compName, Double_t mag, Double_t phase, Double_t magBar, Double_t phaseBar, Bool_t magFixed, Bool_t phaseFixed, Bool_t magBarFixed, Bool_t phaseBarFixed) |
| Constructor. More...
|
|
virtual | ~LauMagPhaseCPCoeffSet () |
| Destructor.
|
|
virtual std::vector< LauParameter * > | getParameters () |
| Retrieve the parameters of the coefficient, e.g. so that they can be loaded into a fit. More...
|
|
virtual void | printParValues () const |
| Print the current values of the parameters.
|
|
virtual void | printTableHeading (std::ostream &stream) const |
| Print the column headings for a results table. More...
|
|
virtual void | printTableRow (std::ostream &stream) const |
| Print the parameters of the complex coefficient as a row in the results table. More...
|
|
virtual void | randomiseInitValues () |
| Randomise the starting values of the parameters for a fit.
|
|
virtual void | finaliseValues () |
| Make sure values are in "standard" ranges, e.g. phases should be between -pi and pi.
|
|
virtual const LauComplex & | particleCoeff () |
| Retrieve the complex coefficient for a particle. More...
|
|
virtual const LauComplex & | antiparticleCoeff () |
| Retrieve the complex coefficient for an antiparticle. More...
|
|
virtual void | setCoeffValues (const LauComplex &coeff, const LauComplex &coeffBar, Bool_t init) |
| Set the parameters based on the complex coefficients for particles and antiparticles. More...
|
|
virtual LauParameter | acp () |
| Calculate the CP asymmetry. More...
|
|
virtual LauAbsCoeffSet * | createClone (const TString &newName, CloneOption cloneOption=All, Double_t constFactor=1.0) |
| Create a clone of the coefficient set. More...
|
|
virtual | ~LauAbsCoeffSet () |
| Destructor.
|
|
virtual TString | name () const |
| Retrieve the name of the coefficient set. More...
|
|
virtual void | name (const TString &theName) |
| Set the name of the coefficient set. More...
|
|
virtual const TString & | baseName () const |
| Retrieve the base name of the coefficient set. More...
|
|
virtual void | baseName (const TString &theBasename) |
| Set the base name of the coefficient set. More...
|
|
virtual UInt_t | index () const |
| Retrieve the index number of the coefficient set. More...
|
|
virtual void | index (UInt_t newIndex) |
| Set the index number of the coefficient set. More...
|
|
virtual void | setParameterValue (const TString &parName, Double_t value, Bool_t init) |
| Set the value of the named parameter. More...
|
|
virtual void | setParameterError (const TString &parName, Double_t error) |
| Set the error of the named parameter. More...
|
|
virtual void | fixParameter (const TString &parName) |
| Set the named parameter to be fixed in the fit. More...
|
|
virtual void | floatParameter (const TString &parName) |
| Set the named parameter to float in the fit. More...
|
|
virtual void | blindParameter (const TString &parName, const TString &blindingString, const Double_t width) |
| Blind the named parameter. More...
|
|
virtual void | addGaussianConstraint (const TString &parName, const Double_t mean, const Double_t width) |
| Add Gaussian constraint to the named parameter. More...
|
|
virtual void | addSuffixToParameterName (const TString &parName, const TString &suffix) |
| Add suffix to the name of the given parameter. More...
|
|
|
enum | CloneOption {
All,
TiePhase,
TieMagnitude,
TieRealPart,
TieImagPart,
TieCPPars
} |
| Options for cloning operation. More...
|
|
static void | setMagnitudeRange (Double_t minMag, Double_t maxMag) |
| Set the allowed range for magnitude parameters. More...
|
|
static void | setPhaseRange (Double_t minPhase, Double_t maxPhase) |
| Set the allowed range for phase parameters. More...
|
|
static void | setRealImagRange (Double_t minPar, Double_t maxPar) |
| Set the allowed range for real/imaginary part parameters. More...
|
|
static void | setCPParRange (Double_t minPar, Double_t maxPar) |
| Set the allowed range for CP-violating parameters. More...
|
|
static void | setRandomiser (TRandom *randomiser) |
| Set the randomiser. More...
|
|
static TRandom * | getRandomiser () |
| Access the randomiser. More...
|
|
| LauAbsCoeffSet (const TString &theName, const TString &theBaseName="A") |
| Constructor. More...
|
|
LauParameter * | findParameter (const TString &parName) |
| Find the parameter with the given name. More...
|
|
virtual void | adjustName (LauParameter *par, const TString &oldBaseName) |
| Prepend the base name and index to the name of a parameter. More...
|
|
| LauAbsCoeffSet (const LauAbsCoeffSet &rhs) |
| Copy constructor. More...
|
|
LauAbsCoeffSet & | operator= (const LauAbsCoeffSet &rhs) |
| Copy assignment operator. More...
|
|
static Double_t | minMagnitude_ = -10.0 |
| Minimum allowed value of magnitude parameters.
|
|
static Double_t | maxMagnitude_ = 10.0 |
| Maximum allowed value of magnitude parameters.
|
|
static Double_t | minPhase_ = -LauConstants::threePi |
| Minimum allowed value of phase parameters.
|
|
static Double_t | maxPhase_ = LauConstants::threePi |
| Maximum allowed value of phase parameters.
|
|
static Double_t | minRealImagPart_ = -10.0 |
| Minimum allowed value of real/imaginary part parameters.
|
|
static Double_t | maxRealImagPart_ = 10.0 |
| Maximum allowed value of real/imaginary part parameters.
|
|
static Double_t | minDelta_ = -2.0 |
| Minimum allowed value of CP-violating real/imaginary part parameters.
|
|
static Double_t | maxDelta_ = 2.0 |
| Maximum allowed value of CP-violating real/imaginary part parameters.
|
|
Class for defining a complex coefficient using seperate magnitudes and phases for particles and antiparticles.
Holds a set of real values that define the complex coefficient of an amplitude component. The amplitudes have the form: c = mag * exp(i*phase) cBar = magBar * exp(i*phaseBar) where mag and magBar are the magnitudes for particle and antiparticle and phase and phaseBar are the phases for particle and antiparticle.
Definition at line 52 of file LauMagPhaseCPCoeffSet.hh.