ATLAS Offline Software
Loading...
Searching...
No Matches
InDetCandidateToTagMap.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONCOMBINEDEVENT_INDETCANDIDATETOTAGMAP_H
6#define MUONCOMBINEDEVENT_INDETCANDIDATETOTAGMAP_H
7
8#include <map>
9
12
13namespace MuonCombined {
14
16 public:
17 using tagMap = std::map<const InDetCandidate*, std::unique_ptr<TagBase> >;
18
22
23 void addEntry(const InDetCandidate* idcand, TagBase* tag);
24 const TagBase* getTag(const InDetCandidate* idcand) const;
25 unsigned int size() const;
26 bool empty() const;
27
28 tagMap::iterator begin();
29 tagMap::iterator end();
30 tagMap::const_iterator begin() const;
31 tagMap::const_iterator end() const;
32
33 private:
35 };
36} // namespace MuonCombined
37
40
41#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
const TagBase * getTag(const InDetCandidate *idcand) const
std::map< const InDetCandidate *, std::unique_ptr< TagBase > > tagMap
InDetCandidateToTagMap(InDetCandidateToTagMap &&oldMap)=default
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 ...