Skip to content

Commit

Permalink
clarifying comments on what we veto or check for, when considering bo…
Browse files Browse the repository at this point in the history
…son decays
  • Loading branch information
webermat authored and andresailer committed Jan 24, 2020
1 parent 0e3a910 commit 230f5f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Calorimetry/src/TrueMCintoRecoForJets.cc
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,15 @@ void TrueMCintoRecoForJets::processEvent( LCEvent* evt ) {
MCParticle *mcp = static_cast<MCParticle*>(mcColl->getElementAt(m));
//in order to catch events where the lepton branches off an FSR photon
if(m_vetoBosonLeptons && (abs(mcp->getPDG())==24 || mcp->getPDG()==23) && mcp->getDaughters().size()>1 && (abs(mcp->getDaughters()[0]->getPDG())>6 && abs(mcp->getDaughters()[0]->getPDG())<17)){
//fill for lepton decays (e,mu,tau, and corresponding neutrinos)
fillStableDaughterSet(mcp, boson_daughtersFunc);
}
if(mcp->getGeneratorStatus()!=1){
continue;
}
if (boson_daughtersFunc.count(mcp) != 0)
{
//check for muon and electrons in decay history, catches also leptonic tau decays
if(ind_MCLep==-1 && (abs(mcp->getPDG())==11 || abs(mcp->getPDG())==13)){
ind_MCLep=m;
}
Expand Down

0 comments on commit 230f5f9

Please sign in to comment.