ATLAS Offline Software
Loading...
Searching...
No Matches
TgcL0ValidationEvent.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_TGCL0VALIDATIONEVENT_H
5#define L0MUONS1TGCVALIDATION_TGCL0VALIDATIONEVENT_H
6
8
9#include <cstdint>
10#include <vector>
11
12namespace L0Muon {
13
15static constexpr float TgcL0ValidationInvalidValue = 999.F;
16
18static constexpr std::uint8_t TgcL0ValidationNoUnmatchedReason = 255U;
19
21enum class TgcL0ValidationProjection : std::uint8_t {
22 Wire = 0U,
23 Strip = 1U
24};
25
32
35 std::uint32_t runNumber{0};
36 std::uint64_t eventNumber{0};
37 std::uint32_t lumiBlock{0};
38 std::uint32_t bcid{0};
39};
40
43 std::vector<int> pdgId;
44 std::vector<int> barcode;
45 std::vector<float> pt;
46 std::vector<float> eta;
47 std::vector<float> phi;
48 std::vector<float> charge;
49 std::vector<std::uint8_t> extrapolatedStationMask;
50 std::vector<float> m1Eta;
51 std::vector<float> m1Phi;
52 std::vector<float> m2Eta;
53 std::vector<float> m2Phi;
54 std::vector<float> m3Eta;
55 std::vector<float> m3Phi;
56 std::vector<std::uint8_t> matched;
57 std::vector<int> matchedCandidateIndex;
58 std::vector<float> matchMeanDeltaR;
59 std::vector<std::uint8_t> unmatchedReason;
60 std::vector<std::uint8_t> wireSegmentMatched;
61 std::vector<std::uint8_t> stripSegmentMatched;
62 std::vector<int> matchedWireSegmentIndex;
63 std::vector<int> matchedStripSegmentIndex;
64 std::vector<float> wireSegmentMatchResidual;
65 std::vector<float> stripSegmentMatchResidual;
66};
67
70 std::vector<std::uint16_t> subdetectorId;
71 std::vector<std::uint16_t> triggerSector;
72 std::vector<std::uint16_t> bcTag;
73 std::vector<std::uint8_t> projection;
74 std::vector<std::uint8_t> stationMask;
75 std::vector<std::uint8_t> summedQuality;
76 std::vector<std::uint8_t> nStations;
77 std::vector<float> eta;
78 std::vector<float> phi;
79 std::vector<float> residual;
80 std::vector<float> outputResidual;
81 std::vector<float> consistency;
82 std::vector<std::uint16_t> pivotChannel;
83 std::vector<int> truthIndex;
84 std::vector<float> truthMatchResidual;
85};
86
89 std::vector<std::uint16_t> subdetectorId;
90 std::vector<std::uint16_t> triggerSector;
91 std::vector<std::uint16_t> readoutSector;
92 std::vector<std::uint16_t> bcTag;
93 std::vector<std::uint8_t> stationMask;
94 std::vector<std::uint8_t> wireStationMask;
95 std::vector<std::uint8_t> stripStationMask;
96 std::vector<float> eta;
97 std::vector<float> phi;
98 std::vector<float> deltaTheta;
99 std::vector<float> deltaPhi;
100 std::vector<int> truthIndex;
101};
102
110
111} // namespace L0Muon
112
114
115#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
TgcL0ValidationUnmatchedReason
Reason why a selected truth muon has no matched candidate.
TgcL0ValidationProjection
Projection encoding used in the validation segment block.
static constexpr float TgcL0ValidationInvalidValue
Common sentinel for unavailable floating-point validation data.
static constexpr std::uint8_t TgcL0ValidationNoUnmatchedReason
Sentinel indicating that a matched truth object has no failure code.
Reconstruction quantities exposed to validation backends.
std::vector< std::uint8_t > wireStationMask
std::vector< std::uint8_t > stationMask
std::vector< std::uint16_t > subdetectorId
std::vector< std::uint16_t > triggerSector
std::vector< std::uint8_t > stripStationMask
std::vector< std::uint16_t > readoutSector
Event identifiers used by the validation chain.
ROOT-independent validation data for one event.
TgcL0ValidationTruthBlock truth
TgcL0ValidationEventInfo event
TgcL0ValidationSegmentBlock segments
TgcL0ValidationCandidateBlock candidates
Projection-segment quantities published by reconstruction.
std::vector< std::uint16_t > subdetectorId
std::vector< std::uint8_t > projection
std::vector< std::uint16_t > pivotChannel
std::vector< std::uint8_t > summedQuality
std::vector< std::uint8_t > nStations
std::vector< std::uint16_t > bcTag
std::vector< std::uint8_t > stationMask
std::vector< std::uint16_t > triggerSector
Truth and truth-to-reconstruction matching quantities.
std::vector< std::uint8_t > unmatchedReason
std::vector< std::uint8_t > extrapolatedStationMask
std::vector< float > wireSegmentMatchResidual
std::vector< std::uint8_t > wireSegmentMatched
std::vector< std::uint8_t > matched
std::vector< float > stripSegmentMatchResidual
std::vector< std::uint8_t > stripSegmentMatched