![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUON_MUONTRUTHSUMMARYTOOL_H
6 #define MUON_MUONTRUTHSUMMARYTOOL_H
13 #include <unordered_map>
16 #include "GaudiKernel/IIncidentListener.h"
17 #include "GaudiKernel/ServiceHandle.h"
18 #include "GaudiKernel/ToolHandle.h"
28 class MeasurementBase;
72 void handle(
const Incident& inc);
75 size_t operator()(
const Identifier&
id)
const {
return std::hash<Identifier::value_type>{}(
id.get_compact()); }
80 void add(
const std::vector<const Trk::MeasurementBase*>& measurements,
int level)
const;
81 std::string
printSummary(
const std::unordered_set<Identifier, IdentifierHash>& truth,
82 const std::unordered_set<Identifier, IdentifierHash>&
found);
87 "Muon::MuonIdHelperSvc/MuonIdHelperSvc",
92 "Muon::MuonEDMHelperSvc/MuonEDMHelperSvc",
93 "Handle to the service providing the IMuonEDMHelperSvc interface",
100 "Muon::MuonEDMPrinterTool/MuonEDMPrinterTool",
106 this,
"TruthNames", {
"RPC_TruthMap",
"TGC_TruthMap",
"MDT_TruthMap"},
"truth names"};
109 mutable std::unordered_map<Identifier, int, IdentifierHash> m_truthHits
112 mutable std::unordered_map<int, std::unordered_set<Identifier, IdentifierHash>> m_truthDataPerLevel
This class provides conversion from CSC RDO data to CSC Digits.
MuonSegment_v1 MuonSegment
Reference the current persistent version:
::StatusCode StatusCode
StatusCode definition for legacy code.
Ensure that the ATLAS eigen extensions are properly loaded.