19 const IInterface*
p ) :
33 return StatusCode::SUCCESS;
45 ATH_MSG_ERROR(
"Couldn't retrieve container with name " << m_jetsKey);
46 return StatusCode::FAILURE;
53 for (
const auto *ajet : *inputJets){
55 ATH_MSG_ERROR(
"Did not have input PartonTruthLabelID decorations available");
56 return StatusCode::FAILURE;
58 else if (!HadronConeExclTruthLabelIDAcc.
isAvailable(*ajet) ){
59 ATH_MSG_ERROR(
"Did not have input HadronConeExclTruthLabelID decorations available");
60 return StatusCode::FAILURE;
68 if (HadronConeExclTruthLabelIDAcc(*ajet)!=0){
69 output_decorator(*ajet) = HadronConeExclTruthLabelIDAcc(*ajet);
71 int labelid = PartonTruthLabelIDAcc(*ajet);
72 if (std::abs(labelid)!=5 &&
73 std::abs(labelid)!=4 &&
74 std::abs(labelid)!=15){
75 output_decorator(*ajet) = labelid;
77 output_decorator(*ajet) = labelid*100;
82 return StatusCode::SUCCESS;