ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonValidation
MuonPRDTest
MuonPRDTest
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
8
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
9
#include "
MuonReadoutGeometry/MuonDetectorManager.h
"
10
#include "
MuonTesterTree/MuonTesterTreeDict.h
"
11
#include "
StoreGate/ReadCondHandleKey.h
"
12
namespace
MuonPRDTest
{
13
using namespace
MuonVal;
14
15
class
PrdTesterModule
:
public
MuonTesterBranch
{
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
23
protected
:
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
IMuonIdHelperSvc.h
MuonDetectorManager.h
MuonTesterTreeDict.h
ReadCondHandleKey.h
MuonPRDTest::PrdTesterModule::getDetMgr
const MuonGM::MuonDetectorManager * getDetMgr(const EventContext &ctx) const
Definition
PrdTesterModule.cxx:16
MuonPRDTest::PrdTesterModule::~PrdTesterModule
virtual ~PrdTesterModule()=default
MuonPRDTest::PrdTesterModule::declare_keys
virtual bool declare_keys()=0
Definition
PrdTesterModule.cxx:28
MuonPRDTest::PrdTesterModule::idHelperSvc
const Muon::IMuonIdHelperSvc * idHelperSvc() const
Definition
PrdTesterModule.cxx:15
MuonPRDTest::PrdTesterModule::init
bool init() override final
The init method checks whether the branch name has already registered to the MuonTree and tries then ...
Definition
PrdTesterModule.cxx:24
MuonPRDTest::PrdTesterModule::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
PrdTesterModule.h:30
MuonPRDTest::PrdTesterModule::PrdTesterModule
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
Definition
PrdTesterModule.cxx:8
MuonPRDTest::PrdTesterModule::m_detMgrKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_detMgrKey
Definition
PrdTesterModule.h:29
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
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition
GeoMuonHits.h:27
MuonPRDTest
Definition
MuonHitTesterAlg.h:15
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
protected
#define protected
Definition
testRead.cxx:26
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0