225 if(
OnePi0&TauBitMask)
return 1;
226 if(
TwoPi0&TauBitMask)
return 2;
259 if(MODE_ID==
MODE_ELECTRON)
return "#tau^{#pm} #rightarrow e^{#pm}#nu#nu";
260 else if(MODE_ID==
MODE_MUON)
return "#tau^{#pm} #rightarrow #mu^{#pm}#nu#nu";
261 else if(MODE_ID==
MODE_PION)
return "#tau^{#pm} #rightarrow #pi^{#pm}#nu";
262 else if(MODE_ID==
MODE_PIPI0)
return "#tau^{#pm} #rightarrow #pi^{#pm}#pi^{0}#nu";
263 else if(MODE_ID==
MODE_3PI)
return "#tau^{#pm} #rightarrow #pi^{#pm}#pi^{#pm}#pi^{#mp}#nu";
264 else if(MODE_ID==
MODE_PI2PI0)
return "#tau^{#pm} #rightarrow #pi^{#pm}#pi^{0}#pi^{0}#nu";
265 else if(MODE_ID==
MODE_KAON)
return "#tau^{#pm} #rightarrow K^{#pm}#nu";
266 else if(MODE_ID==
MODE_KPI0)
return "#tau^{#pm} #rightarrow K^{#pm}#pi^{0}#nu";
267 else if(MODE_ID==
MODE_K0PI)
return "#tau^{#pm} #rightarrow K^{0}#pi^{#pm}#nu";
268 else if(MODE_ID==
MODE_3PIPI0)
return "#tau^{#pm} #rightarrow #pi^{#pm}#pi^{#pm}#pi^{#mp}#pi^{0}#nu";
269 else if(MODE_ID==
MODE_PI3PI0)
return "#tau^{#pm} #rightarrow #pi^{#pm}#pi^{0}#pi^{0}#pi^{0}#nu";
270 else if(MODE_ID==
MODE_3PI2PI0)
return "#tau^{#pm} #rightarrow #pi^{#pm}#pi^{#pm}#pi^{#mp}#pi^{0}#pi^{0}#nu";
271 else if(MODE_ID==
MODE_5PI)
return "#tau^{#pm} #rightarrow #pi^{#pm}#pi^{#pm}#pi^{#pm}#pi^{#mp}#pi^{#mp}#nu";
272 else if(MODE_ID==
MODE_5PIPI0)
return "#tau^{#pm} #rightarrow #pi^{#pm}#pi^{#pm}#pi^{#pm}#pi^{#mp}#pi^{#mp}#pi^{0}#nu";
273 else if(MODE_ID==
MODE_3PI3PI0)
return "#tau^{#pm} #rightarrow #pi^{#pm}#pi^{#pm}#pi^{#mp}#pi^{0}#pi^{0}#pi^{0}#nu";
274 else if(MODE_ID==
MODE_KPIK)
return "#tau^{#pm} #rightarrow K^{#pm}#pi^{#pm}K^{#mp}#nu";
275 else if(MODE_ID==
MODE_K0BK0PI)
return "#tau^{#pm} #rightarrow #bar{K}^{0}K^{0}#pi^{#pm}#nu";
276 else if(MODE_ID==
MODE_KK0BPI0)
return "#tau^{#pm} #rightarrow #bar{K}^{0}K^{0}#pi^{#pm}#pi^{0}#nu";
277 else if(MODE_ID==
MODE_K2PI0)
return "#tau^{#pm} #rightarrow K^{#pm}#pi^{0}#pi^{0}#nu";
278 else if(MODE_ID==
MODE_KPIPI)
return "#tau^{#pm} #rightarrow K^{#pm}#pi^{#pm}#pi^{#mp}#nu";
279 else if(MODE_ID==
MODE_PIK0PI0)
return "#tau^{#pm} #rightarrow K^{0}#pi^{#pm}#pi^{0}#nu";
280 else if(MODE_ID==
MODE_ETAPIPI0)
return "#tau^{#pm} #rightarrow #pi^{#pm}#eta#pi^{0}#nu";
281 else if(MODE_ID==
MODE_PIPI0GAM)
return "#tau^{#pm} #rightarrow #pi^{#pm}#pi^{0}#nu#gamma (obsolete)";
282 else if(MODE_ID==
MODE_KK0B)
return "#tau^{#pm} #rightarrow K^{#pm}#bar{K}^{0}#nu";
283 else if(MODE_ID==
MODE_PI4PI0)
return "#tau^{#pm} #rightarrow #pi^{#pm}#pi^{0}#pi^{0}#pi^{0}#pi^{0}#nu";
284 else if(MODE_ID==
MODE_3PIETA)
return "#tau^{#pm} #rightarrow #pi^{#pm}#pi^{#pm}#pi^{#mp}#eta#nu";
285 else if(MODE_ID==
MODE_PI2PI0ETA)
return "#tau^{#pm} #rightarrow #pi^{#pm}#pi^{0}#pi^{0}#eta#nu";
286 else if(MODE_ID==
MODE_PI2PI0OMEGA)
return "#tau^{#pm} #rightarrow #pi^{#pm}#pi^{0}#pi^{0}#omega#nu";
287 else if(MODE_ID==
MODE_3PIOMEGA)
return "#tau^{#pm} #rightarrow #pi^{#pm}#pi^{#pm}#pi^{#mp}#omega#nu";
288 else if(MODE_ID==
MODE_KOMEGA)
return "#tau^{#pm} #rightarrow K^{#pm}#omega#nu";
289 else if(MODE_ID==
MODE_K3PI0)
return "#tau^{#pm} #rightarrow K#pi^{0}#pi^{0}#pi^{0}#nu";
290 else if(MODE_ID==
MODE_K2PIPI0)
return "#tau^{#pm} #rightarrow K^{#pm}#pi^{#pm}#pi^{#mp}#pi^{0}#nu";
291 else if(MODE_ID==
MODE_KETA)
return "#tau^{#pm} #rightarrow K^{#pm}#eta#nu";
292 else if(MODE_ID==
MODE_K0PI2PI0)
return "#tau^{#pm} #rightarrow K^{0}#pi^{#pm}#pi^{0}#pi^{0}#nu";
293 else if(MODE_ID==
MODE_K03PI)
return "#tau^{#pm} #rightarrow K^{0}#pi^{#pm}#pi^{#pm}#pi^{#mp}#nu";
294 else if(MODE_ID==
MODE_2K0PIPI0)
return "#tau^{#pm} #rightarrow K^{0}#bar{K}^{0}#pi^{#pm}#pi^{-}#nu";
295 else if(MODE_ID==
MODE_KPIKPI0)
return "#tau^{#pm} #rightarrow K^{#pm}#pi^{#pm}K^{#mp}#pi^{0}#nu";
bool hasResonance(unsigned int &TauBitMask, int pdgid)
bool isTauFinalStateParticle(int pdgid)
Abs< T >::type abs(const T &t)
bool isTauResonanceCounter(int pdgid)
void ClassifyDecayMode(unsigned int &MODE_ID, unsigned int &TauBitMask)
static std::string DecayMode(unsigned int &MODE_ID)
void ClassifyDecayResonance(unsigned int &TauBitMask)
unsigned int nPi0(unsigned int &TauBitMask)
bool isTauParticleCounter(int pdgid)
unsigned int nProng(unsigned int &TauBitMask)