 |
ATLAS Offline Software
|
Go to the documentation of this file.
22 ISvcLocator* pSvcLocator)
34 return StatusCode::SUCCESS;
44 ATH_CHECK(el_outputContainer.
record(std::make_unique<xAOD::ElectronContainer>(),
45 std::make_unique<xAOD::ElectronAuxContainer>()));
47 ATH_CHECK(ph_outputContainer.
record(std::make_unique<xAOD::PhotonContainer>(),
48 std::make_unique<xAOD::PhotonAuxContainer>()));
70 return StatusCode::SUCCESS;
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
egammaAmbiguityRelinker(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode execute(const EventContext &ctx) const override final
SG::WriteHandleKey< xAOD::ElectronContainer > m_electronOutputKey
Name of the electron output collection.
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronInputKey
Name of the electron input collection.
SG::WriteHandleKey< xAOD::PhotonContainer > m_photonOutputKey
Name of the photon output collection.
An algorithm that can be simultaneously executed in multiple threads.
Handle class for recording to StoreGate.
::StatusCode StatusCode
StatusCode definition for legacy code.
pointer_type ptr()
Dereference the pointer.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
SG::ReadHandleKey< xAOD::PhotonContainer > m_photonInputKey
Name of the photon input collection.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
StatusCode initialize() override final
Handle class for reading from StoreGate.
size_type size() const noexcept
Returns the number of elements in the collection.
void doAmbiguityLinks(const EventContext &ctx, DataVector< SrcT > *srcContainer, DataVector< DestT > *destContainer)