7#ifndef DERIVATIONFRAMEWORK_METREMAPPINGALG_H
8#define DERIVATIONFRAMEWORK_METREMAPPINGALG_H
14#include "Gaudi/Property.h"
15#include "GaudiKernel/ToolHandle.h"
18#include "AthLinks/ElementLink.h"
38 virtual StatusCode
execute()
override;
41 typedef std::map<const xAOD::IParticle*, ElementLink<xAOD::IParticleContainer>>
linkMap_t;
defines an "iterator" over instances of a given type in StoreGateSvc
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
const SG::AuxElement::ConstAccessor< ElementLink< xAOD::IParticleContainer > > m_accOriginalObject
SG::WriteHandleKey< xAOD::MissingETAssociationMap > m_outputMapKey
virtual ~METRemappingAlg()=default
METRemappingAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< xAOD::MissingETContainer > m_inputCoreKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetContKey
SG::WriteHandleKey< xAOD::MissingETContainer > m_outputCoreKey
StatusCode fillLinkMap(linkMap_t &map, handle_t &handle)
SG::ReadHandleKey< xAOD::TauJetContainer > m_tauContKey
virtual StatusCode execute() override
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronContKey
SG::ReadHandleKey< xAOD::MuonContainer > m_muonContKey
std::map< const xAOD::IParticle *, ElementLink< xAOD::IParticleContainer > > linkMap_t
SG::ReadHandleKey< xAOD::MissingETAssociationMap > m_inputMapKey
SG::ReadHandleKey< xAOD::PhotonContainer > m_photonContKey
virtual StatusCode initialize() override
SG::ConstAccessor< T, ALLOC > ConstAccessor
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.