ATLAS Offline Software
Loading...
Searching...
No Matches
TgcL0FloatingCandidateBuilderTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef L0MUONS1TGCFLOATINGTOOLS_TGCL0FLOATINGCANDIDATEBUILDERTOOL_H
5#define L0MUONS1TGCFLOATINGTOOLS_TGCL0FLOATINGCANDIDATEBUILDERTOOL_H
6
13#include "TgcL0FloatingPtLut.h"
14#include "TgcL0GoodMagMap.h"
15
16#include <memory>
17#include <string>
18#include <vector>
19
20namespace L0Muon {
21
23 : public extends<AthAlgTool, ITgcL0CandidateBuilderTool> {
24 public:
25 using base_class::base_class;
26
27 StatusCode initialize() override;
28
30 StatusCode build(const TgcRdoContainer& rdos,
31 TgcL0CandidateContainer& candidates,
32 const EventContext& ctx) const override;
33
35 StatusCode build(const TgcRdoContainer& rdos,
36 TgcL0CandidateContainer& candidates,
37 TgcL0SegmentContainer* segments,
38 const EventContext& ctx) const override;
39
40 private:
42 this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
44 this, "CablingKey", "MuonTgc_CablingMap"};
46 this, "DetectorManagerKey", "MuonDetectorManager"};
47
48 Gaudi::Property<float> m_maxPivotWireStripDeltaEta{
49 this, "MaxPivotWireStripDeltaEta", -1.F,
50 "Maximum auxiliary eta-coordinate difference for same-station wire-strip association; negative disables the check"};
51 Gaudi::Property<float> m_maxPivotWireStripDeltaPhi{
52 this, "MaxPivotWireStripDeltaPhi", 0.35F,
53 "Maximum auxiliary phi-coordinate difference for same-station wire-strip association; negative disables the check"};
54 Gaudi::Property<unsigned int> m_maxSegmentCombinationsPerGroup{
55 this, "MaxSegmentCombinationsPerGroup", 8U,
56 "Old Floating projection/candidate working-set size per Trigger Sector "
57 "and BC"};
58 Gaudi::Property<unsigned int> m_maxCandidatesPerLocalBin{
59 this, "MaxCandidatesPerLocalBin", 8U,
60 "Maximum candidates retained per old Floating local eta-phi-pivot bin"};
61
62 Gaudi::Property<std::string> m_ptCalibrationFile{
63 this, "PtCalibrationFile",
64 "L0MuonS1TGC/Floating/eta30_phi20_rel95_physicaldtheta_v2_goodmag_eta20_phi18_slope0p090_v4/"
65 "TgcL0PtCalibration.txt",
66 "ASCII Floating-pT calibration path relative to the GroupData "
67 "development directory"};
68 std::unique_ptr<const TgcL0FloatingPtLut> m_ptLut{};
69
70 Gaudi::Property<std::string> m_goodMagMapFile{
71 this, "GoodMagMapFile",
72 "L0MuonS1TGC/Floating/eta30_phi20_rel95_physicaldtheta_v2_goodmag_eta20_phi18_slope0p090_v4/"
73 "TgcL0PoorMagneticFieldMap.txt",
74 "ASCII GoodMag map path relative to the GroupData development "
75 "directory"};
76 std::unique_ptr<const TgcL0GoodMagMap> m_goodMagMap{};
77};
78
79} // namespace L0Muon
80
81#endif
std::unique_ptr< const TgcL0FloatingPtLut > m_ptLut
StatusCode build(const TgcRdoContainer &rdos, TgcL0CandidateContainer &candidates, const EventContext &ctx) const override
Build candidates from TGC RDO data.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_detectorManagerKey
SG::ReadCondHandleKey< Muon::TgcCablingMap > m_cablingKey
std::unique_ptr< const TgcL0GoodMagMap > m_goodMagMap
std::vector< TgcL0Segment > TgcL0SegmentContainer
std::vector< TgcL0Candidate > TgcL0CandidateContainer
Event-local candidate collection.