diff --git a/Calorimetry/src/TrueMCintoRecoForJets.cc b/Calorimetry/src/TrueMCintoRecoForJets.cc index db11048..3b666da 100644 --- a/Calorimetry/src/TrueMCintoRecoForJets.cc +++ b/Calorimetry/src/TrueMCintoRecoForJets.cc @@ -100,6 +100,7 @@ void TrueMCintoRecoForJets::processEvent( LCEvent* evt ) { MCParticle *mcp = static_cast(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){ @@ -107,6 +108,7 @@ void TrueMCintoRecoForJets::processEvent( LCEvent* evt ) { } 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; }