diff --git a/k4MarlinWrapper/src/components/MarlinProcessorWrapper.cpp b/k4MarlinWrapper/src/components/MarlinProcessorWrapper.cpp index 93a4b9df..61050882 100644 --- a/k4MarlinWrapper/src/components/MarlinProcessorWrapper.cpp +++ b/k4MarlinWrapper/src/components/MarlinProcessorWrapper.cpp @@ -131,12 +131,12 @@ std::shared_ptr MarlinProcessorWrapper::parseParameter StatusCode MarlinProcessorWrapper::instantiateProcessor(std::shared_ptr& parameters, Gaudi::Property& processorTypeStr) { auto processorType = marlin::ProcessorMgr::instance()->getProcessor(processorTypeStr); - if (not processorType) { + if (!processorType) { error() << " Failed to instantiate " << name() << " because processor type could not be determined" << endmsg; return StatusCode::FAILURE; } m_processor = processorType->newProcessor(); - if (not m_processor) { + if (!m_processor) { error() << " Failed to instantiate " << name() << endmsg; return StatusCode::FAILURE; } @@ -215,7 +215,7 @@ StatusCode MarlinProcessorWrapper::execute(const EventContext&) const { StatusCode scStatus = eventSvc()->retrieveObject("/Event/LCEventStatus", pStatus); if (scStatus.isSuccess()) { bool hasLCEvent = static_cast(pStatus)->hasLCEvent; - if (not hasLCEvent) { + if (!hasLCEvent) { warning() << "LCIO Event reading returned nullptr, so MarlinProcessorWrapper won't execute" << endmsg; return StatusCode::SUCCESS; }