14 const std::string& name, ISvcLocator* loc)
24 return StatusCode::SUCCESS;
28 const EventContext& ctx)
const
37 for (
const auto* obj : *constituents) {
38 usedInChargedPFO(*obj) = -1;
42 for (
const auto* obj : *neutralPFOs) {
45 for (
const auto* otherObject : flow->otherObjects()) {
50 usedInChargedPFO(*otherObject) = 0;
55 for (
const auto* obj : *chargedPFOs) {
58 for (
const auto* otherObject : flow->otherObjects()) {
63 usedInChargedPFO(*otherObject) = 1;
67 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
Handle class for adding a decoration to an object.
An algorithm that can be simultaneously executed in multiple threads.
CaloChargedFlowDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< IPC > m_chargedPFOCollection
virtual StatusCode initialize() override
SG::ReadHandleKey< IPC > m_caloClusterCollection
SG::ReadHandleKey< IPC > m_neutralPFOCollection
SG::WriteDecorHandleKey< IPC > m_objUsedInChargedDecorator
virtual StatusCode execute(const EventContext &) const override
Handle class for adding a decoration to an object.
FlowElement_v1 FlowElement
Definition of the current "pfo version".