ATLAS Offline Software
Loading...
Searching...
No Matches
TgcDataPreparator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGL2MUONSA_TGCDATAPREPARATOR_H
6#define TRIGL2MUONSA_TGCDATAPREPARATOR_H
7
9#include "GaudiKernel/ServiceHandle.h"
10
12#include "xAODTrigger/MuonRoI.h"
14#include "TgcData.h"
15#include "RecMuonRoIUtils.h"
19
20namespace MuonGM {
22}
23
24// --------------------------------------------------------------------------------
25// --------------------------------------------------------------------------------
26
27namespace TrigL2MuonSA {
28
30{
31 public:
33 {
34 unsigned short int bcTag;
35 unsigned short int sswId;
36 unsigned short int slbId;
37 unsigned short int bitpos;
38 };
39
40 public:
41
43
44 virtual StatusCode initialize() override;
45
46 StatusCode prepareData(const EventContext& ctx,
47 const xAOD::MuonRoI* p_roi,
48 TrigL2MuonSA::TgcHits& tgcHits) const;
49
50 void setRoIBasedDataAccess(bool use_RoIBasedDataAccess){ m_use_RoIBasedDataAccess = use_RoIBasedDataAccess; };
51
52 private:
53
54 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
55
56 // option
58
59 // utils
61
63 this, "TGCPrepDataContainer", "TGC_Measurements", "Name of the TGCContainer to read in"};
64
66
67};
68
69} // namespace TrigL2MuonSA
70
71#endif // TRIGL2MUONSA_TGCDATAPREPARATOR_H
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
TrigL2MuonSA::RecMuonRoIUtils m_recMuonRoIUtils
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_tgcContainerKey
void setRoIBasedDataAccess(bool use_RoIBasedDataAccess)
TrigL2MuonSA::TgcDataPreparatorOptions m_options
virtual StatusCode initialize() override
StatusCode prepareData(const EventContext &ctx, const xAOD::MuonRoI *p_roi, TrigL2MuonSA::TgcHits &tgcHits) const
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27
std::vector< TgcHitData > TgcHits
Definition TgcData.h:43
MuonRoI_v1 MuonRoI
Definition MuonRoI.h:15