Skip to content
Snippets Groups Projects
Commit fa5d7b63 authored by Andrii Verbytskyi's avatar Andrii Verbytskyi Committed by Walter Lampl
Browse files

Drop special condition for Herwig++ particle status codes

Drop special condition for Herwig++ particle status codes
parent 699d3bda
No related merge requests found
......@@ -376,9 +376,9 @@ StatusCode BuildTruthTaus::examineTruthTauDecay (const xAOD::TruthParticle& xTru
int iPdgId = xTruthDaughter->pdgId();
// look at decay of unstable particles
if (xTruthDaughter->status() == 2 or xTruthDaughter->status() == 11 or xTruthDaughter->status() == HepMC::SPECIALSTATUS) // 11 for HERWIG++
if (xTruthDaughter->status() == 2 || xTruthDaughter->status() == HepMC::SPECIALSTATUS)
{
if ( iAbsPdgId != 111 and iAbsPdgId != 311 and iAbsPdgId != 310 and iAbsPdgId != 130 )
if ( iAbsPdgId != 111 && iAbsPdgId != 311 && iAbsPdgId != 310 && iAbsPdgId != 130 )
{
examineTruthTauDecay(*xTruthDaughter, truthInfo).ignore();
continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment