|
ATLAS Offline Software
|
Go to the documentation of this file.
25 return StatusCode::SUCCESS;
32 ATH_CHECK(wh_outidtracks.
record(std::make_unique<xAOD::TrackParticleContainer>(), std::make_unique<xAOD::TrackParticleAuxContainer>()));
45 ATH_MSG_DEBUG(
"adding L2 multi-track muon container with size: "<<l2mtMuons->
size());
50 for(
auto track : *FullIDtracks) {
51 bool trackMatcher =
false;
53 for(
auto cbmuon : *cbMuons) {
54 if(!cbmuon->idTrack())
continue;
55 if(cbmuon->idTrack()==
track) {
62 for(
auto iomuon : *ioMuons) {
63 if(!iomuon->idTrack())
continue;
64 if(iomuon->idTrack()==
track) {
71 for(
auto l2mtmuon : *l2mtMuons) {
72 if(!l2mtmuon->idTrack())
continue;
73 if(l2mtmuon->idTrack()==
track) {
84 ATH_MSG_DEBUG(
"no inner detector tracks could be matched to any cb, io or l2mt muon in the event");
88 return StatusCode::SUCCESS;
SG::ReadHandleKey< xAOD::L2CombinedMuonContainer > m_muonInsideOutContainerKey
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)
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_fullIDtrackContainerKey
MergeMuonInDetTracksAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode initialize() override
initialize
SG::ReadHandleKey< xAOD::L2CombinedMuonContainer > m_muonL2mtContainerKey
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_idTrackOutputKey
::StatusCode StatusCode
StatusCode definition for legacy code.
pointer_type ptr()
Dereference the pointer.
SG::ReadHandleKey< xAOD::L2CombinedMuonContainer > m_muonCBContainerKey
virtual StatusCode execute(const EventContext &ctx) const override
execute the filter alg
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.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
bool isPresent() const
Is the referenced object present in SG?
Class describing a TrackParticle.
size_type size() const noexcept
Returns the number of elements in the collection.