StRoot
1
|
Public Member Functions | |
TauolaParticlePair (std::vector< TauolaParticle * > &particle_list) | |
void | decayTauPair () |
bool | contains (TauolaParticle *particle) |
TauolaParticle * | getTauPlus (std::vector< TauolaParticle * > particles) |
TauolaParticle * | getTauMinus (std::vector< TauolaParticle * > particles) |
TauolaParticle * | getGrandmotherPlus (std::vector< TauolaParticle * > particles) |
TauolaParticle * | getGrandmotherMinus (std::vector< TauolaParticle * > particles) |
void | print () |
void | checkMomentumConservation () |
TauolaParticlePair (std::vector< TauolaParticle * > &particle_list) | |
void | decayTauPair () |
bool | contains (TauolaParticle *particle) |
TauolaParticle * | getTauPlus (std::vector< TauolaParticle * > particles) |
TauolaParticle * | getTauMinus (std::vector< TauolaParticle * > particles) |
TauolaParticle * | getGrandmotherPlus (std::vector< TauolaParticle * > particles) |
TauolaParticle * | getGrandmotherMinus (std::vector< TauolaParticle * > particles) |
void | print () |
void | checkMomentumConservation () |
Definition at line 41 of file TauolaParticlePair.h.
TauolaParticlePair::TauolaParticlePair | ( | std::vector< TauolaParticle * > & | particle_list | ) |
This constructor takes the TauolaParticle and traverse the event structure to find the mother, partner tau or tau neutrino and assosiated final and production versions. Once a TauolaParticlePair object has been created in this way it is ready to be decayed via decayTauPairs().
constructor. Get the mothers, grandmothers and siblings of the tau
Definition at line 12 of file TauolaParticlePair.cxx.
References Tauolapp::Log::AddDecay(), Tauolapp::Log::Fatal(), Tauolapp::TauolaParticle::findLastSelf(), Tauolapp::TauolaParticle::findProductionMothers(), Tauolapp::Tauola::isUsingDecayOne(), Tauolapp::TauolaParticle::TAU_ANTINEUTRINO, Tauolapp::TauolaParticle::TAU_MINUS, Tauolapp::TauolaParticle::TAU_NEUTRINO, and Tauolapp::TauolaParticle::TAU_PLUS.
Tauolapp::TauolaParticlePair::TauolaParticlePair | ( | std::vector< TauolaParticle * > & | particle_list | ) |
This constructor takes the TauolaParticle and traverse the event structure to find the mother, partner tau or tau neutrino and assosiated final and production versions. Once a TauolaParticlePair object has been created in this way it is ready to be decayed via decayTauPairs().
void TauolaParticlePair::checkMomentumConservation | ( | ) |
Check that the 4 momentum in conserved at the verticle of each decayed tau.
Definition at line 937 of file TauolaParticlePair.cxx.
References Tauolapp::TauolaParticle::checkMomentumConservation().
Referenced by Tauolapp::Tauola::decayOne(), and Tauolapp::TauolaEvent::decayTaus().
void Tauolapp::TauolaParticlePair::checkMomentumConservation | ( | ) |
Check that the 4 momentum in conserved at the verticle of each decayed tau.
bool TauolaParticlePair::contains | ( | TauolaParticle * | particle | ) |
Does this pair contain the particle "particle". Note: it only checks the "final" particles.
Definition at line 816 of file TauolaParticlePair.cxx.
References Tauolapp::TauolaParticle::getBarcode().
bool Tauolapp::TauolaParticlePair::contains | ( | TauolaParticle * | particle | ) |
Does this pair contain the particle "particle". Note: it only checks the "final" particles.
void TauolaParticlePair::decayTauPair | ( | ) |
Call the decay method of each 'final' tau. Then calculate the spin correlation weight from the particles polarimetric vectors. Decays are accepted or rejected based on the spin weight. Rejected decays are redecayed.
Definition at line 562 of file TauolaParticlePair.cxx.
References Tauolapp::TauolaParticle::addDecayToEventRecord(), Tauolapp::TauolaParticle::decay(), Tauolapp::TauolaParticle::decayEndgame(), Tauolapp::TauolaParticle::getPolarimetricX(), Tauolapp::TauolaParticle::getPolarimetricY(), Tauolapp::TauolaParticle::getPolarimetricZ(), getTauMinus(), getTauPlus(), and Tauolapp::Tauola::isUsingDecayOneBoost().
Referenced by Tauolapp::Tauola::decayOne(), and Tauolapp::TauolaEvent::decayTaus().
void Tauolapp::TauolaParticlePair::decayTauPair | ( | ) |
Call the decay method of each 'final' tau. Then calculate the spin correlation weight from the particles polarimetric vectors. Decays are accepted or rejected based on the spin weight. Rejected decays are redecayed.
TauolaParticle * TauolaParticlePair::getGrandmotherMinus | ( | std::vector< TauolaParticle * > | particles | ) |
Return the first grandmother of the tau- which is a quark or lepton.
Definition at line 877 of file TauolaParticlePair.cxx.
References Tauolapp::TauolaParticle::ELECTRON, and Tauolapp::TauolaParticle::MUON_MINUS.
TauolaParticle* Tauolapp::TauolaParticlePair::getGrandmotherMinus | ( | std::vector< TauolaParticle * > | particles | ) |
Return the first grandmother of the tau- which is a quark or lepton.
TauolaParticle * TauolaParticlePair::getGrandmotherPlus | ( | std::vector< TauolaParticle * > | particles | ) |
Return the first grandmother of the tau- which is an anti-quark or anti-lepton.
Definition at line 841 of file TauolaParticlePair.cxx.
References Tauolapp::TauolaParticle::MUON_PLUS, and Tauolapp::TauolaParticle::POSITRON.
TauolaParticle* Tauolapp::TauolaParticlePair::getGrandmotherPlus | ( | std::vector< TauolaParticle * > | particles | ) |
Return the first grandmother of the tau- which is an anti-quark or anti-lepton.
TauolaParticle* Tauolapp::TauolaParticlePair::getTauMinus | ( | std::vector< TauolaParticle * > | particles | ) |
Return the tau- particle
TauolaParticle * TauolaParticlePair::getTauMinus | ( | std::vector< TauolaParticle * > | particles | ) |
Return the tau- particle
Definition at line 825 of file TauolaParticlePair.cxx.
References Tauolapp::TauolaParticle::TAU_MINUS.
Referenced by decayTauPair().
TauolaParticle * TauolaParticlePair::getTauPlus | ( | std::vector< TauolaParticle * > | particles | ) |
Return the tau+ particle
Definition at line 833 of file TauolaParticlePair.cxx.
References Tauolapp::TauolaParticle::TAU_PLUS.
Referenced by decayTauPair().
TauolaParticle* Tauolapp::TauolaParticlePair::getTauPlus | ( | std::vector< TauolaParticle * > | particles | ) |
Return the tau+ particle
void TauolaParticlePair::print | ( | ) |
Print information about the mother and tau pair (at production and final).
Definition at line 912 of file TauolaParticlePair.cxx.
References Tauolapp::TauolaParticle::print(), Tauolapp::Log::RedirectOutput(), and Tauolapp::Log::RevertOutput().
void Tauolapp::TauolaParticlePair::print | ( | ) |
Print information about the mother and tau pair (at production and final).