ATLAS Offline Software
MuonMeanMDTdADCFillerTool.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // MuonMeanMDTdADCFillerTool.h, Header file for class MuonMeanMDTdADCFillerTool
9 
10 #ifndef MUONCOMBINEDEVALUATIONTOOLS_MUONMEANMDTDADCFILLERTOOL_H
11 #define MUONCOMBINEDEVALUATIONTOOLS_MUONMEANMDTDADCFILLERTOOL_H
12 
14 #include "GaudiKernel/ServiceHandle.h"
20 
21 namespace Rec {
22 
29  // Public methods:
31  public:
32  // Copy constructor:
33 
35  MuonMeanMDTdADCFillerTool(const std::string& type, const std::string& name, const IInterface* parent);
36  virtual ~MuonMeanMDTdADCFillerTool() = default;
37 
38  StatusCode initialize() override;
39 
41  double meanMDTdADCFiller(const xAOD::Muon& muon) const override;
42 
44  double meanMDTdADCFiller(const Trk::Track& track) const override;
45 
46  private:
47  ServiceHandle<Muon::IMuonEDMHelperSvc> m_edmHelperSvc{this, "edmHelper", "Muon::MuonEDMHelperSvc/MuonEDMHelperSvc",
48  "Handle to the service providing the IMuonEDMHelperSvc interface"};
49  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
50  SG::ReadHandleKey<xAOD::EventInfo> m_eventInfo{this, "EventInfo", "EventInfo", "event info"};
51  };
52 
53 } // namespace Rec
54 #endif //> !MUONCOMBINEDEVALUATIONTOOLS_MUONMEANMDTDADCFILLERTOOL_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
IMuonMeanMDTdADCFiller.h
xAOD::muon
@ muon
Definition: TrackingPrimitives.h:195
Rec::IMuonMeanMDTdADCFiller
interface providing mean Number of ADC counts for MDT tubes on the track
Definition: IMuonMeanMDTdADCFiller.h:20
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Rec::MuonMeanMDTdADCFillerTool::meanMDTdADCFiller
double meanMDTdADCFiller(const xAOD::Muon &muon) const override
return mean Number of ADC counts for MDT tubes on the track of muon (method will simply step down to ...
Definition: MuonMeanMDTdADCFillerTool.cxx:43
SG::ReadHandleKey< xAOD::EventInfo >
xAOD::Muon_v1
Class describing a Muon.
Definition: Muon_v1.h:38
Rec::MuonMeanMDTdADCFillerTool::m_eventInfo
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo
Definition: MuonMeanMDTdADCFillerTool.h:50
Rec::MuonMeanMDTdADCFillerTool::~MuonMeanMDTdADCFillerTool
virtual ~MuonMeanMDTdADCFillerTool()=default
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition: FakeTrackBuilder.h:10
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
IMuonEDMHelperSvc.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
Rec::MuonMeanMDTdADCFillerTool::m_edmHelperSvc
ServiceHandle< Muon::IMuonEDMHelperSvc > m_edmHelperSvc
Definition: MuonMeanMDTdADCFillerTool.h:47
Rec::MuonMeanMDTdADCFillerTool::MuonMeanMDTdADCFillerTool
MuonMeanMDTdADCFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition: MuonMeanMDTdADCFillerTool.cxx:26
EventInfo.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Rec::MuonMeanMDTdADCFillerTool::initialize
StatusCode initialize() override
Definition: MuonMeanMDTdADCFillerTool.cxx:33
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
AthAlgTool
Definition: AthAlgTool.h:26
Rec::MuonMeanMDTdADCFillerTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonMeanMDTdADCFillerTool.h:49
Rec::MuonMeanMDTdADCFillerTool
return mean Number of ADC counts for MDT tubes on the track
Definition: MuonMeanMDTdADCFillerTool.h:27
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonEDMHelperSvc >