StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Functions | Variables
Tauolapp Namespace Reference

Classes

class  DecayList
 
class  Log
 
class  Plots
 
class  Tauola
 
class  TauolaEvent
 
class  TauolaHEPEVTEvent
 
class  TauolaHEPEVTParticle
 
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)
 
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

void Tauolapp::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.

void Tauolapp::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 Tauolapp::TauolaParticle::boostAlongZ(), Tauolapp::TauolaParticle::createNewParticle(), Tauolapp::Tauola::decayOneBoost(), Tauolapp::DecayList::getAbsoluteIndex(), Tauolapp::TauolaParticle::getE(), Tauolapp::TauolaParticle::getP(), Tauolapp::DecayList::getParticle(), Tauolapp::Tauola::isUsingDecayOneBoost(), Tauolapp::TauolaParticle::setDaughters(), Tauolapp::TauolaParticle::setMothers(), Tauolapp::DecayList::updateList(), and Tauolapp::TauolaParticle::Z_AXIS.

void Tauolapp::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.

Referenced by Tauolapp::TauolaParticle::decay().

void Tauolapp::TauolaWriteDecayToEventRecord ( int  sign_type)

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

Definition at line 25 of file f_Decay.c.

Referenced by Tauolapp::TauolaParticle::addDecayToEventRecord().

void Tauolapp::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.