Skip to content

Commit

Permalink
Changing TauDecay to not use intermediate resonance for pythia8
Browse files Browse the repository at this point in the history
  • Loading branch information
inugent committed Sep 14, 2013
1 parent f1cc058 commit 4281919
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Validation/EventGenerator/src/TauDecay.cc
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ void TauDecay::ClassifyDecayMode(unsigned int &JAK_ID,unsigned int &TauBitMask){
JAK_ID=JAK_PION;
return;
}
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){
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){ removing intermediate resoance to be compatible with pythia8
JAK_ID=JAK_RHO_PIPI0;
return;
}
Expand Down Expand Up @@ -247,10 +247,11 @@ void TauDecay::ClassifyDecayMode(unsigned int &JAK_ID,unsigned int &TauBitMask){
JAK_ID=JAK_KPIPI;
return;
}
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){
// removing JAKID 21 to allow for compatibility with Pythia8
/* 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){
JAK_ID=JAK_PIPI0GAM;
return;
}
}*/
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;
JAK_ID=JAK_UNKNOWN;
}
Expand Down

0 comments on commit 4281919

Please sign in to comment.