6#include "GaudiKernel/EventContext.h"
15 const IInterface* parent)
16 : extends(
type, name, parent) {}
25 return StatusCode::SUCCESS;
36 return StatusCode::FAILURE;
39 ATH_MSG_DEBUG(
"Read " << fifoHandle->size() <<
" TOBs from event store");
42 auto ports_out = std::make_unique<GepAlgoPU1SuppPortsOutFIFO>();
45 for (
const auto& tob_in : *fifoHandle) {
52 ports_out->push_back(std::move(tob_out));
56 for (
const auto& tob_out : *ports_out) {
57 for (
const auto& hexstr : tob_out.m_outputTobs) {
67 ATH_MSG_DEBUG(
"PU1 suppression outputs recorded to event store under key: "
70 return StatusCode::SUCCESS;
74 return "PU1SuppAlgTool: Tool for PU1 suppression";
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
Interface for the PU1 suppression algorithm logic.
Handle class for reading from StoreGate.
Handle class for recording to StoreGate.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...
Output data structure for PU1 suppression.