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;
84 ATH_CHECK( metHandle.record (std::make_unique<xAOD::MissingETContainer>(), std::make_unique<xAOD::MissingETAuxContainer>()) );
88 ATH_CHECK( metMapHandle.record (std::make_unique<xAOD::MissingETAssociationMap>(), std::make_unique<xAOD::MissingETAuxAssociationMap>()) );
92 if(
buildMET(metCont, metMap, ctx).isFailure() ) {
94 return StatusCode::SUCCESS;
101 return StatusCode::SUCCESS;
108 return StatusCode::SUCCESS;
121 if (tool->execute(metCont,metMap,ctx).isFailure()){
123 return StatusCode::FAILURE;
127 ATH_MSG_DEBUG( (foundOverlaps ?
"Overlaps" :
"No overlaps") <<
" identified!");
129 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.