19 const IInterface*
p ) :
22 declareInterface<DerivationFramework::IAugmentationTool>(
this);
34 return StatusCode::SUCCESS;
42 const EventContext& ctx = Gaudi::Hive::currentContext();
47 ATH_MSG_ERROR(
"Couldn't retrieve container with name " << m_jetsKey);
48 return StatusCode::FAILURE;
55 for (
const auto *ajet : *inputJets){
57 ATH_MSG_ERROR(
"Did not have input PartonTruthLabelID decorations available");
58 return StatusCode::FAILURE;
60 else if (!HadronConeExclTruthLabelIDAcc.
isAvailable(*ajet) ){
61 ATH_MSG_ERROR(
"Did not have input HadronConeExclTruthLabelID decorations available");
62 return StatusCode::FAILURE;
70 if (HadronConeExclTruthLabelIDAcc(*ajet)!=0){
71 output_decorator(*ajet) = HadronConeExclTruthLabelIDAcc(*ajet);
73 int labelid = PartonTruthLabelIDAcc(*ajet);
74 if (std::abs(labelid)!=5 &&
75 std::abs(labelid)!=4 &&
76 std::abs(labelid)!=15){
77 output_decorator(*ajet) = labelid;
79 output_decorator(*ajet) = labelid*100;
84 return StatusCode::SUCCESS;