|
C++ Interface to Tauola
|
Data Structures | |
| class | DecayList |
| class | Log |
| class | Plots |
| class | Tauola |
| class | TauolaEvent |
| class | TauolaHEPEVTEvent |
| class | TauolaHEPEVTParticle |
| class | TauolaHepMC3Event |
| class | TauolaHepMC3Particle |
| class | TauolaHepMCEvent |
| class | TauolaHepMCParticle |
| class | TauolaParticle |
| class | TauolaParticlePair |
Functions | |
| void | dekay_ (int *state, double pol[4]) |
| void | taupi0_ (double pp[4], int *k) |
| void | tauk0s_ (double pp[4], int *k) |
| void | taueta_ (double pp[4], int *k) |
| void | TauolaDecay (int sign_type, double *polx, double *poly, double *polz, double *poln) |
| void | TauolaWriteDecayToEventRecord (int sign_type) |
| void | filhep_ (int *n, int *status, int *pdg_id, int *mother_first, int *mother_last, int *daughter_first, int *daughter_last, float p4[4], float *p_inv_mass, bool *photos_flag) |
| void | tralo4_ (float *kto, float p[4], float q[4], float *ams) |
| void | inietc_ (float jak1=0, float jak2=0, float itdkrc=1, float ifphot=1) |
| void | inimas_ () |
| void | iniphx_ (float *i) |
| void | initdk_ () |
| void | iniphy_ (float *i) |
| void | f_interface_tauolaInitialize (int pdg_id, int firstDecayMode, int secondDecayMode, bool rad, double rad_cut_off, double iniphy) |
| void | f_interface_tauolaInitialise (int pdg_id, int firstDecayMode, int secondDecayMode, bool rad, double rad_cut_off, double iniphy) |
| double | f_getTauMass () |
| void | luhepc_ (float flag=2) |
| void | lulist_ (float flag=2) |
| void | inirchl_ (int *flag) |
| void | rmarin_ (int *ijklin, int *ntotin, int *ntot2n) |
| double | plzap0_ (int *incoming_pdg_id, int *outgoing_pdg_id, double *invMass, double *cosTheta) |
| std::string | version () |
| float | sgn (float a) |
| void | filhepmc_print_details (int *n, int *status, int *pdg_id, int *mother_first, int *mother_last, int *daughter_first, int *daughter_last, float p4[4], float *p_inv_mass, bool *photos_flag) |
Variables | ||
| struct { | ||
| int npa | ||
| int npb | ||
| } | taupos_ | |
| struct { | ||
| int idff | ||
| } | idfc_ | |
| struct { | ||
| float amtau | ||
| float amnuta | ||
| float amell | ||
| float amnue | ||
| float ammu | ||
| float amnumu | ||
| float ampiz | ||
| float ampi | ||
| float amro | ||
| float gamro | ||
| float ama1 | ||
| float gama1 | ||
| float amk | ||
| float amkz | ||
| float amkst | ||
| float gamkst | ||
| } | parmas_ | |
| struct { | ||
| int jak1 | ||
| int jak2 | ||
| int jakp | ||
| int jakm | ||
| int ktom | ||
| } | jaki_ | |
| struct { | ||
| double xk0dec | ||
| int itdkrc | ||
| } | taurad_ | |
| struct { | ||
| float gamprt [30] | ||
| int jlist [30] | ||
| int nchan | ||
| } | taubra_ | |
| struct { | ||
| float bra1 | ||
| float brk0 | ||
| float brk0b | ||
| float brks | ||
| } | taukle_ | |
This file contains an interface between the C++ code and TAUOLA FORTRAN routines for decaying taus. TauolaDecay() should be used by C++ code. This call the dexay_ or dekay_ routines defined in tauola.f
This file contains an interface between the C++ code and TAUOLA FORTRAN routines for tauola initalization.
f_interface_tauolaInitialize() should be used by C++ code. This call the initiphy_ or inimas_ routines defined in tauola.f and tauola_extras.f
This file contains definitions of tauola fortran routines and common blocks so they can be access by the C++ code.
This class contains routines for plot generation.
The output files are adopted for the draw.C root script.
| void f_interface_tauolaInitialise | ( | int | pdg_id, |
| int | firstDecayMode, | ||
| int | secondDecayMode, | ||
| bool | rad, | ||
| double | rad_cut_off, | ||
| double | iniphy ) |
| void f_interface_tauolaInitialize | ( | int | pdg_id, |
| int | firstDecayMode, | ||
| int | secondDecayMode, | ||
| bool | rad, | ||
| double | rad_cut_off, | ||
| double | iniphy ) |
| void filhep_ | ( | int * | n, |
| int * | status, | ||
| int * | pdg_id, | ||
| int * | mother_first, | ||
| int * | mother_last, | ||
| int * | daughter_first, | ||
| int * | daughter_last, | ||
| float | p4[4], | ||
| float * | p_inv_mass, | ||
| bool * | photos_flag ) |
Fill a particle into the TauolaEvent. This relies heavily on the static data structure DecayList
filhepmc_print_details(n, status, pdg_id, mother_first, mother_last, daughter_first, daughter_last, p4, p_inv_mass, photos_flag);
double theta = tau_mother->getRotationAngle(TauolaParticle::Y_AXIS); tau_mother->rotate(TauolaParticle::Y_AXIS,theta); double phi = tau_mother->getRotationAngle(TauolaParticle::X_AXIS); tau_mother->rotate(TauolaParticle::Y_AXIS,-theta);
rotate coordinate system to lab frame. new_particle->rotate(TauolaParticle::X_AXIS,-phi); new_particle->rotate(TauolaParticle::Y_AXIS,-theta);
filhepmc_print_details(n, status, pdg_id, mother_first, mother_last, daughter_first, daughter_last, p4, p_inv_mass, photos_flag);
double theta = tau_mother->getRotationAngle(TauolaParticle::Y_AXIS); tau_mother->rotate(TauolaParticle::Y_AXIS,theta); double phi = tau_mother->getRotationAngle(TauolaParticle::X_AXIS); tau_mother->rotate(TauolaParticle::Y_AXIS,-theta);
rotate coordinate system to lab frame. new_particle->rotate(TauolaParticle::X_AXIS,-phi); new_particle->rotate(TauolaParticle::Y_AXIS,-theta);
Definition at line 34 of file f_FilHep.c.
References TauolaParticle::boostAlongZ(), TauolaParticle::createNewParticle(), Tauola::decayOneBoost(), DecayList::getAbsoluteIndex(), TauolaParticle::getE(), TauolaParticle::getP(), DecayList::getParticle(), Tauola::isUsingDecayOneBoost(), TauolaParticle::setDaughters(), TauolaParticle::setMothers(), DecayList::updateList(), and TauolaParticle::Z_AXIS.
| void filhepmc_print_details | ( | int * | n, |
| int * | status, | ||
| int * | pdg_id, | ||
| int * | mother_first, | ||
| int * | mother_last, | ||
| int * | daughter_first, | ||
| int * | daughter_last, | ||
| float | p4[4], | ||
| float * | p_inv_mass, | ||
| bool * | photos_flag ) |
Definition at line 14 of file f_FilHep.c.
| float sgn | ( | float | a | ) |
Definition at line 9 of file f_FilHep.c.
| void TauolaDecay | ( | int | sign_type, |
| double * | polx, | ||
| double * | poly, | ||
| double * | polz, | ||
| double * | poln ) |
| void TauolaWriteDecayToEventRecord | ( | int | sign_type | ) |
| void tralo4_ | ( | float * | kto, |
| float | p[4], | ||
| float | q[4], | ||
| float * | ams ) |
This function defines lorentz transformationfrom first (kto=1) or second (kto=2) tau to laboratory frame. It's heavily used in Fortran code.
Simplified defintion. Only calculates mass (ams) from 4 momentum(p)
Definition at line 109 of file f_FilHep.c.
|
inline |
Definition at line 20 of file include/Tauola/Version.h.
| float ama1 |
Definition at line 27 of file include/Tauola/f_Variables.h.
| float amell |
Definition at line 19 of file include/Tauola/f_Variables.h.
| float amk |
Definition at line 29 of file include/Tauola/f_Variables.h.
| float amkst |
Definition at line 31 of file include/Tauola/f_Variables.h.
| float amkz |
Definition at line 30 of file include/Tauola/f_Variables.h.
| float ammu |
Definition at line 21 of file include/Tauola/f_Variables.h.
| float amnue |
Definition at line 20 of file include/Tauola/f_Variables.h.
| float amnumu |
Definition at line 22 of file include/Tauola/f_Variables.h.
| float amnuta |
Definition at line 18 of file include/Tauola/f_Variables.h.
| float ampi |
Definition at line 24 of file include/Tauola/f_Variables.h.
| float ampiz |
Definition at line 23 of file include/Tauola/f_Variables.h.
| float amro |
Definition at line 25 of file include/Tauola/f_Variables.h.
| float amtau |
Definition at line 17 of file include/Tauola/f_Variables.h.
| float bra1 |
Definition at line 56 of file include/Tauola/f_Variables.h.
| float brk0 |
Definition at line 56 of file include/Tauola/f_Variables.h.
| float brk0b |
Definition at line 56 of file include/Tauola/f_Variables.h.
| float brks |
Definition at line 56 of file include/Tauola/f_Variables.h.
| float gama1 |
Definition at line 28 of file include/Tauola/f_Variables.h.
| float gamkst |
Definition at line 32 of file include/Tauola/f_Variables.h.
| float gamprt[30] |
Definition at line 50 of file include/Tauola/f_Variables.h.
| float gamro |
Definition at line 26 of file include/Tauola/f_Variables.h.
| int idff |
Definition at line 24 of file include/Tauola/f_Init.h.
| int itdkrc |
Definition at line 46 of file include/Tauola/f_Variables.h.
| int jak1 |
Definition at line 36 of file include/Tauola/f_Variables.h.
| int jak2 |
Definition at line 37 of file include/Tauola/f_Variables.h.
| int jakm |
Definition at line 39 of file include/Tauola/f_Variables.h.
| int jakp |
Definition at line 38 of file include/Tauola/f_Variables.h.
| int jlist[30] |
Definition at line 51 of file include/Tauola/f_Variables.h.
| int ktom |
Definition at line 40 of file include/Tauola/f_Variables.h.
| int nchan |
Definition at line 52 of file include/Tauola/f_Variables.h.
| int npa |
Definition at line 23 of file include/Tauola/f_Decay.h.
| int npb |
Definition at line 24 of file include/Tauola/f_Decay.h.
| double xk0dec |
Definition at line 45 of file include/Tauola/f_Variables.h.