Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Sep 9, 2024
1 parent 97fe54e commit 245ad6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions k4MarlinWrapper/src/components/LcioEventOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ void LcioEventOutput::revertSubsets(const std::vector<lcio::LCCollectionVec*>& s
////////////////////////////////////////////
StatusCode LcioEventOutput::execute(const EventContext&) const {
// Get event
DataObject* pObject = nullptr;
StatusCode sc = evtSvc()->retrieveObject("/Event/LCEvent", pObject);
DataObject* pObject = nullptr;
StatusCode sc = evtSvc()->retrieveObject("/Event/LCEvent", pObject);
if (sc.isFailure()) {
error() << "Could not retrieve LCEvent from event service" << endmsg;
return StatusCode::FAILURE;
Expand Down
8 changes: 4 additions & 4 deletions k4MarlinWrapper/src/components/MarlinProcessorWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ StatusCode MarlinProcessorWrapper::execute(const EventContext&) const {
// Handle exceptions that may come from Marlin
catch (marlin::SkipEventException& e) {
// Store flag to prevent the rest of the event from processing
auto upStatus = std::make_unique<LCEventWrapperStatus>(false);
const StatusCode code = eventSvc()->registerObject("/Event/LCEventStatus", upStatus.release());
auto upStatus = std::make_unique<LCEventWrapperStatus>(false);
const StatusCode code = eventSvc()->registerObject("/Event/LCEventStatus", upStatus.release());
if (code.isFailure()) {
error() << "Failed to store flag to skip event on Marlin marlin::SkipEventException" << endmsg;
return scStatus;
Expand All @@ -287,8 +287,8 @@ StatusCode MarlinProcessorWrapper::execute(const EventContext&) const {
return StatusCode::FAILURE;
} catch (marlin::StopProcessingException& e) {
// Store flag to prevent the rest of the event from processing
auto upStatus = std::make_unique<LCEventWrapperStatus>(false);
const StatusCode code = eventSvc()->registerObject("/Event/LCEventStatus", upStatus.release());
auto upStatus = std::make_unique<LCEventWrapperStatus>(false);
const StatusCode code = eventSvc()->registerObject("/Event/LCEventStatus", upStatus.release());
if (code.isFailure()) {
error() << "Failed to store flag to skip event on Marlin marlin::StopProcessingException" << endmsg;
return scStatus;
Expand Down

0 comments on commit 245ad6a

Please sign in to comment.