ATLAS Offline Software
MDTFastDigiTester.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONFASTDIGITEST_MUONVALR4_MDTFastDigiTester_H
6 #define MUONFASTDIGITEST_MUONVALR4_MDTFastDigiTester_H
7 
8 // Framework includes
11 
12 // EDM includes
15 
16 // muon includes
19 
20 
24 
25 namespace MuonValR4{
26 
28  public:
29  MDTFastDigiTester(const std::string& name, ISvcLocator* pSvcLocator);
30  virtual ~MDTFastDigiTester() = default;
31 
32  virtual StatusCode initialize() override;
33  virtual StatusCode execute() override;
34  virtual StatusCode finalize() override;
35 
36  private:
37  // MDT sim hits in xAOD format
39  "xAOD SimHit collection"};
40  // drift circles in xAOD format
42  this, "DriftCircleKey", "xAODMdtCircles", "mdt circle container"};
43 
45  this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
46 
47  // output tree - allows to compare the sim and fast-digitised hits
48  MuonVal::MuonTesterTree m_tree{"FastSmearingResults","MuonFastDigiTest"};
60  };
61 }
62 
63 #endif // MUONFASTDIGITEST_MUONVALR4_MDTFastDigiTester_H
MuonValR4::MDTFastDigiTester::m_out_tube
MuonVal::ScalarBranch< int > & m_out_tube
Definition: MDTFastDigiTester.h:54
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
MuonValR4::MDTFastDigiTester::m_out_hasDigi
MuonVal::ScalarBranch< bool > & m_out_hasDigi
Definition: MDTFastDigiTester.h:57
MuonTesterTree.h
MuonValR4::MDTFastDigiTester::m_out_stationEta
MuonVal::ScalarBranch< int > & m_out_stationEta
Definition: MDTFastDigiTester.h:50
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
MuonValR4::MDTFastDigiTester::m_out_stationPhi
MuonVal::ScalarBranch< int > & m_out_stationPhi
Definition: MDTFastDigiTester.h:51
AthHistogramAlgorithm.h
MuonVal::MuonTesterTree
Definition: MuonTesterTree.h:30
MuonValR4::MDTFastDigiTester::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MDTFastDigiTester.h:44
MuonValR4::MDTFastDigiTester::m_out_multilayer
MuonVal::ScalarBranch< int > & m_out_multilayer
Definition: MDTFastDigiTester.h:52
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonValR4::MDTFastDigiTester::m_out_stationName
MuonVal::ScalarBranch< int > & m_out_stationName
Definition: MDTFastDigiTester.h:49
MuonSimHitContainer.h
MuonValR4::MDTFastDigiTester::m_out_digiDriftRadius
MuonVal::ScalarBranch< float > & m_out_digiDriftRadius
Definition: MDTFastDigiTester.h:58
MuonValR4::MDTFastDigiTester::m_out_tubeLayer
MuonVal::ScalarBranch< int > & m_out_tubeLayer
Definition: MDTFastDigiTester.h:53
AthHistogramAlgorithm
Definition: AthHistogramAlgorithm.h:32
MuonValR4::MDTFastDigiTester::m_out_barcode
MuonVal::ScalarBranch< float > & m_out_barcode
Definition: MDTFastDigiTester.h:55
MuonValR4
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
Definition: MDTFastDigiTester.cxx:8
MuonValR4::MDTFastDigiTester::initialize
virtual StatusCode initialize() override
Definition: MDTFastDigiTester.cxx:14
MdtDriftCircleContainer.h
MuonVal::ScalarBranch< int >
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
MuonVal::MuonTesterTree::newScalar
ScalarBranch< T > & newScalar(const std::string &name)
MuonValR4::MDTFastDigiTester::execute
virtual StatusCode execute() override
Definition: MDTFastDigiTester.cxx:28
MuonValR4::MDTFastDigiTester::~MDTFastDigiTester
virtual ~MDTFastDigiTester()=default
MuonValR4::MDTFastDigiTester::m_out_digiDriftRadiusCov
MuonVal::ScalarBranch< float > & m_out_digiDriftRadiusCov
Definition: MDTFastDigiTester.h:59
MuonValR4::MDTFastDigiTester::MDTFastDigiTester
MDTFastDigiTester(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MDTFastDigiTester.cxx:9
MuonValR4::MDTFastDigiTester::m_inDriftCircleKey
SG::ReadHandleKey< xAOD::MdtDriftCircleContainer > m_inDriftCircleKey
Definition: MDTFastDigiTester.h:41
MuonValR4::MDTFastDigiTester::m_out_simDriftRadius
MuonVal::ScalarBranch< float > & m_out_simDriftRadius
Definition: MDTFastDigiTester.h:56
MuonValR4::MDTFastDigiTester
Definition: MDTFastDigiTester.h:27
MuonValR4::MDTFastDigiTester::finalize
virtual StatusCode finalize() override
Definition: MDTFastDigiTester.cxx:23
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >
MuonValR4::MDTFastDigiTester::m_inSimHitKey
SG::ReadHandleKey< xAOD::MuonSimHitContainer > m_inSimHitKey
Definition: MDTFastDigiTester.h:38
MuonValR4::MDTFastDigiTester::m_tree
MuonVal::MuonTesterTree m_tree
Definition: MDTFastDigiTester.h:48