ATLAS Offline Software
Loading...
Searching...
No Matches
TgcL0FloatingCandidateBuilderTool.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#include "TgcL0FloatingData.h"
8#include "TgcL0RdoDecoder.h"
10
11namespace L0Muon {
12
14 const TgcRdoContainer& rdos, TgcL0CandidateContainer& candidates,
15 const EventContext& ctx) const {
16 (void)ctx;
17 candidates.clear();
18
21 const TgcL0Floating::RdoDecoder decoder;
22 ATH_CHECK(decoder.decode(rdos, hitGroups, statistics));
23
25 const TgcL0Floating::SegmentBuilder segmentBuilder;
26 ATH_CHECK(segmentBuilder.build(hitGroups, segments));
27
28 ATH_MSG_DEBUG("Decoded " << statistics.nHits << " TGC hits from "
29 << statistics.nRawData << " raw-data words in "
30 << hitGroups.size() << " groups: wire="
31 << statistics.nWireHits << ", strip="
32 << statistics.nStripHits << ", M1="
33 << statistics.nM1Hits << ", M2/M3="
34 << statistics.nM2M3Hits << ", inner="
35 << statistics.nInnerHits << ", unknown="
36 << statistics.nUnknownStation
37 << "; station channel segments="
38 << segments.size());
39
40 return StatusCode::SUCCESS;
41}
42
43} // namespace L0Muon
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x)
StatusCode build(const TgcRdoContainer &rdos, TgcL0CandidateContainer &candidates, const EventContext &ctx) const override
Build candidates from TGC RDO data.
Decode Run-3 TGC hit RDOs and group the decoded hits.
Build station-level channel segments from grouped TGC hits.
StatusCode build(const HitGroups &hitGroups, SegmentContainer &segments) const
std::vector< Segment > SegmentContainer
std::map< HitGroupKey, HitContainer > HitGroups
std::vector< TgcL0Candidate > TgcL0CandidateContainer
Event-local candidate collection.