ZFITTER C++ Interface Class. More...
#include <ZFitterWrapper.h>
ZFITTER C++ Interface Class.
Definition at line 85 of file ZFitterWrapper.h.
Public Member Functions | |
double | Af (const int INDF) const |
double | alphaMZ () const |
void | calcALR (const int INDF, const double SQRS, const double POL, double *XSPL, double *XSMI) const |
calculates a left-right polarization asymmetry More... | |
void | calcAPV (double *C1U, double *C1D, double *C2U, double *C2D) const |
calculates C_1u, C_1d, C_2u and C_2d with an exp. input from atomic parity violation measurements in heavy atoms More... | |
void | calcDXS (const int INDF, const double SQRS, const double CSA, double *DXS) const |
calculates a differential cross section w.r.t cos(theta) More... | |
void | calcTauPol (const double SQRS, double *TAUPOL, double *TAUAFB) const |
calculates the tau polarization and tau polarization asymmetry More... | |
void | calcTauPol_2 (const double SQRS, const double GAMZ0, const int MODE, const double GVE, const double XE, const double GVF, const double XF, double *TAUPOL, double *TAUAFB) const |
calculates the tau polarization and tau polarization asymmetry as functions of s, Mz, Gamma_Z and the weak couplings More... | |
void | calcXS (const int INDF, const double SQRS, const double GAMZ0, const double GAMEE, const double GAMFF, double *XS) const |
calculates a cross section as a function of s, Mz, Gamma_Z, Gamma_e, Gamma_f More... | |
void | calcXS_AFB (const int INDF, const double SQRS, double *XS, double *AFB) const |
calculates a cross section and a forward-backward asymmetry More... | |
void | calcXS_AFB_2 (const int INDF, const double SQRS, const double GAMZ0, const int MODE, const double GVE, const double XE, const double GVF, const double XF, double *XS, double *AFB) const |
calculates a cross section and a forward-backward asymmetry as functions of s, Mz, Gamma_Z and the weak couplings More... | |
void | calcXS_AFB_3 (const int INDF, const double SQRS, const double GAMZ0, const int MODE, const double GV2, const double X2, double *XS, double *AFB) const |
calculates a cross section and a forward-backward asymmetry as functions of s, Mz, Gamma_Z and the weak couplings, assuming lepton universality More... | |
void | calcXS_AFB_4 (const int INDF, const double SQRS, const double GAMZ0, const double PFOUR, const double PVAE2, const double PVAF2, double *XS, double *AFB) const |
calculates a cross section and a forward-backward asymmetry as functions of s, Mz, Gamma_Z and the weak couplings More... | |
std::string | convertINDF (const int INDF) const |
void | CutInfo () const |
prints cut info with a ZFITTER subroutine More... | |
void | FlagInfo () const |
prints flag info with a ZFITTER subroutine More... | |
double | Gamma_f (const int INDF) const |
double | Gamma_had () const |
double | Gamma_inv () const |
double | Gamma_W () const |
double | Gamma_Z () const |
const StandardModel & | getModel () const |
complex | gZ_f (const int INDF) const |
effective coupling g_Z^f More... | |
complex | kappaZ_f (const int INDF) const |
effective coupling kappa_Z^f More... | |
double | Mw () const |
void | printConstants () const |
prints constants defined in ZFITTER More... | |
void | printInputs () const |
prints input parameters More... | |
void | printIntermediateResults () const |
prints intermediate results More... | |
complex | rhoZ_f (const int INDF) const |
effective coupling rho_Z^f More... | |
double | s2teff_f (const int INDF) const |
void | setAllCuts (const int ICUT[12], const double ACOL[12], const double EMIN[12], const double S_PR[12], const double ANG0[12], const double ANG1[12], const double SPP[12], const int flagPrint) const |
sets cuts More... | |
void | setAllFlags (const int flags[46], const int flagPrint) const |
sets flags (see Appendix B.2 in hep-ph/0507146) More... | |
void | setCuts (const int INDF, const int ICUT, const double ACOL, const double EMIN, const double S_PR, const double ANG0, const double ANG1, const double SIPP) const |
void | setFlag (const std::string CHFLAG, const int IVALUE) const |
modifies the default values of flags which control various options More... | |
void | setSprimeCut (const int INDF, const double s) const |
sets the s' cut More... | |
double | sw2 () const |
void | test (const int IMISC) const |
Test program calculates cross sections and asymmetries as functions of \(\sqrt{s}\). More... | |
ZFitterWrapper (const StandardModel &mySM) | |
ZFitterWrapper constructor. More... | |
Private Member Functions | |
void | calcCommonBlocks () const |
calculates a number of important EW parameters which are stored in common blocks for later use More... | |
double | getCommonAIKAFZ (const int INDF) const |
double | getCommonAIROFZ (const int INDF) const |
double | getCommonAIVEFZ (const int INDF) const |
double | getCommonALLCH (const int INDF) const |
double | getCommonALLMS (const int INDF) const |
double | getCommonALPHST () const |
double | getCommonARKAFZ (const int INDF) const |
double | getCommonAROTFZ (const int INDF) const |
double | getCommonARROFZ (const int INDF) const |
double | getCommonARSEFZ (const int INDF) const |
double | getCommonARVEFZ (const int INDF) const |
double | getCommonPARTW (const int i) const |
double | getCommonPARTZ (const int INDF) const |
double | getCommonS2TEFF (const int INDF) const |
double | getCommonSIN2TW () const |
double | getCommonWIDTHS (const int INDF) const |
void | init (const int IPRINT) const |
initializes flag and cut variables with their default values. called by the constructors More... | |
Private Attributes | |
double | AlsMzCache |
double | DAle5MzCache |
double | DMASS |
bool | IsFlagChanged |
double | MhCache |
double | MtCache |
double | MzCache |
const StandardModel & | SM |
double | UMASS |
double | V_TB |
ZFitterWrapper::ZFitterWrapper | ( | const StandardModel & | mySM | ) |
ZFitterWrapper constructor.
[in] | mySM | reference to a StandardModel object |
Definition at line 17 of file ZFitterWrapper.cpp.
double ZFitterWrapper::Af | ( | const int | INDF | ) | const |
[in] | INDF | fermion index |
Definition at line 191 of file ZFitterWrapper.cpp.
double ZFitterWrapper::alphaMZ | ( | ) | const |
Definition at line 203 of file ZFitterWrapper.cpp.
void ZFitterWrapper::calcALR | ( | const int | INDF, |
const double | SQRS, | ||
const double | POL, | ||
double * | XSPL, | ||
double * | XSMI | ||
) | const |
calculates a left-right polarization asymmetry
[in] | INDF | fermion index |
[in] | SQRS | sqrt(s) |
[in] | POL | degree of the longitudinal e^- polarization |
[out] | XSPL | cross section for a given +POL |
[out] | XSMI | cross section for a given -POL |
Definition at line 285 of file ZFitterWrapper.cpp.
void ZFitterWrapper::calcAPV | ( | double * | C1U, |
double * | C1D, | ||
double * | C2U, | ||
double * | C2D | ||
) | const |
calculates C_1u, C_1d, C_2u and C_2d with an exp. input from atomic parity violation measurements in heavy atoms
[out] | C1U | coupling in the electron-quark parity-violating Hamiltonian |
[out] | C1D | coupling in the electron-quark parity-violating Hamiltonian |
[out] | C2U | coupling in the electron-quark parity-violating Hamiltonian |
[out] | C2D | coupling in the electron-quark parity-violating Hamiltonian |
Definition at line 293 of file ZFitterWrapper.cpp.
|
private |
calculates a number of important EW parameters which are stored in common blocks for later use
Definition at line 465 of file ZFitterWrapper.cpp.
void ZFitterWrapper::calcDXS | ( | const int | INDF, |
const double | SQRS, | ||
const double | CSA, | ||
double * | DXS | ||
) | const |
calculates a differential cross section w.r.t cos(theta)
[in] | INDF | fermion index |
[in] | SQRS | sqrt(s) |
[in] | CSA | cosine of scattering angle |
[out] | DXS | differential cross section |
Definition at line 268 of file ZFitterWrapper.cpp.
void ZFitterWrapper::calcTauPol | ( | const double | SQRS, |
double * | TAUPOL, | ||
double * | TAUAFB | ||
) | const |
calculates the tau polarization and tau polarization asymmetry
[in] | SQRS | sqrt(s) |
[out] | TAUPOL | tau polarization |
[out] | TAUAFB | tau polarization forward-backward asymmetry |
Definition at line 277 of file ZFitterWrapper.cpp.
void ZFitterWrapper::calcTauPol_2 | ( | const double | SQRS, |
const double | GAMZ0, | ||
const int | MODE, | ||
const double | GVE, | ||
const double | XE, | ||
const double | GVF, | ||
const double | XF, | ||
double * | TAUPOL, | ||
double * | TAUAFB | ||
) | const |
calculates the tau polarization and tau polarization asymmetry as functions of s, Mz, Gamma_Z and the weak couplings
[in] | SQRS | sqrt(s) |
[in] | GAMZ0 | the total width of Z |
[in] | MODE | meaning of XE/XF (electron/fermion), 0 for axial vector couplings, 1 for rho |
[in] | GVE | effective vector coupling (electron) |
[in] | XE | axial vector coupling or rho (electron) |
[in] | GVF | effective vector coupling (fermion) |
[in] | XF | axial vector coupling or rho (fermion) |
[out] | TAUPOL | tau polarization |
[out] | TAUAFB | tau polarization forward-backward asymmetry |
Definition at line 337 of file ZFitterWrapper.cpp.
void ZFitterWrapper::calcXS | ( | const int | INDF, |
const double | SQRS, | ||
const double | GAMZ0, | ||
const double | GAMEE, | ||
const double | GAMFF, | ||
double * | XS | ||
) | const |
calculates a cross section as a function of s, Mz, Gamma_Z, Gamma_e, Gamma_f
[in] | INDF | INDF fermion index |
[in] | SQRS | sqrt(s) |
[in] | GAMZ0 | the total width of Z |
[in] | GAMEE | the e^+e^- partial width of Z |
[in] | GAMFF | the f\bar{f} partial width of Z |
[out] | XS | cross section in nb |
Definition at line 301 of file ZFitterWrapper.cpp.
void ZFitterWrapper::calcXS_AFB | ( | const int | INDF, |
const double | SQRS, | ||
double * | XS, | ||
double * | AFB | ||
) | const |
calculates a cross section and a forward-backward asymmetry
[in] | INDF | fermion index |
[in] | SQRS | sqrt(s) |
[out] | XS | cross section in nb |
[out] | AFB | forward-backward asymmetry |
Definition at line 259 of file ZFitterWrapper.cpp.
void ZFitterWrapper::calcXS_AFB_2 | ( | const int | INDF, |
const double | SQRS, | ||
const double | GAMZ0, | ||
const int | MODE, | ||
const double | GVE, | ||
const double | XE, | ||
const double | GVF, | ||
const double | XF, | ||
double * | XS, | ||
double * | AFB | ||
) | const |
calculates a cross section and a forward-backward asymmetry as functions of s, Mz, Gamma_Z and the weak couplings
[in] | INDF | fermion index [1-9, 11] |
[in] | SQRS | sqrt(s) |
[in] | GAMZ0 | the total width of Z |
[in] | MODE | meaning of XE/XF (electron/fermion), 0 for axial vector couplings, 1 for rho |
[in] | GVE | effective vector coupling (electron) |
[in] | XE | axial vector coupling or rho (electron) |
[in] | GVF | effective vector coupling (fermion) |
[in] | XF | axial vector coupling or rho (fermion) |
[out] | XS | cross section in nb |
[out] | AFB | forward-backward asymmetry |
Definition at line 309 of file ZFitterWrapper.cpp.
void ZFitterWrapper::calcXS_AFB_3 | ( | const int | INDF, |
const double | SQRS, | ||
const double | GAMZ0, | ||
const int | MODE, | ||
const double | GV2, | ||
const double | X2, | ||
double * | XS, | ||
double * | AFB | ||
) | const |
calculates a cross section and a forward-backward asymmetry as functions of s, Mz, Gamma_Z and the weak couplings, assuming lepton universality
[in] | INDF | fermion index [1-3, 11] |
[in] | SQRS | sqrt(s) |
[in] | GAMZ0 | the total width of Z |
[in] | MODE | meaning of X2, 0 for axial vector coupling squared, 1 for rho squared |
[in] | GV2 | effective vector coupling squared |
[in] | X2 | eff. axial vector coupling or rho, squared |
[out] | XS | cross section in nb |
[out] | AFB | forward-backward asymmetry |
Definition at line 319 of file ZFitterWrapper.cpp.
void ZFitterWrapper::calcXS_AFB_4 | ( | const int | INDF, |
const double | SQRS, | ||
const double | GAMZ0, | ||
const double | PFOUR, | ||
const double | PVAE2, | ||
const double | PVAF2, | ||
double * | XS, | ||
double * | AFB | ||
) | const |
calculates a cross section and a forward-backward asymmetry as functions of s, Mz, Gamma_Z and the weak couplings
[in] | INDF | fermion index |
[in] | SQRS | sqrt(s) |
[in] | GAMZ0 | the total width of Z |
[in] | PFOUR | VE*AE*VF*AF |
[in] | PVAE2 | VE**2+AE**2 |
[in] | PVAF2 | VF**2+AF**2 |
[out] | XS | cross section in nb |
[out] | AFB | forward-backward asymmetry |
Definition at line 328 of file ZFitterWrapper.cpp.
std::string ZFitterWrapper::convertINDF | ( | const int | INDF | ) | const |
[in] | INDF | fermion index |
Definition at line 434 of file ZFitterWrapper.cpp.
void ZFitterWrapper::CutInfo | ( | ) | const |
prints cut info with a ZFITTER subroutine
Definition at line 155 of file ZFitterWrapper.cpp.
void ZFitterWrapper::FlagInfo | ( | ) | const |
prints flag info with a ZFITTER subroutine
Definition at line 93 of file ZFitterWrapper.cpp.
double ZFitterWrapper::Gamma_f | ( | const int | INDF | ) | const |
[in] | INDF | fermion index |
Definition at line 233 of file ZFitterWrapper.cpp.
double ZFitterWrapper::Gamma_had | ( | ) | const |
Definition at line 245 of file ZFitterWrapper.cpp.
double ZFitterWrapper::Gamma_inv | ( | ) | const |
Definition at line 239 of file ZFitterWrapper.cpp.
double ZFitterWrapper::Gamma_W | ( | ) | const |
Definition at line 215 of file ZFitterWrapper.cpp.
double ZFitterWrapper::Gamma_Z | ( | ) | const |
Definition at line 251 of file ZFitterWrapper.cpp.
|
private |
INDF[in] | INDF fermion index |
Definition at line 629 of file ZFitterWrapper.cpp.
|
private |
INDF[in] | INDF fermion index |
Definition at line 619 of file ZFitterWrapper.cpp.
|
private |
INDF[in] | INDF fermion index |
Definition at line 639 of file ZFitterWrapper.cpp.
|
private |
INDF | fermion index |
Definition at line 516 of file ZFitterWrapper.cpp.
|
private |
INDF | fermion index |
Definition at line 526 of file ZFitterWrapper.cpp.
|
private |
Definition at line 496 of file ZFitterWrapper.cpp.
|
private |
INDF[in] | INDF fermion index |
Definition at line 579 of file ZFitterWrapper.cpp.
|
private |
INDF[in] | INDF fermion index |
Definition at line 609 of file ZFitterWrapper.cpp.
|
private |
INDF[in] | INDF fermion index |
Definition at line 569 of file ZFitterWrapper.cpp.
|
private |
INDF[in] | INDF fermion index |
Definition at line 599 of file ZFitterWrapper.cpp.
|
private |
INDF[in] | INDF fermion index |
Definition at line 589 of file ZFitterWrapper.cpp.
|
private |
[in] | i | 0:leptons, 1:quarks, 3:total |
Definition at line 556 of file ZFitterWrapper.cpp.
|
private |
[in] | INDF | fermion index |
Definition at line 546 of file ZFitterWrapper.cpp.
|
private |
[in] | INDF | fermion index |
Definition at line 506 of file ZFitterWrapper.cpp.
|
private |
Definition at line 501 of file ZFitterWrapper.cpp.
|
private |
[in] | INDF | fermion index |
Definition at line 536 of file ZFitterWrapper.cpp.
|
inline |
Definition at line 408 of file ZFitterWrapper.h.
complex ZFitterWrapper::gZ_f | ( | const int | INDF | ) | const |
effective coupling g_Z^f
[in] | INDF | fermion index |
Definition at line 180 of file ZFitterWrapper.cpp.
|
private |
initializes flag and cut variables with their default values. called by the constructors
[in] | IPRINT | 0 for no output |
Definition at line 460 of file ZFitterWrapper.cpp.
complex ZFitterWrapper::kappaZ_f | ( | const int | INDF | ) | const |
effective coupling kappa_Z^f
[in] | INDF | fermion index |
Definition at line 172 of file ZFitterWrapper.cpp.
double ZFitterWrapper::Mw | ( | ) | const |
Definition at line 209 of file ZFitterWrapper.cpp.
void ZFitterWrapper::printConstants | ( | ) | const |
prints constants defined in ZFITTER
Definition at line 349 of file ZFitterWrapper.cpp.
void ZFitterWrapper::printInputs | ( | ) | const |
void ZFitterWrapper::printIntermediateResults | ( | ) | const |
prints intermediate results
Definition at line 376 of file ZFitterWrapper.cpp.
complex ZFitterWrapper::rhoZ_f | ( | const int | INDF | ) | const |
effective coupling rho_Z^f
[in] | INDF | fermion index |
Definition at line 164 of file ZFitterWrapper.cpp.
double ZFitterWrapper::s2teff_f | ( | const int | INDF | ) | const |
[in] | INDF | fermion index |
Definition at line 227 of file ZFitterWrapper.cpp.
void ZFitterWrapper::setAllCuts | ( | const int | ICUT[12], |
const double | ACOL[12], | ||
const double | EMIN[12], | ||
const double | S_PR[12], | ||
const double | ANG0[12], | ||
const double | ANG1[12], | ||
const double | SPP[12], | ||
const int | flagPrint | ||
) | const |
sets cuts
[in] | ICUT | controls thekinds of cuts to be used |
[in] | ACOL | acolinearity cut |
[in] | EMIN | minimum fermion energy |
[in] | S_PR | s' |
[in] | ANG0 | minimum polar angle theta (deg) |
[in] | ANG1 | maximum polar angle theta (deg) |
[in] | SPP | s cut for for the secondary pairs, ISPP+FSPP |
[in] | flagPrint | prints flags if flagPrint=1 |
Definition at line 109 of file ZFitterWrapper.cpp.
void ZFitterWrapper::setAllFlags | ( | const int | flags[46], |
const int | flagPrint | ||
) | const |
sets flags (see Appendix B.2 in hep-ph/0507146)
[in] | flags | the array of the flags |
[in] | flagPrint | prints flags if flagPrint=1 |
Definition at line 62 of file ZFitterWrapper.cpp.
void ZFitterWrapper::setCuts | ( | const int | INDF, |
const int | ICUT, | ||
const double | ACOL, | ||
const double | EMIN, | ||
const double | S_PR, | ||
const double | ANG0, | ||
const double | ANG1, | ||
const double | SIPP | ||
) | const |
@bfief defines kinematic and geometric cuts for each fermion channel
[in] | INDF | fermion index |
[in] | ICUT | flag for cuts, -1, 0, 1, 2 or 3 |
[in] | ACOL | acolinearity cut |
[in] | EMIN | minimum fermion energy |
[in] | S_PR | s' |
[in] | ANG0 | minimum polar angle theta (deg) |
[in] | ANG1 | maximum polar angle theta (deg) |
[in] | SIPP | s cut for the secondary pairs, ISPP+FSPP |
Definition at line 102 of file ZFitterWrapper.cpp.
void ZFitterWrapper::setFlag | ( | const std::string | CHFLAG, |
const int | IVALUE | ||
) | const |
modifies the default values of flags which control various options
[in] | CHFLAG | the string identifer of a ZFITTER flag |
[in] | IVALUE | the value to assign to the flag |
Definition at line 56 of file ZFitterWrapper.cpp.
void ZFitterWrapper::setSprimeCut | ( | const int | INDF, |
const double | s | ||
) | const |
sets the s' cut
[in] | INDF | fermion index |
[in] | s | invariant-mass-squared for e+ e- in the initial state |
Definition at line 139 of file ZFitterWrapper.cpp.
double ZFitterWrapper::sw2 | ( | ) | const |
Definition at line 221 of file ZFitterWrapper.cpp.
void ZFitterWrapper::test | ( | const int | IMISC | ) | const |
Test program calculates cross sections and asymmetries as functions of \(\sqrt{s}\).
[in] | IMISC | 0 for non-scaled \(\rho_Z^f\)'s and 1 for scaled \(\rho_Z^f\)'s |
Definition at line 452 of file ZFitterWrapper.cpp.
|
private |
Definition at line 421 of file ZFitterWrapper.h.
|
private |
Definition at line 421 of file ZFitterWrapper.h.
|
private |
Definition at line 426 of file ZFitterWrapper.h.
|
mutableprivate |
Definition at line 418 of file ZFitterWrapper.h.
|
private |
Definition at line 421 of file ZFitterWrapper.h.
|
private |
Definition at line 421 of file ZFitterWrapper.h.
|
mutableprivate |
Definition at line 421 of file ZFitterWrapper.h.
|
private |
Definition at line 416 of file ZFitterWrapper.h.
|
private |
Definition at line 425 of file ZFitterWrapper.h.
|
private |
Definition at line 424 of file ZFitterWrapper.h.