36 using std::setprecision;
57 ATH_MSG_ERROR(
"Output suffix for MET names must be provided.");
58 return StatusCode::FAILURE;
62 ATH_MSG_INFO(
"Tool configured to build MET with names:");
73 return StatusCode::SUCCESS;
85 ATH_CHECK( metHandle.record (std::make_unique<xAOD::MissingETContainer>(), std::make_unique<xAOD::MissingETAuxContainer>()) );
89 ATH_CHECK( metMapHandle.record (std::make_unique<xAOD::MissingETAssociationMap>(), std::make_unique<xAOD::MissingETAuxAssociationMap>()) );
93 if(
buildMET(metCont, metMap).isFailure() ) {
95 return StatusCode::SUCCESS;
102 return StatusCode::SUCCESS;
109 return StatusCode::SUCCESS;
122 if (tool->execute(metCont,metMap).isFailure()){
124 return StatusCode::FAILURE;
128 ATH_MSG_DEBUG( (foundOverlaps ?
"Overlaps" :
"No overlaps") <<
" identified!");
130 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
bool identifyOverlaps()
Do overlap-finding in all associations.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
MissingETContainer_v1 MissingETContainer
MissingETAssociationMap_v1 MissingETAssociationMap
Version control by type defintion.