#include <TauDataFormat/TauNtuple/src/TauDecay_CMSSW.cc>
Public Types | |
enum | MODE { MODE_UNKNOWN = 0, MODE_ELECTRON, MODE_MUON, MODE_PION, MODE_PIPI0, MODE_3PI, MODE_PI2PI0, MODE_KAON, MODE_K0PI, MODE_KPI0, MODE_3PIPI0, MODE_PI3PI0, MODE_3PI2PI0, MODE_5PI, MODE_5PIPI0, MODE_3PI3PI0, MODE_KPIK, MODE_K0BK0PI, MODE_KK0BPI0, MODE_K2PI0, MODE_KPIPI, MODE_PIK0PI0, MODE_ETAPIPI0, MODE_PIPI0GAM, MODE_KK0B, MODE_PI4PI0, MODE_3PIETA, MODE_PI2PI0ETA, MODE_PI2PI0OMEGA, MODE_3PIOMEGA, MODE_KOMEGA, MODE_K3PI0, MODE_K2PIPI0, MODE_KETA, MODE_K0PI2PI0, MODE_K03PI, MODE_2K0PIPI0, MODE_KPIKPI0, NMODEID } |
enum | TauDecayStructure { other = 0, OneProng = 1, ThreeProng = 2, FiveProng = 4, OnePi0 = 8, TwoPi0 = 32, ThreePi0 = 64, Res_a1_pm = 128, Res_a1_0 = 256, Res_rho_pm = 512, Res_rho_0 = 1024, Res_eta = 2048, Res_omega = 4096, Res_Kstar_pm = 8192, Res_Kstar_0 = 16384, KS0_to_pipi = 32768 } |
Public Member Functions | |
void | ClassifyDecayMode (unsigned int &MODE_ID, unsigned int &TauBitMask) |
bool | hasResonance (unsigned int &TauBitMask, int pdgid) |
bool | isTauFinalStateParticle (int pdgid) |
bool | isTauParticleCounter (int pdgid) |
bool | isTauResonanceCounter (int pdgid) |
unsigned int | nPi0 (unsigned int &TauBitMask) |
unsigned int | nProng (unsigned int &TauBitMask) |
void | Reset () |
TauDecay () | |
~TauDecay () | |
Static Public Member Functions | |
static std::string | DecayMode (unsigned int &MODE_ID) |
Private Member Functions | |
void | ClassifyDecayResonance (unsigned int &TauBitMask) |
Private Attributes | |
unsigned int | n_a1 |
unsigned int | n_a10 |
unsigned int | n_e |
unsigned int | n_eta |
unsigned int | n_gamma |
unsigned int | n_K |
unsigned int | n_K0L |
unsigned int | n_K0S |
unsigned int | n_Kstar |
unsigned int | n_Kstar0 |
unsigned int | n_mu |
unsigned int | n_nu |
unsigned int | n_omega |
unsigned int | n_pi |
unsigned int | n_pi0 |
unsigned int | n_rho |
unsigned int | n_rho0 |
unsigned int | unknown |
Description: This class reconstructs the MODE modes of the Tauola decays and provides a bit mask of the decay structure for the tau
Description: Bridge class for TauDecay when using HepMC
Implementation: [Notes on implementation]
Definition at line 21 of file TauDecay.h.
enum TauDecay::MODE |
Definition at line 89 of file TauDecay.h.
Enumerator | |
---|---|
other | |
OneProng | |
ThreeProng | |
FiveProng | |
OnePi0 | |
TwoPi0 | |
ThreePi0 | |
Res_a1_pm | |
Res_a1_0 | |
Res_rho_pm | |
Res_rho_0 | |
Res_eta | |
Res_omega | |
Res_Kstar_pm | |
Res_Kstar_0 | |
KS0_to_pipi |
Definition at line 131 of file TauDecay.h.
TauDecay::TauDecay | ( | ) |
TauDecay::~TauDecay | ( | ) |
Definition at line 9 of file TauDecay.cc.
void TauDecay::ClassifyDecayMode | ( | unsigned int & | MODE_ID, |
unsigned int & | TauBitMask | ||
) |
Definition at line 150 of file TauDecay.cc.
References ClassifyDecayResonance(), gather_cfg::cout, FiveProng, MODE_2K0PIPI0, MODE_3PI, MODE_3PI2PI0, MODE_3PI3PI0, MODE_3PIETA, MODE_3PIOMEGA, MODE_3PIPI0, MODE_5PI, MODE_5PIPI0, MODE_ELECTRON, MODE_ETAPIPI0, MODE_K03PI, MODE_K0BK0PI, MODE_K0PI, MODE_K0PI2PI0, MODE_K2PI0, MODE_K2PIPI0, MODE_K3PI0, MODE_KAON, MODE_KETA, MODE_KK0B, MODE_KK0BPI0, MODE_KOMEGA, MODE_KPI0, MODE_KPIK, MODE_KPIKPI0, MODE_KPIPI, MODE_MUON, MODE_PI2PI0, MODE_PI2PI0ETA, MODE_PI2PI0OMEGA, MODE_PI3PI0, MODE_PI4PI0, MODE_PIK0PI0, MODE_PION, MODE_PIPI0, MODE_PIPI0GAM, MODE_UNKNOWN, n_e, n_eta, n_gamma, n_K, n_K0L, n_K0S, n_mu, n_nu, n_omega, n_pi, n_pi0, n_rho, OnePi0, OneProng, ThreePi0, ThreeProng, and TwoPi0.
Referenced by TauDecay_GenParticle::AnalyzeTau(), and TauDecay_CMSSW::AnalyzeTau().
|
private |
Definition at line 373 of file TauDecay.cc.
References n_a1, n_a10, n_eta, n_Kstar, n_Kstar0, n_omega, n_rho, n_rho0, Res_a1_0, Res_a1_pm, Res_eta, Res_Kstar_0, Res_Kstar_pm, Res_omega, Res_rho_0, and Res_rho_pm.
Referenced by ClassifyDecayMode().
|
static |
Definition at line 393 of file TauDecay.cc.
References MODE_2K0PIPI0, MODE_3PI, MODE_3PI2PI0, MODE_3PI3PI0, MODE_3PIETA, MODE_3PIOMEGA, MODE_3PIPI0, MODE_5PI, MODE_5PIPI0, MODE_ELECTRON, MODE_ETAPIPI0, MODE_K03PI, MODE_K0BK0PI, MODE_K0PI, MODE_K0PI2PI0, MODE_K2PI0, MODE_K2PIPI0, MODE_K3PI0, MODE_KAON, MODE_KETA, MODE_KK0B, MODE_KK0BPI0, MODE_KOMEGA, MODE_KPI0, MODE_KPIK, MODE_KPIKPI0, MODE_KPIPI, MODE_MUON, MODE_PI2PI0, MODE_PI2PI0ETA, MODE_PI2PI0OMEGA, MODE_PI3PI0, MODE_PI4PI0, MODE_PIK0PI0, MODE_PION, MODE_PIPI0, and MODE_PIPI0GAM.
Referenced by TauValidation::bookHistograms().
bool TauDecay::hasResonance | ( | unsigned int & | TauBitMask, |
int | pdgid | ||
) |
Definition at line 350 of file TauDecay.cc.
References PdtPdgMini::a_10, PdtPdgMini::a_1_plus, funct::abs(), PdtPdgMini::eta, PdtPdgMini::K_S0, PdtPdgMini::K_star0, PdtPdgMini::K_star_plus, KS0_to_pipi, PdtPdgMini::omega, AlCaHLTBitMon_ParallelJobs::p, Res_a1_0, Res_a1_pm, Res_eta, Res_Kstar_0, Res_Kstar_pm, Res_omega, Res_rho_0, Res_rho_pm, PdtPdgMini::rho0, and PdtPdgMini::rho_plus.
bool TauDecay::isTauFinalStateParticle | ( | int | pdgid | ) |
Definition at line 32 of file TauDecay.cc.
References funct::abs(), PdtPdgMini::e_minus, PdtPdgMini::eta, PdtPdgMini::gamma, PdtPdgMini::K_L0, PdtPdgMini::K_plus, PdtPdgMini::K_S0, PdtPdgMini::mu_minus, PdtPdgMini::nu_e, PdtPdgMini::nu_mu, PdtPdgMini::nu_tau, PdtPdgMini::omega, PdtPdgMini::pi0, and PdtPdgMini::pi_plus.
Referenced by TauValidation::analyze(), TauDecay_GenParticle::Analyze(), and TauDecay_CMSSW::Analyze().
bool TauDecay::isTauParticleCounter | ( | int | pdgid | ) |
Definition at line 64 of file TauDecay.cc.
References funct::abs(), gather_cfg::cout, PdtPdgMini::e_minus, PdtPdgMini::eta, PdtPdgMini::gamma, PdtPdgMini::K0, PdtPdgMini::K_L0, PdtPdgMini::K_plus, PdtPdgMini::K_S0, PdtPdgMini::mu_minus, n_e, n_eta, n_gamma, n_K, n_K0L, n_K0S, n_mu, n_nu, n_omega, n_pi, n_pi0, PdtPdgMini::nu_e, PdtPdgMini::nu_mu, PdtPdgMini::nu_tau, PdtPdgMini::omega, PdtPdgMini::pi0, and PdtPdgMini::pi_plus.
Referenced by TauDecay_GenParticle::Analyze(), and TauDecay_CMSSW::Analyze().
bool TauDecay::isTauResonanceCounter | ( | int | pdgid | ) |
Definition at line 116 of file TauDecay.cc.
References PdtPdgMini::a_10, PdtPdgMini::a_1_plus, funct::abs(), PdtPdgMini::K_star0, PdtPdgMini::K_star_plus, n_a1, n_a10, n_Kstar, n_Kstar0, n_rho, n_rho0, PdtPdgMini::rho0, PdtPdgMini::rho_plus, unknown, and PdtPdgMini::W_plus.
Referenced by TauDecay_GenParticle::Analyze(), and TauDecay_CMSSW::Analyze().
unsigned int TauDecay::nPi0 | ( | unsigned int & | TauBitMask | ) |
Definition at line 340 of file TauDecay.cc.
unsigned int TauDecay::nProng | ( | unsigned int & | TauBitMask | ) |
Definition at line 331 of file TauDecay.cc.
References FiveProng, OneProng, and ThreeProng.
Referenced by TauValidation::analyze().
void TauDecay::Reset | ( | ) |
|
private |
Definition at line 169 of file TauDecay.h.
Referenced by ClassifyDecayResonance(), isTauResonanceCounter(), and Reset().
|
private |
Definition at line 169 of file TauDecay.h.
Referenced by ClassifyDecayResonance(), isTauResonanceCounter(), and Reset().
|
private |
Definition at line 168 of file TauDecay.h.
Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().
|
private |
Definition at line 169 of file TauDecay.h.
Referenced by ClassifyDecayMode(), ClassifyDecayResonance(), isTauParticleCounter(), and Reset().
|
private |
Definition at line 168 of file TauDecay.h.
Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().
|
private |
Definition at line 168 of file TauDecay.h.
Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().
|
private |
Definition at line 168 of file TauDecay.h.
Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().
|
private |
Definition at line 168 of file TauDecay.h.
Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().
|
private |
Definition at line 169 of file TauDecay.h.
Referenced by ClassifyDecayResonance(), isTauResonanceCounter(), and Reset().
|
private |
Definition at line 169 of file TauDecay.h.
Referenced by ClassifyDecayResonance(), isTauResonanceCounter(), and Reset().
|
private |
Definition at line 168 of file TauDecay.h.
Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().
|
private |
Definition at line 168 of file TauDecay.h.
Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().
|
private |
Definition at line 169 of file TauDecay.h.
Referenced by ClassifyDecayMode(), ClassifyDecayResonance(), isTauParticleCounter(), and Reset().
|
private |
Definition at line 168 of file TauDecay.h.
Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().
|
private |
Definition at line 168 of file TauDecay.h.
Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().
|
private |
Definition at line 169 of file TauDecay.h.
Referenced by ClassifyDecayMode(), ClassifyDecayResonance(), isTauResonanceCounter(), and Reset().
|
private |
Definition at line 169 of file TauDecay.h.
Referenced by ClassifyDecayResonance(), isTauResonanceCounter(), and Reset().
|
private |
Definition at line 169 of file TauDecay.h.
Referenced by isTauResonanceCounter(), and Reset().