|
ATLAS Offline Software
|
Go to the documentation of this file.
21 return StatusCode::SUCCESS;
28 ATH_CHECK(wh_outmuons.
record(std::make_unique<xAOD::MuonContainer>(), std::make_unique<xAOD::MuonAuxContainer>()));
35 for(
auto muon : *cbMuons){
41 if(rh_insideoutmuons.
isValid()){
44 for(
auto muon : *insideOutMuons){
49 return StatusCode::SUCCESS;
virtual StatusCode execute(const EventContext &ctx) const override
execute the filter alg
MergeEFMuonsAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< xAOD::MuonContainer > m_muonInsideOutContainerKey
::StatusCode StatusCode
StatusCode definition for legacy code.
pointer_type ptr()
Dereference the pointer.
SG::WriteHandleKey< xAOD::MuonContainer > m_muonOutputKey
virtual bool isValid() override final
Can the handle be successfully dereferenced?
value_type push_back(value_type pElem)
Add an element to the end of the collection.
const_pointer_type ptr()
Dereference the pointer.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
virtual StatusCode initialize() override
initialize
size_type size() const noexcept
Returns the number of elements in the collection.
SG::ReadHandleKey< xAOD::MuonContainer > m_muonCBContainerKey