C++ Interface to Tauola
Data Structures | Functions | Variables
Tauolapp Namespace Reference

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_
 

Detailed Description

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

Author
Nadia Davidson
Date
17 June 2008

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

Author
Nadia Davidson
Date
17 June 2008

This file contains definitions of tauola fortran routines and common blocks so they can be access by the C++ code.

Author
Nadia Davidson
Date
June 17 2008

This class contains routines for plot generation.

The output files are adopted for the draw.C root script.

Author
Tomasz Przedzinski
Date
20 December 2009

Function Documentation

◆ f_getTauMass()

double f_getTauMass ( )

Definition at line 32 of file f_Init.c.

◆ f_interface_tauolaInitialise()

void f_interface_tauolaInitialise ( int  pdg_id,
int  firstDecayMode,
int  secondDecayMode,
bool  rad,
double  rad_cut_off,
double  iniphy 
)

DEPRECATED: Use 'f_interface_tauolaInitialize' instead.

Definition at line 36 of file f_Init.c.

◆ f_interface_tauolaInitialize()

void f_interface_tauolaInitialize ( int  pdg_id,
int  firstDecayMode,
int  secondDecayMode,
bool  rad,
double  rad_cut_off,
double  iniphy 
)

Definition at line 9 of file f_Init.c.

◆ filhep_()

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.

◆ filhepmc_print_details()

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.

◆ sgn()

float sgn ( float  a)

Definition at line 9 of file f_FilHep.c.

◆ TauolaDecay()

void TauolaDecay ( int  sign_type,
double *  polx,
double *  poly,
double *  polz,
double *  poln 
)

Invokes DEKAY with "1" or "2" to get the polarization information.

Definition at line 6 of file f_Decay.c.

◆ TauolaWriteDecayToEventRecord()

void TauolaWriteDecayToEventRecord ( int  sign_type)

Invokes DEKAY with "11" or "12" to produce the decay.

Definition at line 25 of file f_Decay.c.

◆ tralo4_()

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.

◆ version()

std::string version ( )
inline

Definition at line 20 of file include/Tauola/Version.h.

Variable Documentation

◆ ama1

float ama1

Definition at line 27 of file include/Tauola/f_Variables.h.

◆ amell

float amell

Definition at line 19 of file include/Tauola/f_Variables.h.

◆ amk

float amk

Definition at line 29 of file include/Tauola/f_Variables.h.

◆ amkst

float amkst

Definition at line 31 of file include/Tauola/f_Variables.h.

◆ amkz

float amkz

Definition at line 30 of file include/Tauola/f_Variables.h.

◆ ammu

float ammu

Definition at line 21 of file include/Tauola/f_Variables.h.

◆ amnue

float amnue

Definition at line 20 of file include/Tauola/f_Variables.h.

◆ amnumu

float amnumu

Definition at line 22 of file include/Tauola/f_Variables.h.

◆ amnuta

float amnuta

Definition at line 18 of file include/Tauola/f_Variables.h.

◆ ampi

float ampi

Definition at line 24 of file include/Tauola/f_Variables.h.

◆ ampiz

float ampiz

Definition at line 23 of file include/Tauola/f_Variables.h.

◆ amro

float amro

Definition at line 25 of file include/Tauola/f_Variables.h.

◆ amtau

float amtau

Definition at line 17 of file include/Tauola/f_Variables.h.

◆ bra1

float bra1

Definition at line 56 of file include/Tauola/f_Variables.h.

◆ brk0

float brk0

Definition at line 56 of file include/Tauola/f_Variables.h.

◆ brk0b

float brk0b

Definition at line 56 of file include/Tauola/f_Variables.h.

◆ brks

float brks

Definition at line 56 of file include/Tauola/f_Variables.h.

◆ gama1

float gama1

Definition at line 28 of file include/Tauola/f_Variables.h.

◆ gamkst

float gamkst

Definition at line 32 of file include/Tauola/f_Variables.h.

◆ gamprt

float gamprt[30]

Definition at line 50 of file include/Tauola/f_Variables.h.

◆ gamro

float gamro

Definition at line 26 of file include/Tauola/f_Variables.h.

◆ idff

int idff

Definition at line 24 of file include/Tauola/f_Init.h.

◆ itdkrc

int itdkrc

Definition at line 46 of file include/Tauola/f_Variables.h.

◆ jak1

int jak1

Definition at line 36 of file include/Tauola/f_Variables.h.

◆ jak2

int jak2

Definition at line 37 of file include/Tauola/f_Variables.h.

◆ jakm

int jakm

Definition at line 39 of file include/Tauola/f_Variables.h.

◆ jakp

int jakp

Definition at line 38 of file include/Tauola/f_Variables.h.

◆ jlist

int jlist[30]

Definition at line 51 of file include/Tauola/f_Variables.h.

◆ ktom

int ktom

Definition at line 40 of file include/Tauola/f_Variables.h.

◆ nchan

int nchan

Definition at line 52 of file include/Tauola/f_Variables.h.

◆ npa

int npa

Definition at line 23 of file include/Tauola/f_Decay.h.

◆ npb

int npb

Definition at line 24 of file include/Tauola/f_Decay.h.

◆ xk0dec

double xk0dec

Definition at line 45 of file include/Tauola/f_Variables.h.