ATLAS Offline Software
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 
12 namespace 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 
25  protected:
26  const Muon::IMuonIdHelperSvc* idHelperSvc() const;
27  const MuonGMR4::MuonDetectorManager* getDetMgr() const;
28  const ActsGeometryContext& 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  SG::ReadHandleKey<ActsGeometryContext> m_geoCtxKey{"ActsAlignment"};
35 
36 
37  };
38 }
39 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
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
SG::ReadHandleKey< ActsGeometryContext >
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
MuonGMR4
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
Definition: MdtCalibInput.h:20
MuonVal::MuonTesterTree
Definition: MuonTesterTree.h:30
MuonDetectorManager.h
ActsGeometryContext
Include the GeoPrimitives which need to be put first.
Definition: ActsGeometryContext.h:27
MuonValR4::TesterModuleBase
Definition: TesterModuleBase.h:15
MuonValR4
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
Definition: IPatternVisualizationTool.h:23
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
MuonValR4::TesterModuleBase::~TesterModuleBase
virtual ~TesterModuleBase()=default
python.Constants.INFO
int INFO
Definition: Control/AthenaCommon/python/Constants.py:16
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >