ATLAS Offline Software
Loading...
Searching...
No Matches
SPIdDumperAlg.h
Go to the documentation of this file.
1#ifndef MUON_SP_ID_DUMPER_H
2#define MUON_SP_ID_DUMPER_H
3/*
4 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5*/
6
9
15
20
24
27
29
30namespace MuonR4 {
31
33 public:
35
36 virtual StatusCode initialize() override;
37 virtual StatusCode execute() override;
38 virtual StatusCode finalize() override;
39
40 private:
41 SG::ReadHandleKey<MuonR4::SpacePointContainer> m_readKey{this, "ReadSpacePoints", "MuonSpacePoints", "Input SpacePoints"};
42 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
43
44 SG::ReadHandleKey<MuonR4::SegmentContainer> m_inSegmentKey{this, "SegmentKey", "R4MuonSegments"};
45
46 ToolHandle<MuonML::IGraphInferenceTool> m_graphFilterTool{this, "GraphFilterTool", "", "Graph inference tool"};
47
48 Gaudi::Property<bool> m_isMC{this, "isMC", true};
49 Gaudi::Property<double> m_SPId_cut{this,"spIdValue", -7};
50
51 MuonVal::MuonTesterTree m_tree{"MuonSPId","MuonSPId"};
55
56 MuonVal::VectorBranch<uint8_t>& m_spoint_station{m_tree.newVector<uint8_t>("stationIndex")};
58
60
62 MuonVal::VectorBranch<float>& m_spoint_predictions{m_tree.newVector<float>("predictions")};
63
64 };
65
66} // namespace MuonR4
67
68#endif
Handle class for reading a decoration on an object.
Property holding a SG store/key/clid from which a ReadHandle is made.
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
SG::ReadHandleKey< MuonR4::SpacePointContainer > m_readKey
MuonVal::VectorBranch< float > & m_spoint_driftR
MuonVal::VectorBranch< float > & m_spoint_x
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
MuonVal::MuonTesterTree m_tree
MuonVal::VectorBranch< uint16_t > & m_spoint_layer
MuonVal::VectorBranch< uint8_t > & m_spoint_station
MuonVal::VectorBranch< float > & m_spoint_z
virtual StatusCode finalize() override
virtual StatusCode initialize() override
SG::ReadHandleKey< MuonR4::SegmentContainer > m_inSegmentKey
ToolHandle< MuonML::IGraphInferenceTool > m_graphFilterTool
MuonVal::VectorBranch< uint8_t > & m_spoint_label
Gaudi::Property< double > m_SPId_cut
Gaudi::Property< bool > m_isMC
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode execute() override
MuonVal::VectorBranch< float > & m_spoint_y
MuonVal::VectorBranch< float > & m_spoint_predictions
Property holding a SG store/key/clid from which a ReadHandle is made.
This header ties the generic definitions in this package.