ATLAS Offline Software
Loading...
Searching...
No Matches
PrdTesterModule.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef PRDTESTER_PrdTesterModule_H
6#define PRDTESTER_PrdTesterModule_H
7
12namespace MuonPRDTest {
13 using namespace MuonVal;
14
16 public:
17 PrdTesterModule(MuonTesterTree& tree, const std::string& grp_name, MSG::Level msglvl);
18
19 virtual ~PrdTesterModule() = default;
20
21 bool init() override final;
22
24 const Muon::IMuonIdHelperSvc* idHelperSvc() const;
25 const MuonGM::MuonDetectorManager* getDetMgr(const EventContext& ctx) const;
26 virtual bool declare_keys() = 0;
27
28 private:
29 SG::ReadCondHandleKey<MuonGM::MuonDetectorManager> m_detMgrKey{"MuonDetectorManager"};
30 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{"Muon::MuonIdHelperSvc/MuonIdHelperSvc", name()};
31 };
32} // namespace MuonPRDTest
33#endif
#define protected
const MuonGM::MuonDetectorManager * getDetMgr(const EventContext &ctx) const
virtual ~PrdTesterModule()=default
const Muon::IMuonIdHelperSvc * idHelperSvc() const
bool init() override final
The init method checks whether the branch name has already registered to the MuonTree and tries then ...
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_detMgrKey
MuonTesterBranch(MuonTesterTree &tree, const std::string &br_name)
std::string name() const override final
Returns the name of the branch.
TTree * tree() override final
Returns the underlying TTree object.
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Forward declaration.
#define private