ATLAS Offline Software
MuonSegmentHitSummaryTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUON_MUONSEGMENTHITSUMMARYTOOL_H
6 #define MUON_MUONSEGMENTHITSUMMARYTOOL_H
7 
9 #include "GaudiKernel/ServiceHandle.h"
10 #include "GaudiKernel/ToolHandle.h"
16 
17 namespace Muon {
18 class MuonSegment;
19 }
20 
21 namespace Muon {
26  public:
27  MuonSegmentHitSummaryTool(const std::string&, const std::string&, const IInterface*);
28 
29  virtual ~MuonSegmentHitSummaryTool() = default;
30 
32 
34  virtual HitCounts getHitCounts(const MuonSegment& seg) const;
35 
36  private:
38  "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
40  this, "edmHelper", "Muon::MuonEDMHelperSvc/MuonEDMHelperSvc",
41  "Handle to the service providing the IMuonEDMHelperSvc interface"};
42 
43  PublicToolHandle<Muon::MuonEDMPrinterTool> m_printer{
44  this,
45  "Printer",
46  "Muon::MuonEDMPrinterTool/MuonEDMPrinterTool",
47  };
48 
50  this, "DetectorManagerKey", "MuonDetectorManager", "Key of input MuonDetectorManager condition data"};
51 
53  double m_lowerADCBound;
54 };
55 
56 } // namespace Muon
57 
58 #endif
Muon::MuonSegmentHitSummaryTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonSegmentHitSummaryTool.h:37
MuonEDMPrinterTool.h
Muon::MuonSegmentHitSummaryTool::~MuonSegmentHitSummaryTool
virtual ~MuonSegmentHitSummaryTool()=default
Muon::MuonSegmentHitSummaryTool::m_printer
PublicToolHandle< Muon::MuonEDMPrinterTool > m_printer
EDM printer tool.
Definition: MuonSegmentHitSummaryTool.h:43
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
xAOD::MuonSegment
MuonSegment_v1 MuonSegment
Reference the current persistent version:
Definition: Event/xAOD/xAODMuon/xAODMuon/MuonSegment.h:13
Muon::IMuonSegmentHitSummaryTool
Interface for tools providing segment hit summary information.
Definition: IMuonSegmentHitSummaryTool.h:15
Muon::MuonSegmentHitSummaryTool::m_DetectorManagerKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
Definition: MuonSegmentHitSummaryTool.h:49
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
IMuonEDMHelperSvc.h
MuonDetectorManager.h
Muon::MuonSegmentHitSummaryTool::m_lowerADCBound
double m_lowerADCBound
lower bound for good MDT hits
Definition: MuonSegmentHitSummaryTool.h:53
Muon::IMuonSegmentHitSummaryTool::HitCounts
Definition: IMuonSegmentHitSummaryTool.h:37
Muon::MuonSegmentHitSummaryTool
tool to calculate muon segment hit summary
Definition: MuonSegmentHitSummaryTool.h:25
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager >
Muon::MuonSegmentHitSummaryTool::m_positionAlongTubeCut
double m_positionAlongTubeCut
cut on the distance from the tube wall use for hole count
Definition: MuonSegmentHitSummaryTool.h:52
Muon::MuonSegmentHitSummaryTool::MuonSegmentHitSummaryTool
MuonSegmentHitSummaryTool(const std::string &, const std::string &, const IInterface *)
Definition: MuonSegmentHitSummaryTool.cxx:16
Muon::MuonSegment
Definition: MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonSegment/MuonSegment/MuonSegment.h:45
AthAlgTool
Definition: AthAlgTool.h:26
IMuonSegmentHitSummaryTool.h
Muon::MuonSegmentHitSummaryTool::initialize
StatusCode initialize()
Definition: MuonSegmentHitSummaryTool.cxx:26
Muon::MuonSegmentHitSummaryTool::getHitCounts
virtual HitCounts getHitCounts(const MuonSegment &seg) const
calculate segment hit counts
Definition: MuonSegmentHitSummaryTool.cxx:36
Muon::MuonSegmentHitSummaryTool::m_edmHelperSvc
ServiceHandle< Muon::IMuonEDMHelperSvc > m_edmHelperSvc
EDM Helper tool.
Definition: MuonSegmentHitSummaryTool.h:39
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >