StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Tauolapp::Tauola Class Reference

Classes

struct  Particles
 

Public Types

enum  MomentumUnits {
  DEFAULT_MOMENTUM =-1, MEV, GEV, DEFAULT_MOMENTUM =-1,
  MEV, GEV
}
 
enum  LengthUnits {
  DEFAULT_LENGTH =-1, MM, CM, DEFAULT_LENGTH =-1,
  MM, CM
}
 
enum  {
  All =0, ElectronMode, MuonMode, PionMode,
  RhoMode, A1Mode, KMode, KStarMode
}
 
enum  MomentumUnits {
  DEFAULT_MOMENTUM =-1, MEV, GEV, DEFAULT_MOMENTUM =-1,
  MEV, GEV
}
 
enum  LengthUnits {
  DEFAULT_LENGTH =-1, MM, CM, DEFAULT_LENGTH =-1,
  MM, CM
}
 
enum  {
  All =0, ElectronMode, MuonMode, PionMode,
  RhoMode, A1Mode, KMode, KStarMode
}
 

Static Public Member Functions

static void setUnits (MomentumUnits m, LengthUnits l)
 
static void setTauLifetime (double t)
 
static void initialize ()
 
static void initialise ()
 
static void setNewCurrents (int mode)
 
static void setRandomGenerator (double(*gen)())
 
static void setSeed (int ijklin, int ntotin, int ntot2n)
 
static void setRedefineTauMinus (void(*fun)(TauolaParticle *))
 
static void setRedefineTauPlus (void(*fun)(TauolaParticle *))
 
static void decayOne (TauolaParticle *tau, bool undecay=false, double polx=0, double poly=0, double polz=0)
 
static bool isUsingDecayOne ()
 
static bool isUsingDecayOneBoost ()
 
static void setBoostRoutine (void(*boost)(TauolaParticle *, TauolaParticle *))
 
static void decayOneBoost (TauolaParticle *mother, TauolaParticle *target)
 
static const double * getDecayOnePolarization ()
 
static void setDecayingParticle (int pdg_id)
 
static int getDecayingParticle ()
 
static void setSameParticleDecayMode (int firstDecayMode)
 
static void setOppositeParticleDecayMode (int secondDecayMode)
 
static void setRadiation (bool rad)
 
static void setRadiationCutOff (double rad_cut_off)
 
static void setInitializePhy (double iniphy)
 
static void setInitialisePhy (double iniphy)
 
static void setTauBr (int i, double value)
 
static void setTaukle (double bra1, double brk0, double brk0b, double brks)
 
static double getHiggsScalarPseudoscalarMixingAngle ()
 
static void setHiggsScalarPseudoscalarMixingAngle (double angle)
 
static double getTauMass ()
 
static void setHiggsScalarPseudoscalarPDG (int pdg_id)
 
static int getHiggsScalarPseudoscalarPDG ()
 
static int getHelPlus ()
 
static int getHelMinus ()
 
static double getEWwt ()
 
static double getEWwt0 ()
 
static void setEWwt (double wt, double wt0)
 
static void setHelicities (int Minus, int Plus)
 
static void setEtaK0sPi (int eta, int k, int pi)
 
static void getBornKinematics (int *incoming_pdg_id, int *outgoing_pdg_id, double *invariant_mass_squared, double *cosTheta)
 
static void summary ()
 
static void setUnits (MomentumUnits m, LengthUnits l)
 
static void setTauLifetime (double t)
 
static void initialize ()
 
static void initialise ()
 
static void setNewCurrents (int mode)
 
static void setRandomGenerator (double(*gen)())
 
static void setSeed (int ijklin, int ntotin, int ntot2n)
 
static void setRedefineTauMinus (void(*fun)(TauolaParticle *))
 
static void setRedefineTauPlus (void(*fun)(TauolaParticle *))
 
static void decayOne (TauolaParticle *tau, bool undecay=false, double polx=0, double poly=0, double polz=0)
 
static bool isUsingDecayOne ()
 
static bool isUsingDecayOneBoost ()
 
static void setBoostRoutine (void(*boost)(TauolaParticle *, TauolaParticle *))
 
static void decayOneBoost (TauolaParticle *mother, TauolaParticle *target)
 
static const double * getDecayOnePolarization ()
 
static void setDecayingParticle (int pdg_id)
 
static int getDecayingParticle ()
 
static void setSameParticleDecayMode (int firstDecayMode)
 
static void setOppositeParticleDecayMode (int secondDecayMode)
 
static void setRadiation (bool rad)
 
static void setRadiationCutOff (double rad_cut_off)
 
static void setInitializePhy (double iniphy)
 
static void setInitialisePhy (double iniphy)
 
static void setTauBr (int i, double value)
 
static void setTaukle (double bra1, double brk0, double brk0b, double brks)
 
static double getHiggsScalarPseudoscalarMixingAngle ()
 
static void setHiggsScalarPseudoscalarMixingAngle (double angle)
 
static double getTauMass ()
 
static void setHiggsScalarPseudoscalarPDG (int pdg_id)
 
static int getHiggsScalarPseudoscalarPDG ()
 
static int getHelPlus ()
 
static int getHelMinus ()
 
static double getEWwt ()
 
static double getEWwt0 ()
 
static void setEWwt (double wt, double wt0)
 
static void setHelicities (int Minus, int Plus)
 
static void setEtaK0sPi (int eta, int k, int pi)
 
static void getBornKinematics (int *incoming_pdg_id, int *outgoing_pdg_id, double *invariant_mass_squared, double *cosTheta)
 
static void summary ()
 

Static Public Attributes

static const int NS1 =100
 
static const int NS2 =100
 
static const int NS3 =100
 
static const int NCOS =21
 
static enum
Tauolapp::Tauola::MomentumUnits 
momentumUnit = Tauola::DEFAULT_MOMENTUM
 
static enum
Tauolapp::Tauola::LengthUnits 
lengthUnit = Tauola::DEFAULT_LENGTH
 
static Particles spin_correlation
 
static double table11A [NS1][NCOS][4][4] = {{{{0.0}}}}
 
static double table1A [NS1][NCOS][4][4] = {{{{0.0}}}}
 
static double table2A [NS1][NCOS][4][4] = {{{{0.0}}}}
 
static double wtable11A [NS1][NCOS] = {{0.0}}
 
static double wtable1A [NS1][NCOS] = {{0.0}}
 
static double wtable2A [NS1][NCOS] = {{0.0}}
 
static double w0table11A [NS1][NCOS] = {{0.0}}
 
static double w0table1A [NS1][NCOS] = {{0.0}}
 
static double w0table2A [NS1][NCOS] = {{0.0}}
 
static double table11B [NS2][NCOS][4][4] = {{{{0.0}}}}
 
static double table1B [NS2][NCOS][4][4] = {{{{0.0}}}}
 
static double table2B [NS2][NCOS][4][4] = {{{{0.0}}}}
 
static double wtable11B [NS2][NCOS] = {{0.0}}
 
static double wtable1B [NS2][NCOS] = {{0.0}}
 
static double wtable2B [NS2][NCOS] = {{0.0}}
 
static double w0table11B [NS2][NCOS] = {{0.0}}
 
static double w0table1B [NS2][NCOS] = {{0.0}}
 
static double w0table2B [NS2][NCOS] = {{0.0}}
 
static double table11C [NS3][NCOS][4][4] = {{{{0.0}}}}
 
static double table1C [NS3][NCOS][4][4] = {{{{0.0}}}}
 
static double table2C [NS3][NCOS][4][4] = {{{{0.0}}}}
 
static double wtable11C [NS3][NCOS] = {{0.0}}
 
static double wtable1C [NS3][NCOS] = {{0.0}}
 
static double wtable2C [NS3][NCOS] = {{0.0}}
 
static double w0table11C [NS3][NCOS] = {{0.0}}
 
static double w0table1C [NS3][NCOS] = {{0.0}}
 
static double w0table2C [NS3][NCOS] = {{0.0}}
 
static double sminA = 0
 
static double smaxA = 0
 
static double sminB = 0
 
static double smaxB = 0
 
static double sminC = 0
 
static double smaxC = 0
 
static int ion [3] = {0}
 
static double tau_lifetime = .08711
 
static double momentum_conservation_threshold = 0.1
 
static int buf_incoming_pdg_id = 0
 
static int buf_outgoing_pdg_id = 0
 
static double buf_invariant_mass_squared = -1.
 
static double buf_cosTheta = 0.
 
static double buf_R [4][4] = {{0.0}}
 
static double(* randomDouble )() = Tauola::defaultRandomGenerator
 
static void(* redefineTauPlusProperties )(TauolaParticle *)
 
static void(* redefineTauMinusProperties )(TauolaParticle *)
 

Detailed Description

Definition at line 28 of file Tauola.h.

Member Enumeration Documentation

anonymous enum

Decay Modes

Definition at line 45 of file Tauola.h.

anonymous enum

Decay Modes

Definition at line 45 of file Tauola.h.

Units

Definition at line 35 of file Tauola.h.

Units

Definition at line 35 of file Tauola.h.

Member Function Documentation

void Tauola::decayOne ( TauolaParticle tau,
bool  undecay = false,
double  polx = 0,
double  poly = 0,
double  polz = 0 
)
static

Tau gun. Takes one particle that's already inside an event record and produces it's decay. The tau provided may be undecayed first, or left intact if it already has daughters. If the polarization three-vector is provided it will be used to construct m_R matrix.

Definition at line 513 of file Tauola.cxx.

References Tauolapp::TauolaParticlePair::checkMomentumConservation(), Tauolapp::TauolaParticlePair::decayTauPair(), Tauolapp::TauolaParticle::hasDaughters(), and Tauolapp::TauolaParticle::undecay().

static void Tauolapp::Tauola::decayOne ( TauolaParticle tau,
bool  undecay = false,
double  polx = 0,
double  poly = 0,
double  polz = 0 
)
static

Tau gun. Takes one particle that's already inside an event record and produces it's decay. The tau provided may be undecayed first, or left intact if it already has daughters. If the polarization three-vector is provided it will be used to construct m_R matrix.

void Tauola::decayOneBoost ( TauolaParticle mother,
TauolaParticle target 
)
static

Execute boost routine for decayOne()

Definition at line 579 of file Tauola.cxx.

Referenced by Tauolapp::filhep_().

static void Tauolapp::Tauola::decayOneBoost ( TauolaParticle mother,
TauolaParticle target 
)
static

Execute boost routine for decayOne()

int Tauola::getDecayingParticle ( )
static

Return the pdg id of the particle to decay

Definition at line 593 of file Tauola.cxx.

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

static int Tauolapp::Tauola::getDecayingParticle ( )
static

Return the pdg id of the particle to decay

static const double* Tauolapp::Tauola::getDecayOnePolarization ( )
static

Return polarization vector used by decayOne()

const double * Tauola::getDecayOnePolarization ( )
static

Return polarization vector used by decayOne()

Definition at line 584 of file Tauola.cxx.

static int Tauolapp::Tauola::getHiggsScalarPseudoscalarPDG ( )
static

Get Higgs Scalar-Pseudoscalar PDG id.

int Tauola::getHiggsScalarPseudoscalarPDG ( )
static

Get Higgs Scalar-Pseudoscalar PDG id.

Definition at line 659 of file Tauola.cxx.

static double Tauolapp::Tauola::getTauMass ( )
static

Get mass of the tau used by interface.

double Tauola::getTauMass ( )
static

Get mass of the tau used by interface.

Definition at line 651 of file Tauola.cxx.

void Tauola::initialise ( )
static

DEPRECATED: Use 'initialize' instead.

Definition at line 553 of file Tauola.cxx.

References initialize().

static void Tauolapp::Tauola::initialise ( )
static

DEPRECATED: Use 'initialize' instead.

void Tauola::initialize ( )
static

Initalize Tauola with the parameters previously set via the setter methods

Definition at line 129 of file Tauola.cxx.

Referenced by initialise().

static void Tauolapp::Tauola::initialize ( )
static

Initalize Tauola with the parameters previously set via the setter methods

bool Tauola::isUsingDecayOne ( )
static

Checks if we are using decayOne()

Definition at line 564 of file Tauola.cxx.

Referenced by Tauolapp::TauolaParticlePair::TauolaParticlePair().

static bool Tauolapp::Tauola::isUsingDecayOne ( )
static

Checks if we are using decayOne()

static bool Tauolapp::Tauola::isUsingDecayOneBoost ( )
static

Checks if we are using boost routine for decayOne

bool Tauola::isUsingDecayOneBoost ( )
static

Checks if we are using boost routine for decayOne

Definition at line 569 of file Tauola.cxx.

Referenced by Tauolapp::TauolaParticlePair::decayTauPair(), and Tauolapp::filhep_().

void Tauola::setBoostRoutine ( void(*)(TauolaParticle *, TauolaParticle *)  boost)
static

Set boost routine for decayOne(). Refer to documentation for more details.

Definition at line 574 of file Tauola.cxx.

static void Tauolapp::Tauola::setBoostRoutine ( void(*)(TauolaParticle *, TauolaParticle *)  boost)
static

Set boost routine for decayOne(). Refer to documentation for more details.

void Tauola::setDecayingParticle ( int  pdg_id)
static

Set the pdg id of the particle to decay (should be 15 or -15)

Definition at line 589 of file Tauola.cxx.

static void Tauolapp::Tauola::setDecayingParticle ( int  pdg_id)
static

Set the pdg id of the particle to decay (should be 15 or -15)

static void Tauolapp::Tauola::setHiggsScalarPseudoscalarMixingAngle ( double  angle)
static

set the mixing angle. coupling: tau~(cos(phi)+isin(phi)gamma5)tau

void Tauola::setHiggsScalarPseudoscalarMixingAngle ( double  angle)
static

set the mixing angle. coupling: tau~(cos(phi)+isin(phi)gamma5)tau

Definition at line 664 of file Tauola.cxx.

static void Tauolapp::Tauola::setHiggsScalarPseudoscalarPDG ( int  pdg_id)
static

Modify Higgs Scalar-Pseudoscalar PDG id (default is 35).

void Tauola::setHiggsScalarPseudoscalarPDG ( int  pdg_code)
static

Modify Higgs Scalar-Pseudoscalar PDG id (default is 35).

set the pdg code of the higgs particle which tauola should treat as a scalar-pseudoscalar mix

Definition at line 670 of file Tauola.cxx.

References Tauolapp::Log::Fatal().

void Tauola::setInitialisePhy ( double  iniphy)
static

DEPRECATED: Use 'setInitializePhy' instead.

Definition at line 618 of file Tauola.cxx.

References setInitializePhy().

static void Tauolapp::Tauola::setInitialisePhy ( double  iniphy)
static

DEPRECATED: Use 'setInitializePhy' instead.

void Tauola::setInitializePhy ( double  iniphy)
static

Initialization of some constants related to QED corrections. Variable iniphy_param is at present dummy. It is prepared to be transmitted to some old style production code and is kept for backward compatibility

Definition at line 614 of file Tauola.cxx.

Referenced by setInitialisePhy().

static void Tauolapp::Tauola::setInitializePhy ( double  iniphy)
static

Initialization of some constants related to QED corrections. Variable iniphy_param is at present dummy. It is prepared to be transmitted to some old style production code and is kept for backward compatibility

void Tauola::setNewCurrents ( int  mode)
static

Change currents used by Tauola. mode = 0 (default) - use CLEO currents mode = 1 use RChL currents for 3pi and Belle currents for 2pi

Definition at line 87 of file Tauola.cxx.

static void Tauolapp::Tauola::setNewCurrents ( int  mode)
static

Change currents used by Tauola. mode = 0 (default) - use CLEO currents mode = 1 use RChL currents for 3pi and Belle currents for 2pi

void Tauola::setOppositeParticleDecayMode ( int  secondDecayMode)
static

Set the decay mode of all particle with opposite charge to the one given in setDecayingParticle(). secondDecayMode=0 is default and allows all decay modes.

Definition at line 601 of file Tauola.cxx.

static void Tauolapp::Tauola::setOppositeParticleDecayMode ( int  secondDecayMode)
static

Set the decay mode of all particle with opposite charge to the one given in setDecayingParticle(). secondDecayMode=0 is default and allows all decay modes.

static void Tauolapp::Tauola::setRadiation ( bool  rad)
static

Switch for bremssthahlung in leptonic tau decays

void Tauola::setRadiation ( bool  rad)
static

Switch for bremssthahlung in leptonic tau decays

Definition at line 605 of file Tauola.cxx.

void Tauola::setRadiationCutOff ( double  rad_cut_off)
static

Cut-Off parameter of radition. Above that value photon is explicitly generated

Definition at line 609 of file Tauola.cxx.

static void Tauolapp::Tauola::setRadiationCutOff ( double  rad_cut_off)
static

Cut-Off parameter of radition. Above that value photon is explicitly generated

static void Tauolapp::Tauola::setRandomGenerator ( double(*)()  gen)
static

Substitute build-in generator with external one

void Tauola::setRandomGenerator ( double(*)()  gen)
static

Substitute build-in generator with external one

Definition at line 96 of file Tauola.cxx.

static void Tauolapp::Tauola::setSameParticleDecayMode ( int  firstDecayMode)
static

Set the decay mode of all particle with pdg id the same as the one given in setDecayingParticle(). firstDecayMode=0 is default and allows all decay modes.

void Tauola::setSameParticleDecayMode ( int  firstDecayMode)
static

Set the decay mode of all particle with pdg id the same as the one given in setDecayingParticle(). firstDecayMode=0 is default and allows all decay modes.

Definition at line 597 of file Tauola.cxx.

static void Tauolapp::Tauola::setSeed ( int  ijklin,
int  ntotin,
int  ntot2n 
)
inlinestatic

Set seed for TAUOLA-FORTRAN random number generator

Definition at line 81 of file Tauola.h.

static void Tauolapp::Tauola::setSeed ( int  ijklin,
int  ntotin,
int  ntot2n 
)
inlinestatic

Set seed for TAUOLA-FORTRAN random number generator

Definition at line 81 of file Tauola.h.

static void Tauolapp::Tauola::setTauBr ( int  i,
double  value 
)
static

Set branching fraction for i-th channel. Can be reused several times during the run.

void Tauola::setTauBr ( int  i,
double  value 
)
static

Set branching fraction for i-th channel. Can be reused several times during the run.

Definition at line 629 of file Tauola.cxx.

void Tauola::setTauLifetime ( double  t)
static

Set tau lifetime (in mm).

Definition at line 125 of file Tauola.cxx.

static void Tauolapp::Tauola::setTauLifetime ( double  t)
static

Set tau lifetime (in mm).

static void Tauolapp::Tauola::setUnits ( MomentumUnits  m,
LengthUnits  l 
)
static

Set output units (default Tauola::GEV and Tauola::MM).

void Tauola::setUnits ( MomentumUnits  m,
LengthUnits  l 
)
static

Set output units (default Tauola::GEV and Tauola::MM).

Definition at line 120 of file Tauola.cxx.


The documentation for this class was generated from the following files: