C++ Interface to Tauola
|
Data Structures | |
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 | getIsTauolaIni () |
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 | getIsTauolaIni () |
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 *) |
Static Private Member Functions | |
static double | particleCharge (int idhep) |
static void | fill_val (int beg, int end, double *array, double value) |
static double | defaultRandomGenerator () |
static void | defaultRedPlus (TauolaParticle *) |
static void | defaultRedMinus (TauolaParticle *) |
static double | particleCharge (int idhep) |
static void | fill_val (int beg, int end, double *array, double value) |
static double | defaultRandomGenerator () |
static void | defaultRedPlus (TauolaParticle *) |
static void | defaultRedMinus (TauolaParticle *) |
Static Private Attributes | |
static bool | m_is_using_decay_one = false |
static double | m_decay_one_polarization [3] = {0} |
static void(* | m_decay_one_boost_routine )(TauolaParticle *, TauolaParticle *) = NULL |
static bool | m_is_initialized = false |
static int | m_pdg_id = 15 |
static int | m_firstDecayMode = 0 |
static int | m_secondDecayMode = 0 |
static bool | m_rad = true |
static double | m_rad_cut_off = 0.001 |
static double | m_iniphy = 0.1 |
static double | m_higgs_scalar_pseudoscalar_mix = M_PI/4 |
static int | m_higgs_scalar_pseudoscalar_pdg = 35 |
static double | m_wtEW = 0.0 |
static double | m_wtEW0 = 0.0 |
static int | m_helPlus = 0 |
static int | m_helMinus = 0 |
Definition at line 28 of file include/Tauola/Tauola.h.
anonymous enum |
Decay Modes
Definition at line 45 of file src/tauolaCInterfaces/Tauola.h.
anonymous enum |
Decay Modes
Definition at line 45 of file include/Tauola/Tauola.h.
enum MomentumUnits |
Units
Definition at line 35 of file include/Tauola/Tauola.h.
enum MomentumUnits |
Units
Definition at line 35 of file src/tauolaCInterfaces/Tauola.h.
|
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 526 of file Tauola.cxx.
References TauolaParticlePair::checkMomentumConservation(), TauolaParticlePair::decayTauPair(), TauolaParticle::hasDaughters(), Tauola::m_decay_one_polarization, Tauola::m_is_using_decay_one, and TauolaParticle::undecay().
|
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.
|
static |
Execute boost routine for decayOne()
Definition at line 596 of file Tauola.cxx.
References Tauola::m_decay_one_boost_routine.
|
static |
Execute boost routine for decayOne()
|
staticprivate |
Default generator used in Tauola
Definition at line 92 of file Tauola.cxx.
|
staticprivate |
Default generator used in Tauola
|
staticprivate |
Fill 'array' indices from 'beg' to 'end' with 'value'
Definition at line 738 of file Tauola.cxx.
|
staticprivate |
Fill 'array' indices from 'beg' to 'end' with 'value'
|
static |
Return the pdg id of the particle to decay
Definition at line 610 of file Tauola.cxx.
|
static |
Return the pdg id of the particle to decay
|
static |
Return polarization vector used by decayOne()
Definition at line 601 of file Tauola.cxx.
References Tauola::m_decay_one_polarization.
|
static |
Return polarization vector used by decayOne()
|
static |
Get Higgs Scalar-Pseudoscalar PDG id.
Definition at line 676 of file Tauola.cxx.
|
static |
Get Higgs Scalar-Pseudoscalar PDG id.
|
static |
to check if Tauola was Intitailzed
Definition at line 576 of file Tauola.cxx.
|
static |
to check if Tauola was Intitailzed
|
static |
Get mass of the tau used by interface.
Definition at line 668 of file Tauola.cxx.
|
static |
Get mass of the tau used by interface.
|
static |
DEPRECATED: Use 'initialize' instead.
Definition at line 566 of file Tauola.cxx.
References Tauola::initialize().
|
static |
DEPRECATED: Use 'initialize' instead.
|
static |
Initalize Tauola with the parameters previously set via the setter methods
Definition at line 129 of file Tauola.cxx.
|
static |
Initalize Tauola with the parameters previously set via the setter methods
|
static |
Checks if we are using decayOne()
Definition at line 581 of file Tauola.cxx.
References Tauola::m_is_using_decay_one.
|
static |
Checks if we are using decayOne()
|
static |
Checks if we are using boost routine for decayOne
Definition at line 586 of file Tauola.cxx.
References Tauola::m_decay_one_boost_routine.
|
static |
Checks if we are using boost routine for decayOne
|
staticprivate |
Calculate the charge of particle with code 'idhep'. The code of the particle is defined by the Particle Data Group in Phys. Lett. B204 (1988) 1. NOTE: Code taken from Photos++, file: PhotosUtilities.cxx, function: PHOCHA
Definition at line 744 of file Tauola.cxx.
References Tauola::fill_val().
|
staticprivate |
Calculate the charge of particle with code 'idhep'. The code of the particle is defined by the Particle Data Group in Phys. Lett. B204 (1988) 1. NOTE: Code taken from Photos++, file: PhotosUtilities.cxx, function: PHOCHA
|
static |
Set boost routine for decayOne(). Refer to documentation for more details.
Definition at line 591 of file Tauola.cxx.
References Tauola::m_decay_one_boost_routine.
|
static |
Set boost routine for decayOne(). Refer to documentation for more details.
|
static |
Set the pdg id of the particle to decay (should be 15 or -15)
Definition at line 606 of file Tauola.cxx.
|
static |
Set the pdg id of the particle to decay (should be 15 or -15)
|
static |
set the mixing angle. coupling: tau~(cos(phi)+isin(phi)gamma5)tau
Definition at line 681 of file Tauola.cxx.
|
static |
set the mixing angle. coupling: tau~(cos(phi)+isin(phi)gamma5)tau
|
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 687 of file Tauola.cxx.
References Log::Fatal(), and Tauola::particleCharge().
|
static |
Modify Higgs Scalar-Pseudoscalar PDG id (default is 35).
|
static |
DEPRECATED: Use 'setInitializePhy' instead.
Definition at line 635 of file Tauola.cxx.
References Tauola::setInitializePhy().
|
static |
DEPRECATED: Use 'setInitializePhy' instead.
|
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 631 of file Tauola.cxx.
|
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
|
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 |
Change currents used by Tauola. mode = 0 (default) - use CLEO currents mode = 1 use RChL currents for 3pi and Belle currents for 2pi
|
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 618 of file Tauola.cxx.
|
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 |
Switch for bremssthahlung in leptonic tau decays
Definition at line 622 of file Tauola.cxx.
|
static |
Switch for bremssthahlung in leptonic tau decays
|
static |
Cut-Off parameter of radition. Above that value photon is explicitly generated
Definition at line 626 of file Tauola.cxx.
|
static |
Cut-Off parameter of radition. Above that value photon is explicitly generated
|
static |
Substitute build-in generator with external one
Definition at line 96 of file Tauola.cxx.
References Tauola::defaultRandomGenerator().
|
static |
Substitute build-in generator with external one
|
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 614 of file Tauola.cxx.
|
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.
|
inlinestatic |
Set seed for TAUOLA-FORTRAN random number generator
Definition at line 81 of file include/Tauola/Tauola.h.
|
inlinestatic |
Set seed for TAUOLA-FORTRAN random number generator
Definition at line 81 of file src/tauolaCInterfaces/Tauola.h.
|
static |
Set branching fraction for i-th channel. Can be reused several times during the run.
Definition at line 646 of file Tauola.cxx.
|
static |
Set branching fraction for i-th channel. Can be reused several times during the run.
|
static |
Set tau lifetime (in mm).
Definition at line 125 of file Tauola.cxx.
|
static |
Set tau lifetime (in mm).
|
static |
Set output units (default Tauola::GEV and Tauola::MM).
Definition at line 120 of file Tauola.cxx.
|
static |
Set output units (default Tauola::GEV and Tauola::MM).
|
staticprivate |
Boost routine used by decayOne()
Definition at line 229 of file include/Tauola/Tauola.h.
|
staticprivate |
decayOne() polarization vector
Definition at line 227 of file include/Tauola/Tauola.h.
|
staticprivate |
Are we using decayOne() ?
Definition at line 225 of file include/Tauola/Tauola.h.