ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonValidation
MuonPRDTestR4
MuonPRDTestR4
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
8
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
9
#include "
MuonReadoutGeometryR4/MuonDetectorManager.h
"
10
#include "
MuonTesterTree/MuonTesterTreeDict.h
"
11
#include "
StoreGate/ReadHandleKey.h
"
12
namespace
MuonValR4
{
13
using namespace
MuonVal;
14
15
class
TesterModuleBase
:
public
MuonTesterBranch
{
16
public
:
17
TesterModuleBase
(
MuonTesterTree
&
tree
,
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
25
protected
:
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
()};
34
ActsTrk::GeoContextReadKey_t
m_geoCtxKey
{
"ActsAlignment"
};
35
36
37
};
38
}
39
#endif
IMuonIdHelperSvc.h
MuonDetectorManager.h
MuonTesterTreeDict.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
MuonValR4::TesterModuleBase::idHelperSvc
const Muon::IMuonIdHelperSvc * idHelperSvc() const
Definition
TesterModuleBase.cxx:19
MuonValR4::TesterModuleBase::~TesterModuleBase
virtual ~TesterModuleBase()=default
MuonValR4::TesterModuleBase::declare_keys
virtual bool declare_keys()=0
MuonValR4::TesterModuleBase::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
TesterModuleBase.h:33
MuonValR4::TesterModuleBase::m_detMgr
const MuonGMR4::MuonDetectorManager * m_detMgr
Definition
TesterModuleBase.h:32
MuonValR4::TesterModuleBase::TesterModuleBase
TesterModuleBase(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl=MSG::Level::INFO)
Definition
TesterModuleBase.cxx:12
MuonValR4::TesterModuleBase::getDetMgr
const MuonGMR4::MuonDetectorManager * getDetMgr() const
Definition
TesterModuleBase.cxx:20
MuonValR4::TesterModuleBase::m_geoCtxKey
ActsTrk::GeoContextReadKey_t m_geoCtxKey
Definition
TesterModuleBase.h:34
MuonValR4::TesterModuleBase::init
bool init() override final
The init method checks whether the branch name has already registered to the MuonTree and tries then ...
Definition
TesterModuleBase.cxx:31
MuonValR4::TesterModuleBase::getGeoCtx
const ActsTrk::GeometryContext & getGeoCtx(const EventContext &ctx) const
Definition
TesterModuleBase.cxx:23
MuonVal::MuonTesterBranch::MuonTesterBranch
MuonTesterBranch(MuonTesterTree &tree, const std::string &br_name)
Definition
MuonTesterBranch.cxx:33
MuonVal::MuonTesterBranch::name
std::string name() const override final
Returns the name of the branch.
Definition
MuonTesterBranch.cxx:51
MuonVal::MuonTesterBranch::tree
TTree * tree() override final
Returns the underlying TTree object.
Definition
MuonTesterBranch.cxx:53
MuonVal::MuonTesterTree
Definition
MuonTesterTree.h:38
ServiceHandle
Definition
ClusterMakerTool.h:36
const
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
ActsTrk::GeoContextReadKey_t
SG::ReadHandleKey< GeometryContext > GeoContextReadKey_t
Abrivate the ReadHandleKey to declare the data dependency on the Geometry context.
Definition
GeometryContext.h:64
MuonGMR4
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
Definition
MdtCalibInput.h:19
MuonValR4
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
Definition
SpacePointWriter.cxx:32
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
protected
#define protected
Definition
testRead.cxx:26
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0