#include <AmpsPdfFlexiFastCPV.h>
|
void | parametersChanged () |
|
void | beginFit () |
|
void | endFit () |
|
void | printIntegralVals () |
|
double | un_normalised_noPs (IDalitzEvent &evt) |
|
virtual double | getVal (IDalitzEvent &evt) |
|
virtual double | getVal_withPs (IDalitzEvent &evt) |
|
virtual double | getVal_noPs (IDalitzEvent &evt) |
|
virtual double | getVal (IDalitzEvent *evt) |
|
virtual double | getVal_withPs (IDalitzEvent *evt) |
|
virtual double | getVal_noPs (IDalitzEvent *evt) |
|
virtual DalitzHistoSet | histoSet () |
|
void | doFinalStatsAndSaveForAmp12 (MINT::Minimiser *min=0, const std::string &fname="FitAmpResults", const std::string &fnameROOT="fitFractions") |
|
| AmpsPdfFlexiFastCPV (AmpsPdfFlexiFast *amps1, AmpsPdfFlexiFast *amps2, AmpsPdfFlexiFast *ampsSum, MINT::FitParameter &r, MINT::FitParameter &delta, MINT::FitParameter &gamma, MINT::FitParameter &tau, MINT::FitParameter &dGamma, MINT::FitParameter &dm, MINT::FitParameter &eff_tag, MINT::FitParameter &w) |
|
void | parametersChanged () |
|
void | beginFit () |
|
void | endFit () |
|
void | printIntegralVals () |
|
double | un_normalised_noPs (IDalitzEvent &evt) |
|
virtual double | getVal (IDalitzEvent &evt) |
|
virtual double | getVal_withPs (IDalitzEvent &evt) |
|
virtual double | getVal_noPs (IDalitzEvent &evt) |
|
virtual double | getVal (IDalitzEvent *evt) |
|
virtual double | getVal_withPs (IDalitzEvent *evt) |
|
virtual double | getVal_noPs (IDalitzEvent *evt) |
|
virtual DalitzHistoSet | histoSet () |
|
void | doFinalStatsAndSaveForAmp12 (MINT::Minimiser *min=0, const std::string &fname="FitAmpResults", const std::string &fnameROOT="fitFractions") |
|
| AmpsPdfFlexiFastCPV (AmpsPdfFlexiFast *amps1, AmpsPdfFlexiFast *amps2, AmpsPdfFlexiFast *ampsSum, MINT::FitParameter &r, MINT::FitParameter &delta, MINT::FitParameter &gamma, MINT::FitParameter &tau, MINT::FitParameter &dGamma, MINT::FitParameter &dm, MINT::FitParameter &eff_tag, MINT::FitParameter &w) |
|
| PdfBase () |
|
| PdfBase (const PdfBase< IDalitzEvent > &) |
|
virtual double | RealVal (IDalitzEvent &evt) |
|
virtual double | getNewVal (IDalitzEvent &evt) |
|
virtual | ~PdfBase () |
|
virtual void | Gradient (IDalitzEvent &evt, std::vector< double > &grad, MINT::MinuitParameterSet *mps) |
|
virtual bool | useAnalyticGradient () |
|
virtual | ~IReturnRealForEvent () |
|
Definition at line 13 of file AmpsPdfFlexiFastCPV.h.
◆ AmpsPdfFlexiFastCPV() [1/2]
AmpsPdfFlexiFastCPV::AmpsPdfFlexiFastCPV |
( |
AmpsPdfFlexiFast * |
amps1, |
|
|
AmpsPdfFlexiFast * |
amps2, |
|
|
AmpsPdfFlexiFast * |
ampsSum, |
|
|
MINT::FitParameter & |
r, |
|
|
MINT::FitParameter & |
delta, |
|
|
MINT::FitParameter & |
gamma, |
|
|
MINT::FitParameter & |
tau, |
|
|
MINT::FitParameter & |
dGamma, |
|
|
MINT::FitParameter & |
dm, |
|
|
MINT::FitParameter & |
eff_tag, |
|
|
MINT::FitParameter & |
w |
|
) |
| |
|
inline |
Definition at line 128 of file AmpsPdfFlexiFastCPV.h.
AmpsPdfFlexiFast * _amps1
std::complex< double > _intAAbar
MINT::FitParameter & _dGamma
AmpsPdfFlexiFast * _ampsSum
MINT::FitParameter & _tau
MINT::FitParameter & _delta
MINT::FitParameter & _eff_tag
AmpsPdfFlexiFast * _amps2
MINT::FitParameter & _gamma
◆ AmpsPdfFlexiFastCPV() [2/2]
AmpsPdfFlexiFastCPV::AmpsPdfFlexiFastCPV |
( |
AmpsPdfFlexiFast * |
amps1, |
|
|
AmpsPdfFlexiFast * |
amps2, |
|
|
AmpsPdfFlexiFast * |
ampsSum, |
|
|
MINT::FitParameter & |
r, |
|
|
MINT::FitParameter & |
delta, |
|
|
MINT::FitParameter & |
gamma, |
|
|
MINT::FitParameter & |
tau, |
|
|
MINT::FitParameter & |
dGamma, |
|
|
MINT::FitParameter & |
dm, |
|
|
MINT::FitParameter & |
eff_tag, |
|
|
MINT::FitParameter & |
w |
|
) |
| |
|
inline |
Definition at line 985 of file BsDsKpipi_TD_ampFit.cpp.
988 _amps1(amps1),
_amps2(amps2),
_ampsSum(ampsSum),
_r(r),
_delta(delta),
_gamma(gamma),
_tau(tau),
_dGamma(dGamma),
_dm(dm),
_eff_tag(eff_tag),
_w(w),
AmpsPdfFlexiFast * _amps1
std::complex< double > _intAAbar
MINT::FitParameter & _dGamma
AmpsPdfFlexiFast * _ampsSum
MINT::FitParameter & _tau
MINT::FitParameter & _delta
MINT::FitParameter & _eff_tag
AmpsPdfFlexiFast * _amps2
MINT::FitParameter & _gamma
◆ beginFit() [1/2]
void AmpsPdfFlexiFastCPV::beginFit |
( |
| ) |
|
|
inlinevirtual |
◆ beginFit() [2/2]
void AmpsPdfFlexiFastCPV::beginFit |
( |
| ) |
|
|
inlinevirtual |
◆ doFinalStatsAndSaveForAmp12() [1/2]
void AmpsPdfFlexiFastCPV::doFinalStatsAndSaveForAmp12 |
( |
MINT::Minimiser * |
min = 0 , |
|
|
const std::string & |
fname = "FitAmpResults" , |
|
|
const std::string & |
fnameROOT = "fitFractions" |
|
) |
| |
|
inline |
Definition at line 120 of file AmpsPdfFlexiFastCPV.h.
AmpsPdfFlexiFast * _amps1
AmpsPdfFlexiFast * _amps2
void doFinalStatsAndSave(MINT::Minimiser *min=0, const std::string &fname="FitAmpResults.txt", const std::string &fnameROOT="fitFractions.root")
◆ doFinalStatsAndSaveForAmp12() [2/2]
void AmpsPdfFlexiFastCPV::doFinalStatsAndSaveForAmp12 |
( |
MINT::Minimiser * |
min = 0 , |
|
|
const std::string & |
fname = "FitAmpResults" , |
|
|
const std::string & |
fnameROOT = "fitFractions" |
|
) |
| |
|
inline |
Definition at line 978 of file BsDsKpipi_TD_ampFit.cpp.
AmpsPdfFlexiFast * _amps1
AmpsPdfFlexiFast * _amps2
void doFinalStatsAndSave(MINT::Minimiser *min=0, const std::string &fname="FitAmpResults.txt", const std::string &fnameROOT="fitFractions.root")
◆ endFit() [1/2]
void AmpsPdfFlexiFastCPV::endFit |
( |
| ) |
|
|
inlinevirtual |
◆ endFit() [2/2]
void AmpsPdfFlexiFastCPV::endFit |
( |
| ) |
|
|
inlinevirtual |
◆ getVal() [1/4]
virtual double AmpsPdfFlexiFastCPV::getVal |
( |
IDalitzEvent & |
evt | ) |
|
|
inlinevirtual |
Implements IDalitzPdf.
Definition at line 84 of file AmpsPdfFlexiFastCPV.h.
89 double r = (double)
_r;
90 const double Gamma = 1./((double)
_tau);
91 const std::complex<double> phase_diff = std::polar((
double)r,((
double)
_delta -(
double)
_gamma*f)/360.*2*
pi);
92 const double int_interference = (phase_diff*
_intAAbar).real();
95 std::cout <<
"AmpsPdfFlexiFastCPV:: _norm = -1, should not have happened." << std::endl;
96 throw "can't deal with that";
double un_normalised_noPs(IDalitzEvent &evt)
std::complex< double > _intAAbar
MINT::FitParameter & _dGamma
MINT::FitParameter & _tau
MINT::FitParameter & _delta
virtual double getValueFromVector(unsigned int i) const =0
MINT::FitParameter & _gamma
◆ getVal() [2/4]
virtual double AmpsPdfFlexiFastCPV::getVal |
( |
IDalitzEvent * |
evt | ) |
|
|
inlinevirtual |
◆ getVal() [3/4]
virtual double AmpsPdfFlexiFastCPV::getVal |
( |
IDalitzEvent & |
evt | ) |
|
|
inlinevirtual |
Implements IDalitzPdf.
Definition at line 942 of file BsDsKpipi_TD_ampFit.cpp.
947 double r = (double)
_r;
948 const double Gamma = 1./((double)
_tau);
949 const complex<double> phase_diff = polar((
double)r,((
double)
_delta -(
double)
_gamma*f)/360.*2*
pi);
950 const double int_interference = (phase_diff*
_intAAbar).real();
953 cout <<
"AmpsPdfFlexiFastCPV:: _norm = -1, should not have happened." << endl;
954 throw "can't deal with that";
double un_normalised_noPs(IDalitzEvent &evt)
std::complex< double > _intAAbar
MINT::FitParameter & _dGamma
MINT::FitParameter & _tau
MINT::FitParameter & _delta
virtual double getValueFromVector(unsigned int i) const =0
MINT::FitParameter & _gamma
◆ getVal() [4/4]
virtual double AmpsPdfFlexiFastCPV::getVal |
( |
IDalitzEvent * |
evt | ) |
|
|
inlinevirtual |
◆ getVal_noPs() [1/4]
virtual double AmpsPdfFlexiFastCPV::getVal_noPs |
( |
IDalitzEvent & |
evt | ) |
|
|
inlinevirtual |
◆ getVal_noPs() [2/4]
virtual double AmpsPdfFlexiFastCPV::getVal_noPs |
( |
IDalitzEvent * |
evt | ) |
|
|
inlinevirtual |
◆ getVal_noPs() [3/4]
virtual double AmpsPdfFlexiFastCPV::getVal_noPs |
( |
IDalitzEvent & |
evt | ) |
|
|
inlinevirtual |
◆ getVal_noPs() [4/4]
virtual double AmpsPdfFlexiFastCPV::getVal_noPs |
( |
IDalitzEvent * |
evt | ) |
|
|
inlinevirtual |
◆ getVal_withPs() [1/4]
virtual double AmpsPdfFlexiFastCPV::getVal_withPs |
( |
IDalitzEvent & |
evt | ) |
|
|
inlinevirtual |
◆ getVal_withPs() [2/4]
virtual double AmpsPdfFlexiFastCPV::getVal_withPs |
( |
IDalitzEvent * |
evt | ) |
|
|
inlinevirtual |
◆ getVal_withPs() [3/4]
virtual double AmpsPdfFlexiFastCPV::getVal_withPs |
( |
IDalitzEvent & |
evt | ) |
|
|
inlinevirtual |
◆ getVal_withPs() [4/4]
virtual double AmpsPdfFlexiFastCPV::getVal_withPs |
( |
IDalitzEvent * |
evt | ) |
|
|
inlinevirtual |
◆ histoSet() [1/2]
◆ histoSet() [2/2]
◆ parametersChanged() [1/2]
void AmpsPdfFlexiFastCPV::parametersChanged |
( |
| ) |
|
|
inlinevirtual |
Reimplemented from MINT::PdfBase< IDalitzEvent >.
Definition at line 36 of file AmpsPdfFlexiFastCPV.h.
std::complex< double > _intAAbar
AmpsPdfFlexiFast * _ampsSum
std::complex< double > ComplexSumForMatchingPatterns(bool match)
double integralForMatchingPatterns(bool match, int pattern_sign)
◆ parametersChanged() [2/2]
void AmpsPdfFlexiFastCPV::parametersChanged |
( |
| ) |
|
|
inlinevirtual |
Reimplemented from MINT::PdfBase< IDalitzEvent >.
Definition at line 894 of file BsDsKpipi_TD_ampFit.cpp.
std::complex< double > _intAAbar
AmpsPdfFlexiFast * _ampsSum
std::complex< double > ComplexSumForMatchingPatterns(bool match)
double integralForMatchingPatterns(bool match, int pattern_sign)
◆ printIntegralVals() [1/2]
void AmpsPdfFlexiFastCPV::printIntegralVals |
( |
| ) |
|
|
inline |
Definition at line 51 of file AmpsPdfFlexiFastCPV.h.
53 std::cout <<
"intA = " <<
_intA << std::endl;
54 std::cout <<
"intAbar = " <<
_intAbar << std::endl;
55 std::cout <<
"intAAbar = " <<
_intAAbar.real() << std::endl;
std::complex< double > _intAAbar
AmpsPdfFlexiFast * _ampsSum
double getIntegralValue() const
◆ printIntegralVals() [2/2]
void AmpsPdfFlexiFastCPV::printIntegralVals |
( |
| ) |
|
|
inline |
Definition at line 909 of file BsDsKpipi_TD_ampFit.cpp.
911 cout <<
"intA = " <<
_intA << endl;
912 cout <<
"intAbar = " <<
_intAbar << endl;
913 cout <<
"intAAbar = " <<
_intAAbar.real() << endl;
std::complex< double > _intAAbar
AmpsPdfFlexiFast * _ampsSum
double getIntegralValue() const
◆ un_normalised_noPs() [1/2]
double AmpsPdfFlexiFastCPV::un_normalised_noPs |
( |
IDalitzEvent & |
evt | ) |
|
|
inline |
Definition at line 58 of file AmpsPdfFlexiFastCPV.h.
67 double r = (double)
_r;
68 const std::complex<double> phase_diff = std::polar((
double)r,((
double)
_delta -(
double)
_gamma*f)/360.*2*
pi);
73 const double val = exp(-fabs(t)/(
double)
_tau) *
75 (2.-fabs(q))*(norm(amp) + norm(amp_bar))*cosh((
double)
_dGamma/2.*t)
76 +f*q*(1.-2.*w)*(norm(amp) - norm(amp_bar)) *cos((
double)
_dm*t)
77 -(2.-fabs(q))*2.0*real(amp_bar*conj(amp))*sinh((
double)
_dGamma/2.*t)
78 -f*2.0*q*(1.-2.*w)*imag(amp_bar*conj(amp))*sin((
double)
_dm*t)
AmpsPdfFlexiFast * _amps1
MINT::FitParameter & _dGamma
MINT::FitParameter & _tau
MINT::FitParameter & _delta
virtual double getValueFromVector(unsigned int i) const =0
MINT::FitParameter & _eff_tag
std::complex< double > ComplexVal_un_normalised_noPs(IDalitzEvent &evt)
AmpsPdfFlexiFast * _amps2
MINT::FitParameter & _gamma
◆ un_normalised_noPs() [2/2]
double AmpsPdfFlexiFastCPV::un_normalised_noPs |
( |
IDalitzEvent & |
evt | ) |
|
|
inline |
Definition at line 916 of file BsDsKpipi_TD_ampFit.cpp.
925 double r = (double)
_r;
926 const complex<double> phase_diff = polar((
double)r,((
double)
_delta -(
double)
_gamma*f)/360.*2*
pi);
931 const double val = exp(-fabs(t)/(
double)
_tau) *
933 (2.-fabs(q))*(norm(amp) + norm(amp_bar))*cosh((
double)
_dGamma/2.*t)
934 +f*q*(1.-2.*w)*(norm(amp) - norm(amp_bar)) *cos((
double)
_dm*t)
935 -(2.-fabs(q))*2.0*real(amp_bar*conj(amp))*sinh((
double)
_dGamma/2.*t)
936 -f*2.0*q*(1.-2.*w)*imag(amp_bar*conj(amp))*sin((
double)
_dm*t)
AmpsPdfFlexiFast * _amps1
MINT::FitParameter & _dGamma
MINT::FitParameter & _tau
MINT::FitParameter & _delta
virtual double getValueFromVector(unsigned int i) const =0
MINT::FitParameter & _eff_tag
std::complex< double > ComplexVal_un_normalised_noPs(IDalitzEvent &evt)
AmpsPdfFlexiFast * _amps2
MINT::FitParameter & _gamma
◆ _amps1
◆ _amps2
◆ _ampsSum
◆ _delta [1/2]
◆ _delta [2/2]
◆ _dGamma [1/2]
◆ _dGamma [2/2]
◆ _dm [1/2]
◆ _dm [2/2]
◆ _eff_tag [1/2]
◆ _eff_tag [2/2]
◆ _gamma [1/2]
◆ _gamma [2/2]
◆ _intA
double AmpsPdfFlexiFastCPV::_intA |
|
protected |
◆ _intAAbar [1/2]
std::complex<double> AmpsPdfFlexiFastCPV::_intAAbar |
|
protected |
◆ _intAAbar [2/2]
complex<double> AmpsPdfFlexiFastCPV::_intAAbar |
|
protected |
◆ _intAbar
double AmpsPdfFlexiFastCPV::_intAbar |
|
protected |
◆ _r [1/2]
◆ _r [2/2]
◆ _tau [1/2]
◆ _tau [2/2]
◆ _w [1/2]
◆ _w [2/2]
The documentation for this class was generated from the following files: