ATLAS Offline Software
Loading...
Searching...
No Matches
MlHitDumperAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONCSVDUMP_HitDumperAlg_H
5#define MUONCSVDUMP_HitDumperAlg_H
6
7
9
13
18
19namespace MuonR4{
21 public:
23 virtual StatusCode initialize() override final;
24 virtual StatusCode execute() override final;
25 virtual StatusCode finalize() override final;
26 private:
27
28 std::size_t fillSpacePoint(const ActsTrk::GeometryContext& gctx, const SpacePoint& sp);
29 SG::ReadHandleKeyArray<SpacePointContainer> m_spacePointKeys{this, "SpacePointKeys", {"MuonSpacePoints"},
30 "Key to the space point container"};
31
32 SG::ReadHandleKey<xAOD::MuonSegmentContainer> m_truthSegKey{this, "TruthSegmentKey", "MuonTruthSegments"};
33
35 SG::ReadHandleKey<ActsTrk::GeometryContext> m_geoCtxKey{this, "AlignmentKey", "ActsAlignment", "cond handle key"};
36
37 MuonVal::MuonTesterTree m_tree{"MuonHitDump","MuonHitDump"};
38
39 std::shared_ptr<MuonVal::IParticleFourMomBranch> m_muonP4{};
40
41 std::shared_ptr<MuonValR4::SpacePointTesterModule> m_spCollection{};
45 MuonVal::VectorBranch<char>& m_spReadoutSide{m_tree.newVector<char>("spacePoint_readOutSide")};
46 MuonVal::VectorBranch<float>& m_spTime{m_tree.newVector<float>("spacePoint_time")};
47
48 MuonVal::VectorBranch<char>& m_truthLink{m_tree.newVector<char>("spacePoint_truthLink")};
49
50 };
51}
52
53#endif
static Double_t sp
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
MuonVal::VectorBranch< char > & m_spReadoutSide
MuonVal::MuonTesterTree m_tree
virtual StatusCode execute() override final
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_truthSegKey
std::size_t fillSpacePoint(const ActsTrk::GeometryContext &gctx, const SpacePoint &sp)
std::shared_ptr< MuonValR4::SpacePointTesterModule > m_spCollection
SG::ReadDecorHandleKey< xAOD::MuonSegmentContainer > m_truthLinkKey
MuonVal::VectorBranch< char > & m_truthLink
std::shared_ptr< MuonVal::IParticleFourMomBranch > m_muonP4
SG::ReadHandleKeyArray< SpacePointContainer > m_spacePointKeys
virtual StatusCode finalize() override final
virtual StatusCode initialize() override final
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
MuonVal::ThreeVectorBranch m_spGlobPos
MuonVal::ThreeVectorBranch m_spGlobEdgeHigh
SG::ReadHandleKey< ActsTrk::GeometryContext > m_geoCtxKey
MuonVal::ThreeVectorBranch m_spGlobEdgeLow
MuonVal::VectorBranch< float > & m_spTime
The muon space point is the combination of two uncalibrated measurements one of them measures the eta...
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
This header ties the generic definitions in this package.
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray