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 | Private Member Functions | Private Attributes
TauDecay Class Reference

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

Inheritance diagram for TauDecay:
TauDecay_CMSSW

Public Types

enum  JAK {
  JAK_UNKNOWN =0, JAK_ELECTRON =1, JAK_MUON =2, JAK_PION =3,
  JAK_RHO_PIPI0 =4, JAK_A1_3PI =5, JAK_KAON =6, JAK_KSTAR =7,
  JAK_3PIPI0 =8, JAK_PI3PI0 =9, JAK_3PI2PI0 =10, JAK_5PI =11,
  JAK_5PIPI0 =12, JAK_3PI3PI0 =13, JAK_KPIK =14, JAK_K0BK0PI =15,
  JAK_KK0BPI0 =16, JAK_K2PI0 =17, JAK_KPIPI =18, JAK_PIK0PI0 =19,
  JAK_ETAPIPI0 =20, JAK_PIPI0GAM =21, JAK_KK0B =22, NJAKID =23
}
 
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 &JAK_ID, unsigned int &TauBitMask)
 
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 ()
 

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 JAK modes of the Tauola decays and provides a bit mask of the decay structure for the tau

Description: [one line class summary]

Implementation: [Notes on implementation]

Definition at line 22 of file TauDecay.h.

Member Enumeration Documentation

Enumerator
JAK_UNKNOWN 
JAK_ELECTRON 
JAK_MUON 
JAK_PION 
JAK_RHO_PIPI0 
JAK_A1_3PI 
JAK_KAON 
JAK_KSTAR 
JAK_3PIPI0 
JAK_PI3PI0 
JAK_3PI2PI0 
JAK_5PI 
JAK_5PIPI0 
JAK_3PI3PI0 
JAK_KPIK 
JAK_K0BK0PI 
JAK_KK0BPI0 
JAK_K2PI0 
JAK_KPIPI 
JAK_PIK0PI0 
JAK_ETAPIPI0 
JAK_PIPI0GAM 
JAK_KK0B 
NJAKID 

Definition at line 50 of file TauDecay.h.

50  {JAK_UNKNOWN=0,
51  JAK_ELECTRON=1,
52  JAK_MUON=2,
53  JAK_PION=3,
54  JAK_RHO_PIPI0=4,
55  JAK_A1_3PI=5,
56  JAK_KAON=6,
57  JAK_KSTAR=7,
58  JAK_3PIPI0=8,
59  JAK_PI3PI0=9,
60  JAK_3PI2PI0=10,
61  JAK_5PI=11,
62  JAK_5PIPI0=12,
63  JAK_3PI3PI0=13,
64  JAK_KPIK=14,
65  JAK_K0BK0PI=15,
66  JAK_KK0BPI0=16,
67  JAK_K2PI0=17,
68  JAK_KPIPI=18,
69  JAK_PIK0PI0=19,
70  JAK_ETAPIPI0=20,
71  JAK_PIPI0GAM=21,
72  JAK_KK0B=22,
73  NJAKID=23
74  };
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 77 of file TauDecay.h.

Constructor & Destructor Documentation

TauDecay::TauDecay ( )

Definition at line 9 of file TauDecay.cc.

References Reset().

9  {
10  Reset();
11 }
void Reset()
Definition: TauDecay.cc:17
TauDecay::~TauDecay ( )

Definition at line 13 of file TauDecay.cc.

13  {
14 
15 }

Member Function Documentation

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

Definition at line 88 of file TauDecay.cc.

References ClassifyDecayResonance(), gather_cfg::cout, FiveProng, JAK_3PI2PI0, JAK_3PI3PI0, JAK_3PIPI0, JAK_5PI, JAK_5PIPI0, JAK_A1_3PI, JAK_ELECTRON, JAK_ETAPIPI0, JAK_K0BK0PI, JAK_K2PI0, JAK_KAON, JAK_KK0B, JAK_KK0BPI0, JAK_KPIK, JAK_KPIPI, JAK_KSTAR, JAK_MUON, JAK_PI3PI0, JAK_PIK0PI0, JAK_PION, JAK_PIPI0GAM, JAK_RHO_PIPI0, JAK_UNKNOWN, KS0_to_pipi, n_e, n_eta, n_gamma, n_K, n_K0L, n_K0S, n_mu, n_nu, n_pi, n_pi0, n_rho, OnePi0, OneProng, ThreePi0, ThreeProng, and TwoPi0.

Referenced by TauDecay_CMSSW::AnalyzeTau().

88  {
89  //Reset Bits
90  JAK_ID=0;
91  TauBitMask=0;
92  // Classify according to JAK and TauDecayStructure
94  //
95  // Exlusive modes remove first
96  //
97  if(n_pi>=1 && n_pi0>=1 && n_nu==1 && n_eta==1){ // eta modes
98  JAK_ID=JAK_ETAPIPI0;
99  TauBitMask=OneProng;
100  if(n_pi0==1)TauBitMask+=OnePi0;
101  if(n_pi0==2)TauBitMask+=TwoPi0;
102  if(n_pi0==3)TauBitMask+=ThreePi0;
103  ClassifyDecayResonance(TauBitMask);
104  return;
105  }
106  //JAK_K0BK0PI
107  if ((n_K0S+n_K0L==2 && n_pi==1 && n_pi0==0 && n_K==0 && n_nu==1) || (n_pi>=1 && n_pi0==0 && n_K0L+n_K0S==2 && n_K==0 && n_nu==1) ){
108  JAK_ID=JAK_K0BK0PI;
109  TauBitMask=OneProng;
110  if(n_pi>1)TauBitMask+=KS0_to_pipi;
111  ClassifyDecayResonance(TauBitMask);
112  return;
113  }
114  //if(n_Kstar==1){ //JAK_KSTAR K0SPi && KPi0
115  if(n_e==0 && n_mu==0 && n_pi>=1 && n_pi0==0 && n_K==0 && n_K0L+n_K0S==1 && n_nu==1){
116  JAK_ID=JAK_KSTAR;
117  TauBitMask=OneProng;
118  if(n_pi==3)TauBitMask+=KS0_to_pipi;
119  ClassifyDecayResonance(TauBitMask);
120  return;
121  }
122  if(n_e==0 && n_mu==0 && n_pi==0 && n_pi0==1 && n_K==1 && n_K0L==0 && n_K0S==0 && n_nu==1){
123  JAK_ID=JAK_KSTAR;
124  TauBitMask=OneProng;
125  ClassifyDecayResonance(TauBitMask);
126  return;
127  }
128  //}
129  //JAK_PIK0PI0
130  if(n_e==0 && n_mu==0 && n_pi>=1 && n_pi0==1 && n_K==0 && n_K0L+n_K0S==1 && n_nu==1){
131  JAK_ID=JAK_PIK0PI0;
132  TauBitMask=OneProng;
133  TauBitMask+=OnePi0;
134  if(n_pi==3)TauBitMask+=KS0_to_pipi;
135  ClassifyDecayResonance(TauBitMask);
136  return;
137  }
138  //JAK_KK0B
139  if(n_e==0 && n_mu==0 && n_pi0==0 && n_K==1 && n_K0L+n_K0S==1 && n_nu==1){
140  JAK_ID=JAK_KK0B;
141  TauBitMask=OneProng;
142  if(n_pi==2)TauBitMask+=KS0_to_pipi;
143  return;
144  }
145  //JAK_ID=JAK_KK0BPI0
146  if(n_e==0 && n_mu==0 && n_pi0==1 && n_K==1 && n_K0L+n_K0S==1 && n_nu==1){
147  JAK_ID=JAK_KK0BPI0;
148  TauBitMask=OneProng;
149  TauBitMask+=OnePi0;
150  if(n_pi==2)TauBitMask+=KS0_to_pipi;
151  ClassifyDecayResonance(TauBitMask);
152  return;
153  }
154 
155 
156  //Safty handelling for exlusive modes
157  if (n_K0L!=0){
158  std::cout << "Unknown mode with KL0: n_e " << n_e << " n_mu " << n_mu << " n_pi " << n_pi << " n_pi0 " << n_pi0 << " n_K " << n_K << " n_K0L " << n_K0L << " n_K0S " << n_K0S << " n_nu " << n_nu << " n_gamma " << n_gamma
159  << std::endl;
160  return;
161  }
162  if (n_K0S!=0){
163  std::cout << "Unknown mode with KS0: n_e " << n_e << " n_mu " << n_mu << " n_pi " << n_pi << " n_pi0 " << n_pi0 << " n_K " << n_K << " n_K0L " << n_K0L << " n_K0S " << n_K0S << " n_nu " << n_nu << " n_gamma " << n_gamma
164  << std::endl;
165  return;
166  }
167  if (n_eta!=0){
168  std::cout << "Unknown mode with eta: n_e " << n_e << " n_mu " << n_mu << " n_pi " << n_pi << " n_pi0 " << n_pi0 << " n_K " << n_K << " n_K0L " << n_K0L << " n_K0S " << n_K0S << " n_nu " << n_nu << " n_gamma " << n_gamma
169  << std::endl;
170  return;
171  }
172 
173 
174 
175  if(n_pi+n_K+n_e+n_mu==1)TauBitMask=OneProng;
176  if(n_pi+n_K==3)TauBitMask=ThreeProng;
177  if(n_pi+n_K==5)TauBitMask=FiveProng;
178  if(n_pi0==1)TauBitMask+=OnePi0;
179  if(n_pi0==2)TauBitMask+=TwoPi0;
180  if(n_pi0==3)TauBitMask+=ThreePi0;
181  ClassifyDecayResonance(TauBitMask);
183  //
184  // Standard modes
185  //
186  if(n_e==1 && n_mu==0 && n_pi==0 && n_pi0==0 && n_K==0 && n_K0L==0 && n_K0S==0 && n_nu==2){
187  JAK_ID=JAK_ELECTRON;
188  return;
189  }
190  if(n_e==0 && n_mu==1 && n_pi==0 && n_pi0==0 && n_K==0 && n_K0L==0 && n_K0S==0 && n_nu==2){
191  JAK_ID=JAK_MUON;
192  return;
193  }
194  if(n_e==0 && n_mu==0 && n_pi==1 && n_pi0==0 && n_K==0 && n_K0L==0 && n_K0S==0 && n_nu==1){
195  JAK_ID=JAK_PION;
196  return;
197  }
198  if(n_e==0 && n_mu==0 && n_pi==1 && n_pi0==1 && n_K==0 && n_K0L==0 && n_K0S==0 && n_nu==1 /*&& n_rho==1*/){
199  JAK_ID=JAK_RHO_PIPI0;
200  return;
201  }
202  if(n_e==0 && n_mu==0 && n_pi==1 && n_pi0==2 && n_K==0 && n_K0L==0 && n_K0S==0 && n_nu==1){
203  JAK_ID=JAK_A1_3PI;
204  return;
205  }
206  if(n_e==0 && n_mu==0 && n_pi==3 && n_pi0==0 && n_K==0 && n_K0L==0 && n_K0S==0 && n_nu==1){
207  JAK_ID=JAK_A1_3PI;
208  return;
209  }
210  if(n_e==0 && n_mu==0 && n_pi==0 && n_pi0==0 && n_K==1 && n_K0L==0 && n_K0S==0 && n_nu==1){
211  JAK_ID=JAK_KAON;
212  return;
213  }
214  if(n_e==0 && n_mu==0 && n_pi==3 && n_pi0==1 && n_K==0 && n_K0L==0 && n_K0S==0 && n_nu==1){
215  JAK_ID=JAK_3PIPI0;
216  return;
217  }
218  if(n_e==0 && n_mu==0 && n_pi==1 && n_pi0==3 && n_K==0 && n_K0L==0 && n_K0S==0 && n_nu==1){
219  JAK_ID=JAK_PI3PI0;
220  return;
221  }
222  if(n_e==0 && n_mu==0 && n_pi==3 && n_pi0==2 && n_K==0 && n_K0L==0 && n_K0S==0 && n_nu==1){
223  JAK_ID=JAK_3PI2PI0;
224  return;
225  }
226  if(n_e==0 && n_mu==0 && n_pi==5 && n_pi0==0 && n_K==0 && n_K0L==0 && n_K0S==0 && n_nu==1){
227  JAK_ID=JAK_5PI;
228  return;
229  }
230  if(n_e==0 && n_mu==0 && n_pi==5 && n_pi0==1 && n_K==0 && n_K0L==0 && n_K0S==0 && n_nu==1){
231  JAK_ID=JAK_5PIPI0;
232  return;
233  }
234  if(n_e==0 && n_mu==0 && n_pi==3 && n_pi0==3 && n_K==0 && n_K0L==0 && n_K0S==0 && n_nu==1){
235  JAK_ID=JAK_3PI3PI0;
236  return;
237  }
238  if(n_e==0 && n_mu==0 && n_pi==1 && n_pi0==0 && n_K==2 && n_K0L==0 && n_K0S==0 && n_nu==1){
239  JAK_ID=JAK_KPIK;
240  return;
241  }
242  if(n_e==0 && n_mu==0 && n_pi==0 && n_pi0==2 && n_K==1 && n_K0L==0 && n_K0S==0 && n_nu==1){
243  JAK_ID=JAK_K2PI0;
244  return;
245  }
246  if(n_e==0 && n_mu==0 && n_pi==2 && n_pi0==0 && n_K==1 && n_K0L==0 && n_K0S==0 && n_nu==1){
247  JAK_ID=JAK_KPIPI;
248  return;
249  }
250  if(n_e==0 && n_mu==0 && n_pi==1 && n_pi0==1 && n_K==0 && n_K0L==0 && n_K0S==0 && n_nu==1 && n_gamma>=1 && n_rho==0){
251  JAK_ID=JAK_PIPI0GAM;
252  return;
253  }
254  std::cout << "Tau Mode not found: n_e " << n_e << " n_mu " << n_mu << " n_pi " << n_pi << " n_pi0 " << n_pi0 << " n_K " << n_K << " n_K0L " << n_K0L << " n_K0S " << n_K0S << " n_nu " << n_nu << " n_gamma " << n_gamma << std::endl;
255  JAK_ID=JAK_UNKNOWN;
256 }
unsigned int n_pi
Definition: TauDecay.h:122
unsigned int n_nu
Definition: TauDecay.h:122
unsigned int n_K
Definition: TauDecay.h:122
unsigned int n_mu
Definition: TauDecay.h:122
unsigned int n_eta
Definition: TauDecay.h:123
unsigned int n_K0S
Definition: TauDecay.h:122
unsigned int n_e
Definition: TauDecay.h:122
void ClassifyDecayResonance(unsigned int &TauBitMask)
Definition: TauDecay.cc:258
unsigned int n_rho
Definition: TauDecay.h:123
tuple cout
Definition: gather_cfg.py:121
unsigned int n_K0L
Definition: TauDecay.h:122
unsigned int n_pi0
Definition: TauDecay.h:122
unsigned int n_gamma
Definition: TauDecay.h:122
void TauDecay::ClassifyDecayResonance ( unsigned int &  TauBitMask)
private

Definition at line 258 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().

258  {
259  // Add Resonance info to TauBitMask
260  if(n_a1>0) TauBitMask+=Res_a1_pm;
261  if(n_a10>0) TauBitMask+=Res_a1_0;
262  if(n_rho>0) TauBitMask+=Res_rho_pm;
263  if(n_rho0>0) TauBitMask+=Res_rho_0;
264  if(n_eta>0) TauBitMask+=Res_eta;
265  if(n_omega>0) TauBitMask+=Res_omega;
266  if(n_Kstar>0) TauBitMask+=Res_Kstar_pm;
267  if(n_Kstar0>0) TauBitMask+=Res_Kstar_0;
268 }
unsigned int n_omega
Definition: TauDecay.h:123
unsigned int n_eta
Definition: TauDecay.h:123
unsigned int n_rho0
Definition: TauDecay.h:123
unsigned int n_a10
Definition: TauDecay.h:123
unsigned int n_a1
Definition: TauDecay.h:123
unsigned int n_Kstar0
Definition: TauDecay.h:123
unsigned int n_rho
Definition: TauDecay.h:123
unsigned int n_Kstar
Definition: TauDecay.h:123
bool TauDecay::isTauFinalStateParticle ( int  pdgid)

Definition at line 38 of file TauDecay.cc.

References funct::abs(), PdtPdgMini::e_minus, PdtPdgMini::gamma, PdtPdgMini::K_L0, PdtPdgMini::K_plus, PdtPdgMini::K_S0, PdtPdgMini::mu_minus, PdtPdgMini::nu_e, PdtPdgMini::nu_mu, PdtPdgMini::nu_tau, PdtPdgMini::pi0, and PdtPdgMini::pi_plus.

Referenced by TauDecay_CMSSW::Analyze().

38  {
39  int id=abs(pdgid);
40  if(id==PdtPdgMini::e_minus) return true; // e+-
41  if(id==PdtPdgMini::nu_e) return true; // nu_e
42  if(id==PdtPdgMini::mu_minus) return true; // mu+-
43  if(id==PdtPdgMini::nu_mu) return true; // nu_mu
44  if(id==PdtPdgMini::nu_tau) return true; // nu_tau
45  if(id==PdtPdgMini::gamma) return true; // gamma happends in generator
46  if(id==PdtPdgMini::pi0) return true; // pi0
47  if(id==PdtPdgMini::pi_plus) return true; // pi+-
48  if(id==PdtPdgMini::K_L0) return true; // K0L
49  if(id==PdtPdgMini::K_S0) return true; // KS
50  if(id==PdtPdgMini::K_plus) return true; // K+-
51  return false;
52 }
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
bool TauDecay::isTauParticleCounter ( int  pdgid)

Definition at line 54 of file TauDecay.cc.

References funct::abs(), PdtPdgMini::e_minus, PdtPdgMini::gamma, PdtPdgMini::K_L0, PdtPdgMini::K_plus, PdtPdgMini::K_S0, PdtPdgMini::mu_minus, n_e, n_gamma, n_K, n_K0L, n_K0S, n_mu, n_nu, n_pi, n_pi0, PdtPdgMini::nu_e, PdtPdgMini::nu_mu, PdtPdgMini::nu_tau, PdtPdgMini::pi0, and PdtPdgMini::pi_plus.

Referenced by TauDecay_CMSSW::Analyze().

54  {
55  int id=abs(pdgid);
56  //count particles
57  if(id==PdtPdgMini::pi_plus) { n_pi++; return true;}
58  if(id==PdtPdgMini::pi0) { n_pi0++; return true;}
59  if(id==PdtPdgMini::K_plus) { n_K++; return true;}
60  if(id==PdtPdgMini::K_L0) { n_K0L++; return true;}
61  if(id==PdtPdgMini::K_S0) { n_K0S++; return true;}
62  if(id==PdtPdgMini::gamma) { n_gamma++; return true;}
63  if(id==PdtPdgMini::nu_tau ||
64  id==PdtPdgMini::nu_e ||
65  id==PdtPdgMini::nu_mu) { n_nu++; return true;}
66  if(id==PdtPdgMini::e_minus) { n_e++; return true;}
67  if(id==PdtPdgMini::mu_minus) { n_mu++; return true;}
68  return false;
69 }
unsigned int n_pi
Definition: TauDecay.h:122
unsigned int n_nu
Definition: TauDecay.h:122
unsigned int n_K
Definition: TauDecay.h:122
unsigned int n_mu
Definition: TauDecay.h:122
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
unsigned int n_K0S
Definition: TauDecay.h:122
unsigned int n_e
Definition: TauDecay.h:122
unsigned int n_K0L
Definition: TauDecay.h:122
unsigned int n_pi0
Definition: TauDecay.h:122
unsigned int n_gamma
Definition: TauDecay.h:122
bool TauDecay::isTauResonanceCounter ( int  pdgid)

Definition at line 71 of file TauDecay.cc.

References PdtPdgMini::a_10, PdtPdgMini::a_1_plus, funct::abs(), PdtPdgMini::eta, PdtPdgMini::K_star0, PdtPdgMini::K_star_plus, n_a1, n_a10, n_eta, n_Kstar, n_Kstar0, n_omega, n_rho, n_rho0, PdtPdgMini::omega, PdtPdgMini::rho0, PdtPdgMini::rho_plus, unknown, and PdtPdgMini::W_plus.

Referenced by TauDecay_CMSSW::Analyze().

71  {
72  int id=abs(pdgid);
73  //count resonances
74  if(id==PdtPdgMini::a_1_plus) { n_a1++; return true;}
75  if(id==PdtPdgMini::a_10) { n_a10++; return true;}
76  if(id==PdtPdgMini::rho_plus) { n_rho++; return true;}
77  if(id==PdtPdgMini::rho0) { n_rho0++; return true;}
78  if(id==PdtPdgMini::eta) { n_eta++; return true;}
79  if(id==PdtPdgMini::omega) { n_omega++; return true;}
80  //if(id==PdtPdgMini::K_S0) { n_K0S++; return true;}
81  if(id==PdtPdgMini::K_star0) { n_Kstar0++; return true;}
82  if(id==PdtPdgMini::K_star_plus){ n_Kstar++; return true;}
83  if(id==PdtPdgMini::W_plus) { return true;}
84  unknown++;
85  return false;
86 }
unsigned int unknown
Definition: TauDecay.h:123
unsigned int n_omega
Definition: TauDecay.h:123
unsigned int n_eta
Definition: TauDecay.h:123
unsigned int n_rho0
Definition: TauDecay.h:123
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
unsigned int n_a10
Definition: TauDecay.h:123
unsigned int n_a1
Definition: TauDecay.h:123
unsigned int n_Kstar0
Definition: TauDecay.h:123
unsigned int n_rho
Definition: TauDecay.h:123
unsigned int n_Kstar
Definition: TauDecay.h:123
unsigned int TauDecay::nPi0 ( unsigned int &  TauBitMask)
inline

Definition at line 109 of file TauDecay.h.

References OnePi0, ThreePi0, and TwoPi0.

109  {
110  if(OnePi0&TauBitMask) return 1;
111  if(TwoPi0&TauBitMask) return 2;
112  if(ThreePi0&TauBitMask) return 3;
113  return 0;
114  }
unsigned int TauDecay::nProng ( unsigned int &  TauBitMask)
inline

Definition at line 103 of file TauDecay.h.

References FiveProng, OneProng, and ThreeProng.

103  {
104  if(OneProng&TauBitMask) return 1;
105  if(ThreeProng&TauBitMask) return 3;
106  if(FiveProng&TauBitMask) return 5;
107  return 7;
108  }
void TauDecay::Reset ( void  )

Definition at line 17 of file TauDecay.cc.

References n_a1, n_a10, n_e, n_eta, n_gamma, n_K, n_K0L, n_K0S, n_Kstar, n_Kstar0, n_mu, n_nu, n_omega, n_pi, n_pi0, n_rho, n_rho0, and unknown.

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

17  {
18  n_pi=0;
19  n_pi0=0;
20  n_K=0;
21  n_K0L=0;
22  n_K0S=0;
23  n_gamma=0;
24  n_nu=0;
25  n_e=0;
26  n_mu=0;
27  n_a1=0;
28  n_a10=0;
29  n_rho=0;
30  n_rho0=0;
31  n_eta=0;
32  n_omega=0;
33  n_Kstar0=0;
34  n_Kstar=0;
35  unknown=0;
36 }
unsigned int n_pi
Definition: TauDecay.h:122
unsigned int unknown
Definition: TauDecay.h:123
unsigned int n_nu
Definition: TauDecay.h:122
unsigned int n_omega
Definition: TauDecay.h:123
unsigned int n_K
Definition: TauDecay.h:122
unsigned int n_mu
Definition: TauDecay.h:122
unsigned int n_eta
Definition: TauDecay.h:123
unsigned int n_rho0
Definition: TauDecay.h:123
unsigned int n_K0S
Definition: TauDecay.h:122
unsigned int n_a10
Definition: TauDecay.h:123
unsigned int n_a1
Definition: TauDecay.h:123
unsigned int n_e
Definition: TauDecay.h:122
unsigned int n_Kstar0
Definition: TauDecay.h:123
unsigned int n_rho
Definition: TauDecay.h:123
unsigned int n_Kstar
Definition: TauDecay.h:123
unsigned int n_K0L
Definition: TauDecay.h:122
unsigned int n_pi0
Definition: TauDecay.h:122
unsigned int n_gamma
Definition: TauDecay.h:122

Member Data Documentation

unsigned int TauDecay::n_a1
private

Definition at line 123 of file TauDecay.h.

Referenced by ClassifyDecayResonance(), isTauResonanceCounter(), and Reset().

unsigned int TauDecay::n_a10
private

Definition at line 123 of file TauDecay.h.

Referenced by ClassifyDecayResonance(), isTauResonanceCounter(), and Reset().

unsigned int TauDecay::n_e
private

Definition at line 122 of file TauDecay.h.

Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().

unsigned int TauDecay::n_eta
private
unsigned int TauDecay::n_gamma
private

Definition at line 122 of file TauDecay.h.

Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().

unsigned int TauDecay::n_K
private

Definition at line 122 of file TauDecay.h.

Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().

unsigned int TauDecay::n_K0L
private

Definition at line 122 of file TauDecay.h.

Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().

unsigned int TauDecay::n_K0S
private

Definition at line 122 of file TauDecay.h.

Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().

unsigned int TauDecay::n_Kstar
private

Definition at line 123 of file TauDecay.h.

Referenced by ClassifyDecayResonance(), isTauResonanceCounter(), and Reset().

unsigned int TauDecay::n_Kstar0
private

Definition at line 123 of file TauDecay.h.

Referenced by ClassifyDecayResonance(), isTauResonanceCounter(), and Reset().

unsigned int TauDecay::n_mu
private

Definition at line 122 of file TauDecay.h.

Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().

unsigned int TauDecay::n_nu
private

Definition at line 122 of file TauDecay.h.

Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().

unsigned int TauDecay::n_omega
private

Definition at line 123 of file TauDecay.h.

Referenced by ClassifyDecayResonance(), isTauResonanceCounter(), and Reset().

unsigned int TauDecay::n_pi
private

Definition at line 122 of file TauDecay.h.

Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().

unsigned int TauDecay::n_pi0
private

Definition at line 122 of file TauDecay.h.

Referenced by ClassifyDecayMode(), isTauParticleCounter(), and Reset().

unsigned int TauDecay::n_rho
private
unsigned int TauDecay::n_rho0
private

Definition at line 123 of file TauDecay.h.

Referenced by ClassifyDecayResonance(), isTauResonanceCounter(), and Reset().

unsigned int TauDecay::unknown
private

Definition at line 123 of file TauDecay.h.

Referenced by isTauResonanceCounter(), and Reset().