ATLAS Offline Software
Loading...
Searching...
No Matches
TesterModuleBase.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 PRDTESTERR4_TESTERMODULEBASE_H
6#define PRDTESTERR4_TESTERMODULEBASE_H
7
12namespace MuonValR4 {
13 using namespace MuonVal;
14
16 public:
18 const std::string& grp_name,
19 MSG::Level msglvl = MSG::Level::INFO);
20
21 virtual ~TesterModuleBase() = default;
22
23 bool init() override final;
24
26 const Muon::IMuonIdHelperSvc* idHelperSvc() const;
27 const MuonGMR4::MuonDetectorManager* getDetMgr() const;
28 const ActsTrk::GeometryContext& getGeoCtx(const EventContext& ctx) const;
29 virtual bool declare_keys() = 0;
30
31 private:
32 const MuonGMR4::MuonDetectorManager* m_detMgr{};
33 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{"Muon::MuonIdHelperSvc/MuonIdHelperSvc", name()};
35
36
37 };
38}
39#endif
#define protected
#define private
Property holding a SG store/key/clid from which a ReadHandle is made.
const Muon::IMuonIdHelperSvc * idHelperSvc() const
virtual ~TesterModuleBase()=default
virtual bool declare_keys()=0
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
const MuonGMR4::MuonDetectorManager * m_detMgr
TesterModuleBase(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl=MSG::Level::INFO)
const MuonGMR4::MuonDetectorManager * getDetMgr() const
ActsTrk::GeoContextReadKey_t m_geoCtxKey
bool init() override final
The init method checks whether the branch name has already registered to the MuonTree and tries then ...
const ActsTrk::GeometryContext & getGeoCtx(const EventContext &ctx) const
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.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
SG::ReadHandleKey< GeometryContext > GeoContextReadKey_t
Abrivate the ReadHandleKey to declare the data dependency on the Geometry context.
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.