|
Laura++
3.6.0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
|
Class for defining a complex coefficient useful for extracting the CKM angle gamma from B -> D h h Dalitz plots.
More...
#include <LauPolarGammaCPCoeffSet.hh>
|
enum | DecayType {
GLW_CPOdd,
GLW_CPEven,
ADS_Favoured,
ADS_Suppressed,
GLW_CPOdd_btouOnly,
GLW_CPEven_btouOnly,
ADS_Favoured_btouOnly,
ADS_Suppressed_btouOnly
} |
| The possible D decay modes. More...
|
|
enum | CloneOption {
All,
TiePhase,
TieMagnitude,
TieRealPart,
TieImagPart,
TieCPPars
} |
| Options for cloning operation. More...
|
|
|
| LauPolarGammaCPCoeffSet (const TString &compName, const DecayType decayType, const Double_t x, const Double_t y, const Double_t rB, const Double_t deltaB, const Double_t gamma, const Double_t rD, const Double_t deltaD, const Bool_t xFixed, const Bool_t yFixed, const Bool_t rBFixed, const Bool_t deltaBFixed, const Bool_t gammaFixed, const Bool_t rDFixed, const Bool_t deltaDFixed, const Bool_t rBSecondStage=kFALSE, const Bool_t deltaBSecondStage=kFALSE, const Bool_t gammaSecondStage=kFALSE, const Bool_t rDSecondStage=kFALSE, const Bool_t deltaDSecondStage=kFALSE, const Bool_t useGlobalGamma=kFALSE, const Bool_t useGlobalADSPars=kFALSE) |
| Constructor. More...
|
|
virtual | ~LauPolarGammaCPCoeffSet () |
| 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...
|
|
|
static LauParameter * | gammaGlobal_ = 0 |
| The CP-violating phase (shared by multiple resonances)
|
|
static LauParameter * | rDGlobal_ = 0 |
| the magnitude of the ratio of the favoured and suppressed D-decay amplitudes (shared by multiple resonances)
|
|
static LauParameter * | deltaDGlobal_ = 0 |
| the relative strong phase of the favoured and suppressed D-decay amplitudes (shared by multiple resonances)
|
|
Class for defining a complex coefficient useful for extracting the CKM angle gamma from B -> D h h Dalitz plots.
Holds a set of real values that define the complex coefficient of an amplitude component. Depending on the type of the D decay, the amplitude has one of the following forms: CP-odd eigenstate: ( x + i * y ) * ( 1 - rB * exp( i * ( deltaB +/- gamma ) ) ) CP-even eigenstate: ( x + i * y ) * ( 1 + rB * exp( i * ( deltaB +/- gamma ) ) ) ADS favoured state: ( x + i * y ) * ( 1 + rB * rD * exp( i * ( deltaB - deltaD +/- gamma ) ) ) ADS suppressed state: ( x + i * y ) * ( rD * exp( - i * deltaD ) + rB * exp( i * ( deltaB +/- gamma ) ) ) [Phys. Rev. D79, 051301 (2009)]
Definition at line 53 of file LauPolarGammaCPCoeffSet.hh.
◆ DecayType
The possible D decay modes.
Enumerator |
---|
GLW_CPOdd | GLW CP-odd, e.g. D0 -> K0 pi0
|
GLW_CPEven | GLW CP-even, e.g. D0 -> K+ K-
|
ADS_Favoured | ADS Favoured, e.g. D0 -> K- pi+
|
ADS_Suppressed | ADS Suppressed, e.g. D0 -> K+ pi-
|
GLW_CPOdd_btouOnly | GLW CP-odd, e.g. D0 -> K0 pi0, where B decay only proceeds via b -> u transition
|
GLW_CPEven_btouOnly | GLW CP-even, e.g. D0 -> K+ K-, where B decay only proceeds via b -> u transition
|
ADS_Favoured_btouOnly | ADS Favoured, e.g. D0 -> K- pi+, where B decay only proceeds via b -> u transition
|
ADS_Suppressed_btouOnly | ADS Suppressed, e.g. D0 -> K+ pi-, where B decay only proceeds via b -> u transition
|
Definition at line 57 of file LauPolarGammaCPCoeffSet.hh.
◆ LauPolarGammaCPCoeffSet() [1/2]
LauPolarGammaCPCoeffSet::LauPolarGammaCPCoeffSet |
( |
const TString & |
compName, |
|
|
const DecayType |
decayType, |
|
|
const Double_t |
x, |
|
|
const Double_t |
y, |
|
|
const Double_t |
rB, |
|
|
const Double_t |
deltaB, |
|
|
const Double_t |
gamma, |
|
|
const Double_t |
rD, |
|
|
const Double_t |
deltaD, |
|
|
const Bool_t |
xFixed, |
|
|
const Bool_t |
yFixed, |
|
|
const Bool_t |
rBFixed, |
|
|
const Bool_t |
deltaBFixed, |
|
|
const Bool_t |
gammaFixed, |
|
|
const Bool_t |
rDFixed, |
|
|
const Bool_t |
deltaDFixed, |
|
|
const Bool_t |
rBSecondStage = kFALSE , |
|
|
const Bool_t |
deltaBSecondStage = kFALSE , |
|
|
const Bool_t |
gammaSecondStage = kFALSE , |
|
|
const Bool_t |
rDSecondStage = kFALSE , |
|
|
const Bool_t |
deltaDSecondStage = kFALSE , |
|
|
const Bool_t |
useGlobalGamma = kFALSE , |
|
|
const Bool_t |
useGlobalADSPars = kFALSE |
|
) |
| |
Constructor.
- Parameters
-
[in] | compName | the name of the coefficient set |
[in] | decayType | the type of the D decay |
[in] | x | the real part of the b -> c amplitude |
[in] | y | the imaginary part of the b -> c amplitude |
[in] | rB | the magnitude of the ratio of the b -> u and b -> c amplitudes |
[in] | deltaB | the relative CP-conserving (strong) phase of the b -> u and b -> c amplitudes |
[in] | gamma | the relative CP-violating (weak) phase of the b -> u and b -> c amplitudes |
[in] | rD | the magnitude of the ratio of the favoured and suppressed D-decay amplitudes |
[in] | deltaD | the relative strong phase of the favoured and suppressed D-decay amplitudes |
[in] | xFixed | whether x is fixed |
[in] | yFixed | whether y is fixed |
[in] | rBFixed | whether rB is fixed |
[in] | deltaBFixed | whether deltaB is fixed |
[in] | gammaFixed | whether gamma is fixed |
[in] | rDFixed | whether rD is fixed |
[in] | deltaDFixed | whether deltaD is fixed |
[in] | rBSecondStage | whether rB should be floated only in the second stage of the fit |
[in] | deltaBSecondStage | whether deltaB should be floated only in the second stage of the fit |
[in] | gammaSecondStage | whether gamma should be floated only in the second stage of the fit |
[in] | rDSecondStage | whether rD should be floated only in the second stage of the fit |
[in] | deltaDSecondStage | whether deltaD should be floated only in the second stage of the fit |
[in] | useGlobalGamma | whether gamma should be shared with other resonances |
[in] | useGlobalADSPars | whether rD and deltaD should be shared with other resonances |
Definition at line 47 of file LauPolarGammaCPCoeffSet.cc.
◆ LauPolarGammaCPCoeffSet() [2/2]
Copy constructor.
This creates cloned parameters, not copies.
- Parameters
-
[in] | rhs | the coefficient to clone |
[in] | cloneOption | special option for the cloning operation |
[in] | constFactor | a constant factor to multiply the clone's parameters by |
Definition at line 151 of file LauPolarGammaCPCoeffSet.cc.
◆ acp()
◆ adjustName()
void LauPolarGammaCPCoeffSet::adjustName |
( |
LauParameter * |
par, |
|
|
const TString & |
oldBaseName |
|
) |
| |
|
privatevirtual |
Prepend the base name and index to the name of a parameter.
- Parameters
-
[in,out] | par | pointer to the parameter |
[in] | oldBaseName | the old base name, which might need to be removed before adding the new one |
Reimplemented from LauAbsCoeffSet.
Definition at line 296 of file LauPolarGammaCPCoeffSet.cc.
◆ antiparticleCoeff()
const LauComplex & LauPolarGammaCPCoeffSet::antiparticleCoeff |
( |
| ) |
|
|
virtual |
◆ createClone()
LauAbsCoeffSet * LauPolarGammaCPCoeffSet::createClone |
( |
const TString & |
newName, |
|
|
CloneOption |
cloneOption = All , |
|
|
Double_t |
constFactor = 1.0 |
|
) |
| |
|
virtual |
Create a clone of the coefficient set.
- Parameters
-
[in] | newName | the clone's name |
[in] | cloneOption | special option for the cloning operation |
[in] | constFactor | a constant factor to multiply the clone's parameters by |
- Returns
- a clone of the coefficient set
Implements LauAbsCoeffSet.
Definition at line 851 of file LauPolarGammaCPCoeffSet.cc.
◆ getParameters()
std::vector< LauParameter * > LauPolarGammaCPCoeffSet::getParameters |
( |
| ) |
|
|
virtual |
◆ operator=()
Copy assignment operator (not implemented)
- Parameters
-
[in] | rhs | the coefficient to clone |
◆ particleCoeff()
const LauComplex & LauPolarGammaCPCoeffSet::particleCoeff |
( |
| ) |
|
|
virtual |
◆ printTableHeading()
void LauPolarGammaCPCoeffSet::printTableHeading |
( |
std::ostream & |
stream | ) |
const |
|
virtual |
◆ printTableRow()
void LauPolarGammaCPCoeffSet::printTableRow |
( |
std::ostream & |
stream | ) |
const |
|
virtual |
◆ setCoeffValues()
void LauPolarGammaCPCoeffSet::setCoeffValues |
( |
const LauComplex & |
coeff, |
|
|
const LauComplex & |
coeffBar, |
|
|
Bool_t |
init |
|
) |
| |
|
virtual |
Set the parameters based on the complex coefficients for particles and antiparticles.
This method is not supported by this class because there are more than four parameters, hence there is not a unique solution.
- Parameters
-
[in] | coeff | the complex coefficient for a particle |
[in] | coeffBar | the complex coefficient for an antiparticle |
[in] | init | whether or not the initial and generated values should also be adjusted |
Implements LauAbsCoeffSet.
Definition at line 734 of file LauPolarGammaCPCoeffSet.cc.
The documentation for this class was generated from the following files:
|