ATLAS Offline Software
SegmentTag.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_SEGMENTTAG_H
6 #define MUONCOMBINEDEVENT_SEGMENTTAG_H
7 
10 
11 namespace MuonCombined {
12 
14  class SegmentTag : public TagBase {
15  public:
18  SegmentTag(const std::vector<MuonCombined::MuonSegmentInfo>& segmentsInfo);
19 
22 
24  // double matchChi2() const;
25  const std::vector<MuonSegmentInfo>& segmentsInfo() const;
26 
28  std::vector<const Muon::MuonSegment*> associatedSegments() const override;
29 
31  std::string name() const override { return "SegmentTag"; }
32 
34  std::string toString() const override { return name(); }
35 
36  private:
38  SegmentTag(const SegmentTag&) = delete;
39  SegmentTag& operator=(const SegmentTag&) = delete;
40 
42  std::vector<MuonCombined::MuonSegmentInfo> m_segmentsInfo;
43  };
44 
45 } // namespace MuonCombined
46 
47 #endif
MuonCombined::SegmentTag
TagBase implementation for a segment tagger.
Definition: SegmentTag.h:14
MuonCombined::SegmentTag::SegmentTag
SegmentTag(const SegmentTag &)=delete
block copy and assignment
MuonCombined::SegmentTag::name
std::string name() const override
name string
Definition: SegmentTag.h:31
MuonSegmentInfo.h
MuonCombined::SegmentTag::toString
std::string toString() const override
print content to string
Definition: SegmentTag.h:34
MuonCombined::SegmentTag::associatedSegments
std::vector< const Muon::MuonSegment * > associatedSegments() const override
access to associated segments, empty vector if non available
Definition: SegmentTag.cxx:13
MuonCombined::SegmentTag::SegmentTag
SegmentTag(const std::vector< MuonCombined::MuonSegmentInfo > &segmentsInfo)
Constructor taking a match chi2 as input.
Definition: SegmentTag.cxx:9
MuonCombined::SegmentTag::segmentsInfo
const std::vector< MuonSegmentInfo > & segmentsInfo() const
access
Definition: SegmentTag.cxx:20
MuonCombined::SegmentTag::operator=
SegmentTag & operator=(const SegmentTag &)=delete
TagBase.h
MuonCombined::SegmentTag::~SegmentTag
~SegmentTag()
destructor
MuonCombined
The MuonTagToSegMap is an auxillary construct that links the MuonSegments associated with a combined ...
Definition: IMuonSystemExtensionTool.h:23
MuonCombined::SegmentTag::m_segmentsInfo
std::vector< MuonCombined::MuonSegmentInfo > m_segmentsInfo
data content
Definition: SegmentTag.h:42
MuonCombined::TagBase
base-class for combined reconstruction output Provides access to MuonType and Author
Definition: TagBase.h:48