ATLAS Offline Software
Loading...
Searching...
No Matches
InDetCandidateToTagMap.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7namespace MuonCombined {
9 m_tagMap.insert(std::pair<const InDetCandidate*, std::unique_ptr<TagBase> >(idcand, std::unique_ptr<TagBase>(tag)));
10 }
11
13 tagMap::const_iterator pos = m_tagMap.find(idcand);
14 if (pos == end()) return nullptr;
15 return pos->second.get();
16 }
17
18 unsigned int InDetCandidateToTagMap::size() const { return m_tagMap.size(); }
19 bool InDetCandidateToTagMap::empty() const { return m_tagMap.empty(); }
20 InDetCandidateToTagMap::tagMap::iterator InDetCandidateToTagMap::begin() { return m_tagMap.begin(); }
21 InDetCandidateToTagMap::tagMap::iterator InDetCandidateToTagMap::end() { return m_tagMap.end(); }
22 InDetCandidateToTagMap::tagMap::const_iterator InDetCandidateToTagMap::begin() const { return m_tagMap.begin(); }
23 InDetCandidateToTagMap::tagMap::const_iterator InDetCandidateToTagMap::end() const { return m_tagMap.end(); }
24} // namespace MuonCombined
const TagBase * getTag(const InDetCandidate *idcand) const
void addEntry(const InDetCandidate *idcand, TagBase *tag)
base-class for combined reconstruction output Provides access to MuonType and Author
Definition TagBase.h:48
The MuonTagToSegMap is an auxillary construct that links the MuonSegments associated with a combined ...