ATLAS Offline Software
Loading...
Searching...
No Matches
TgcL0TruthValidationAlg.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 L0MUONS1TGCVALIDATION_TGCL0TRUTHVALIDATIONALG_H
5#define L0MUONS1TGCVALIDATION_TGCL0TRUTHVALIDATIONALG_H
6
15
16#include <vector>
17
18namespace L0Muon {
19
26 public:
27 using AthReentrantAlgorithm::AthReentrantAlgorithm;
28
29 StatusCode initialize() override;
30 StatusCode execute(const EventContext& ctx) const override;
31
32 private:
34 this, "CandidateKey", "L0MuonTGCValidationCandidates",
35 "Pre-Inner-Coincidence transient candidates"};
37 this, "SegmentKey", "L0MuonTGCValidationSegments",
38 "Projection segments published by reconstruction"};
40 this, "TruthEventKey", "TruthEvent", "Input truth-event collection"};
42 this, "OutputKey", "L0MuonTGCValidationEvent",
43 "Calculated event-local truth-validation data"};
44 ToolHandle<Trk::IExtrapolator> m_extrapolator{
45 this, "TrackExtrapolator", "", "Truth-only extrapolator"};
46
47 Gaudi::Property<float> m_maxMeanDeltaR{
48 this, "TruthMatchMaxMeanDeltaR", 0.08F,
49 "Maximum station-averaged deltaR for truth matching"};
50 Gaudi::Property<float> m_maxWireSegmentDeltaEta{
51 this, "TruthWireSegmentMaxDeltaEta", 0.08F,
52 "Maximum |delta eta| for truth-to-wire-segment matching"};
53 Gaudi::Property<float> m_maxStripSegmentDeltaPhi{
54 this, "TruthStripSegmentMaxDeltaPhi", 0.08F,
55 "Maximum |delta phi| for truth-to-strip-segment matching"};
56 Gaudi::Property<double> m_minPt{
57 this, "MinTruthPt", 2000.0, "Minimum truth-muon pT in MeV"};
58 Gaudi::Property<double> m_minAbsEta{
59 this, "MinTruthAbsEta", 0.95, "Minimum absolute truth eta"};
60 Gaudi::Property<double> m_maxAbsEta{
61 this, "MaxTruthAbsEta", 2.50, "Maximum absolute truth eta"};
62 Gaudi::Property<int> m_requiredTruthStatus{
63 this, "RequiredTruthStatus", 1,
64 "Generator status required for selected truth muons"};
65 Gaudi::Property<int> m_maxAbsBarcode{
66 this, "MaxAbsBarcode", 9999,
67 "Maximum absolute HepMC barcode for selected truth muons"};
68 Gaudi::Property<int> m_requiredBcTag{
69 this, "RequiredBcTag", 0,
70 "BC tag used for truth matching; set to -1 to disable the filter"};
71 Gaudi::Property<std::vector<double>> m_stationAbsZ{
72 this, "StationAbsZ", {13436.5, 14728.2, 15148.2},
73 "Nominal absolute z positions of the M1, M2, and M3 validation planes"};
74 Gaudi::Property<double> m_validationMinR{
75 this, "ValidationMinR", 0.0,
76 "Minimum radius of the truth-extrapolation validation planes"};
77 Gaudi::Property<double> m_validationMaxR{
78 this, "ValidationMaxR", 11977.0,
79 "Maximum radius of the truth-extrapolation validation planes"};
80 Gaudi::Property<double> m_validationPlaneToleranceZ{
81 this, "ValidationPlaneToleranceZ", 20.0,
82 "Maximum distance in z from an extrapolation target plane"};
83};
84
85} // namespace L0Muon
86
87#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Calculates event-local TGC truth-validation quantities.
Gaudi::Property< float > m_maxMeanDeltaR
Gaudi::Property< int > m_requiredTruthStatus
SG::WriteHandleKey< TgcL0ValidationEvent > m_outputKey
Gaudi::Property< std::vector< double > > m_stationAbsZ
Gaudi::Property< double > m_validationMinR
SG::ReadHandleKey< TgcL0CandidateContainer > m_candidateKey
Gaudi::Property< double > m_validationMaxR
SG::ReadHandleKey< TgcL0SegmentContainer > m_segmentKey
Gaudi::Property< float > m_maxStripSegmentDeltaPhi
StatusCode execute(const EventContext &ctx) const override
Gaudi::Property< double > m_minAbsEta
Gaudi::Property< double > m_maxAbsEta
Gaudi::Property< float > m_maxWireSegmentDeltaEta
Gaudi::Property< double > m_validationPlaneToleranceZ
ToolHandle< Trk::IExtrapolator > m_extrapolator
SG::ReadHandleKey< McEventCollection > m_truthEventKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.