ATLAS Offline Software
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 
12 namespace 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 
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
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
MuonPRDTest::PrdTesterModule::~PrdTesterModule
virtual ~PrdTesterModule()=default
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
MuonVal::MuonTesterBranch
Definition: MuonTesterBranch.h:21
tree
TChain * tree
Definition: tile_monitor.h:30
MuonTesterTreeDict.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:45
protected
#define protected
Definition: DetDescrConditionsDict_dict_fixes.cxx:14
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
MuonVal::MuonTesterTree
Definition: MuonTesterTree.h:30
MuonPRDTest::PrdTesterModule
Definition: PrdTesterModule.h:15
ReadCondHandleKey.h
MuonVal
Class to store array like branches into the n-tuples.
Definition: MuonTPMetaDataAlg.cxx:25
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
python.PyKernel.init
def init(v_theApp, v_rootStream=None)
Definition: PyKernel.py:45
MuonDetectorManager.h
MuonPRDTest
Definition: CSCDigitVariables.h:10
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >