ATLAS Offline Software
MdtCalibDbAlgTest.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 MUONVALR4_MDTCALIBDBALGTEST_H
6 #define MUONVALR4_MDTCALIBDBALGTEST_H
7 
8 // Framework includes
13 #include "GaudiKernel/ToolHandle.h"
14 
19 
21 
22 class TH2D;
23 
24 namespace MuonValR4{
26  public:
27  MdtCalibDbAlgTest(const std::string& name, ISvcLocator* pSvcLocator);
28  virtual ~MdtCalibDbAlgTest() = default;
29 
30  virtual StatusCode initialize() override;
31  virtual StatusCode execute() override;
32  virtual StatusCode finalize() override;
33 
34  private:
35  //Retrieve the xAODMdtCircles container
36  SG::ReadHandleKey<xAOD::MdtDriftCircleContainer> m_MdtKey{this, "MdtKey", "xMdtDriftCircles",
37  "Key to the uncalibrated Drift circle measurements"};
38  SG::ReadHandleKey<ActsGeometryContext> m_geoCtxKey{this, "AlignmentKey", "ActsAlignment", "cond handle key"};
40  ToolHandle<IMdtCalibrationTool> m_calibrationTool{this, "CalibrationTool", "MdtCalibrationTool"};
41  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "IdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"}; MuonVal::MuonTesterTree m_tree{"MdtCalibDbAlg", "MdtCalibDbAlgTest"};
42 
53 
54  };
55 }
56 #endif
MuonValR4::MdtCalibDbAlgTest
Definition: MdtCalibDbAlgTest.h:25
ReadHandleKeyArray.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
MuonValR4::MdtCalibDbAlgTest::m_out_driftdRdt
MuonVal::ScalarBranch< float > & m_out_driftdRdt
Definition: MdtCalibDbAlgTest.h:46
MuonValR4::MdtCalibDbAlgTest::m_out_tubeLength
MuonVal::ScalarBranch< float > & m_out_tubeLength
Definition: MdtCalibDbAlgTest.h:52
MuonValR4::MdtCalibDbAlgTest::m_out_identifier
MuonVal::ScalarBranch< Identifier > & m_out_identifier
Definition: MdtCalibDbAlgTest.h:47
ActsGeometryContext.h
IMdtCalibrationTool.h
MuonValR4::MdtCalibDbAlgTest::initialize
virtual StatusCode initialize() override
Definition: MdtCalibDbAlgTest.cxx:19
MuonValR4::MdtCalibDbAlgTest::m_out_tdcAdj
MuonVal::ScalarBranch< float > & m_out_tdcAdj
Definition: MdtCalibDbAlgTest.h:43
MuonValR4::MdtCalibDbAlgTest::m_geoCtxKey
SG::ReadHandleKey< ActsGeometryContext > m_geoCtxKey
Definition: MdtCalibDbAlgTest.h:38
MuonValR4::MdtCalibDbAlgTest::m_out_globalPos
MuonVal::ScalarBranch< float > & m_out_globalPos
Definition: MdtCalibDbAlgTest.h:48
MuonValR4::MdtCalibDbAlgTest::m_MdtKey
SG::ReadHandleKey< xAOD::MdtDriftCircleContainer > m_MdtKey
Definition: MdtCalibDbAlgTest.h:36
MuonTesterTree.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
MuonValR4::MdtCalibDbAlgTest::m_out_globalPosZ
MuonVal::ScalarBranch< float > & m_out_globalPosZ
Definition: MdtCalibDbAlgTest.h:51
AthHistogramAlgorithm.h
MuonValR4::MdtCalibDbAlgTest::m_out_tdc
MuonVal::ScalarBranch< float > & m_out_tdc
Definition: MdtCalibDbAlgTest.h:44
MuonVal::MuonTesterTree
Definition: MuonTesterTree.h:30
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthHistogramAlgorithm
Definition: AthHistogramAlgorithm.h:32
MuonValR4::MdtCalibDbAlgTest::m_out_globalPosY
MuonVal::ScalarBranch< float > & m_out_globalPosY
Definition: MdtCalibDbAlgTest.h:50
ReadCondHandleKey.h
MuonValR4
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
Definition: IPatternVisualizationTool.h:23
MdtDriftCircleContainer.h
MuonVal::ScalarBranch< float >
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
MuonValR4::MdtCalibDbAlgTest::m_calibrationTool
ToolHandle< IMdtCalibrationTool > m_calibrationTool
pointer to MdtCalibSvc
Definition: MdtCalibDbAlgTest.h:40
MuonVal::MuonTesterTree::newScalar
ScalarBranch< T > & newScalar(const std::string &name)
MuonValR4::MdtCalibDbAlgTest::m_tree
MuonVal::MuonTesterTree m_tree
Definition: MdtCalibDbAlgTest.h:41
MuonValR4::MdtCalibDbAlgTest::m_out_driftRadius
MuonVal::ScalarBranch< float > & m_out_driftRadius
Definition: MdtCalibDbAlgTest.h:45
MuonValR4::MdtCalibDbAlgTest::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MdtCalibDbAlgTest.h:41
MuonValR4::MdtCalibDbAlgTest::MdtCalibDbAlgTest
MdtCalibDbAlgTest(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MdtCalibDbAlgTest.cxx:16
MuonValR4::MdtCalibDbAlgTest::~MdtCalibDbAlgTest
virtual ~MdtCalibDbAlgTest()=default
MuonValR4::MdtCalibDbAlgTest::finalize
virtual StatusCode finalize() override
Definition: MdtCalibDbAlgTest.cxx:31
MuonValR4::MdtCalibDbAlgTest::execute
virtual StatusCode execute() override
Definition: MdtCalibDbAlgTest.cxx:37
MuonValR4::MdtCalibDbAlgTest::m_out_globalPosX
MuonVal::ScalarBranch< float > & m_out_globalPosX
Definition: MdtCalibDbAlgTest.h:49
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >
Identifier
Definition: IdentifierFieldParser.cxx:14