19 return StatusCode::SUCCESS;
26 ATH_CHECK(wh_outidtracks.
record(std::make_unique<xAOD::TrackParticleContainer>(), std::make_unique<xAOD::TrackParticleAuxContainer>()));
31 ATH_MSG_DEBUG(
"adding combined muon container with size: "<<cbMuons->size());
33 for(
auto cbmuon : *cbMuons) {
37 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
An algorithm that can be simultaneously executed in multiple threads.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
virtual StatusCode initialize() override
initialize
GetL2CBmuonInDetTracksAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
SG::ReadHandleKey< xAOD::L2CombinedMuonContainer > m_muonL2CBContainerKey
virtual StatusCode execute(const EventContext &ctx) const override
execute the filter alg
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_idTrackOutputKey
bool isPresent() const
Is the referenced object present in SG?
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
pointer_type ptr()
Dereference the pointer.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".