ATLAS Offline Software
IMuonPatternSegmentAssociationTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // IMuonPatternSegmentAssociationTool.h, (c) ATLAS Detector software
8 #ifndef IMUONMUONPATTERNSEGMENTASSOCIATIONTOOL_H
9 #define IMUONMUONPATTERNSEGMENTASSOCIATIONTOOL_H
10 
11 #include <map>
12 
13 #include "GaudiKernel/IAlgTool.h"
15 
16 namespace Muon {
17  class MuonSegmentCombination;
18  class MuonPatternCombination;
19 
20  static const InterfaceID IID_IMuonPatternSegmentAssociationTool("Muon::IMuonPatternSegmentAssociationTool", 1, 0);
21 
22  class IMuonPatternSegmentAssociationTool : virtual public IAlgTool {
23  public:
24  static const InterfaceID& interfaceID();
25 
27  typedef std::pair<AssociationMap::const_iterator, AssociationMap::const_iterator> AssociationMapRange;
28 
29  virtual const AssociationMap& map() const = 0;
30 
31  virtual void insert(const MuonSegmentCombination* segmentCombi, const MuonPatternCombination* associatedPatternCombi) const = 0;
32 
33  virtual void reset() const = 0;
34 
35  virtual AssociationMapRange find(const MuonSegmentCombination* segmentCombi) const = 0;
36 
37  virtual unsigned int count(const MuonSegmentCombination* segmentCombi) const = 0;
38  };
39 
40  inline const InterfaceID& Muon::IMuonPatternSegmentAssociationTool::interfaceID() { return IID_IMuonPatternSegmentAssociationTool; }
41 
42 } // namespace Muon
43 
44 #endif
Muon::MuonSegmentCombination
Definition: MuonSegmentCombination.h:30
Muon::IMuonPatternSegmentAssociationTool::reset
virtual void reset() const =0
Muon::IMuonPatternSegmentAssociationTool::insert
virtual void insert(const MuonSegmentCombination *segmentCombi, const MuonPatternCombination *associatedPatternCombi) const =0
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:45
MuonSegmentCombPatternCombAssociationMap.h
Muon::IMuonPatternSegmentAssociationTool::find
virtual AssociationMapRange find(const MuonSegmentCombination *segmentCombi) const =0
Muon::MuonSegmentCombPatternCombAssociationMap
std::multimap< const MuonSegmentCombination *, const MuonPatternCombination * > MuonSegmentCombPatternCombAssociationMap
Definition: MuonSegmentCombPatternCombAssociationMap.h:12
Muon::IMuonPatternSegmentAssociationTool::AssociationMap
MuonSegmentCombPatternCombAssociationMap AssociationMap
Definition: IMuonPatternSegmentAssociationTool.h:26
Muon::IMuonPatternSegmentAssociationTool::AssociationMapRange
std::pair< AssociationMap::const_iterator, AssociationMap::const_iterator > AssociationMapRange
Definition: IMuonPatternSegmentAssociationTool.h:27
Muon::IMuonPatternSegmentAssociationTool::map
virtual const AssociationMap & map() const =0
Muon::IMuonPatternSegmentAssociationTool
Definition: IMuonPatternSegmentAssociationTool.h:22
Muon::IMuonPatternSegmentAssociationTool::count
virtual unsigned int count(const MuonSegmentCombination *segmentCombi) const =0
Muon::IMuonPatternSegmentAssociationTool::interfaceID
static const InterfaceID & interfaceID()
Definition: IMuonPatternSegmentAssociationTool.h:40
Muon::MuonPatternCombination
The MuonPatternCombination class provides the means to store the output of the initial global pattern...
Definition: MuonPatternCombination.h:29