CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
TauDecay Class Reference

#include <TauDataFormat/TauNtuple/src/TauDecay_CMSSW.cc>

Inheritance diagram for TauDecay:
TauDecay_CMSSW TauDecay_GenParticle

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
 

Detailed Description

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.

Member Enumeration Documentation

Enumerator
MODE_UNKNOWN 
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 

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.

Constructor & Destructor Documentation

TauDecay::TauDecay ( )

Definition at line 7 of file TauDecay.cc.

TauDecay::~TauDecay ( )

Definition at line 11 of file TauDecay.cc.

Member Function Documentation

void TauDecay::ClassifyDecayMode ( unsigned int &  MODE_ID,
unsigned int &  TauBitMask 
)

Definition at line 89 of file TauDecay.cc.

Referenced by TauDecay_GenParticle::AnalyzeTau(), and TauDecay_CMSSW::AnalyzeTau().

void TauDecay::ClassifyDecayResonance ( unsigned int &  TauBitMask)
private

Definition at line 246 of file TauDecay.cc.

std::string TauDecay::DecayMode ( unsigned int &  MODE_ID)
static

Definition at line 258 of file TauDecay.cc.

bool TauDecay::hasResonance ( unsigned int &  TauBitMask,
int  pdgid 
)

Definition at line 231 of file TauDecay.cc.

bool TauDecay::isTauFinalStateParticle ( int  pdgid)

Definition at line 36 of file TauDecay.cc.

Referenced by TauDecay_GenParticle::Analyze(), and TauDecay_CMSSW::Analyze().

bool TauDecay::isTauParticleCounter ( int  pdgid)

Definition at line 55 of file TauDecay.cc.

Referenced by TauDecay_GenParticle::Analyze(), and TauDecay_CMSSW::Analyze().

bool TauDecay::isTauResonanceCounter ( int  pdgid)

Definition at line 75 of file TauDecay.cc.

Referenced by TauDecay_GenParticle::Analyze(), and TauDecay_CMSSW::Analyze().

unsigned int TauDecay::nPi0 ( unsigned int &  TauBitMask)

Definition at line 224 of file TauDecay.cc.

unsigned int TauDecay::nProng ( unsigned int &  TauBitMask)

Definition at line 218 of file TauDecay.cc.

void TauDecay::Reset ( void  )

Definition at line 15 of file TauDecay.cc.

Referenced by TauDecay_GenParticle::AnalyzeTau(), and TauDecay_CMSSW::AnalyzeTau().

Member Data Documentation

unsigned int TauDecay::n_a1
private

Definition at line 168 of file TauDecay.h.

unsigned int TauDecay::n_a10
private

Definition at line 168 of file TauDecay.h.

unsigned int TauDecay::n_e
private

Definition at line 167 of file TauDecay.h.

unsigned int TauDecay::n_eta
private

Definition at line 168 of file TauDecay.h.

unsigned int TauDecay::n_gamma
private

Definition at line 167 of file TauDecay.h.

unsigned int TauDecay::n_K
private

Definition at line 167 of file TauDecay.h.

unsigned int TauDecay::n_K0L
private

Definition at line 167 of file TauDecay.h.

unsigned int TauDecay::n_K0S
private

Definition at line 167 of file TauDecay.h.

unsigned int TauDecay::n_Kstar
private

Definition at line 168 of file TauDecay.h.

unsigned int TauDecay::n_Kstar0
private

Definition at line 168 of file TauDecay.h.

unsigned int TauDecay::n_mu
private

Definition at line 167 of file TauDecay.h.

unsigned int TauDecay::n_nu
private

Definition at line 167 of file TauDecay.h.

unsigned int TauDecay::n_omega
private

Definition at line 168 of file TauDecay.h.

unsigned int TauDecay::n_pi
private

Definition at line 167 of file TauDecay.h.

unsigned int TauDecay::n_pi0
private

Definition at line 167 of file TauDecay.h.

unsigned int TauDecay::n_rho
private

Definition at line 168 of file TauDecay.h.

unsigned int TauDecay::n_rho0
private

Definition at line 168 of file TauDecay.h.

unsigned int TauDecay::unknown
private

Definition at line 168 of file TauDecay.h.