ATLAS Offline Software
Loading...
Searching...
No Matches
MuonMeanMDTdADCFillerTool.h
Go to the documentation of this file.
1
2
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
21namespace Rec {
22
26
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
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
interface providing mean Number of ADC counts for MDT tubes on the track
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo
ServiceHandle< Muon::IMuonEDMHelperSvc > m_edmHelperSvc
virtual ~MuonMeanMDTdADCFillerTool()=default
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 ...
MuonMeanMDTdADCFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi Tools.
Muon_v1 Muon
Reference the current persistent version: