ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigL2MuonSA
src
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
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "GaudiKernel/ServiceHandle.h"
10
11
#include "
TrigT1Interfaces/RecMuonRoI.h
"
12
#include "
xAODTrigger/MuonRoI.h
"
13
#include "
TgcDataPreparatorOptions.h
"
14
#include "
TgcData.h
"
15
#include "
RecMuonRoIUtils.h
"
16
#include "
TrigSteeringEvent/TrigRoiDescriptor.h
"
17
#include "
MuonPrepRawData/MuonPrepDataContainer.h
"
18
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
19
20
namespace
MuonGM
{
21
class
TgcReadoutElement
;
22
}
23
24
// --------------------------------------------------------------------------------
25
// --------------------------------------------------------------------------------
26
27
namespace
TrigL2MuonSA
{
28
29
class
TgcDataPreparator
:
public
AthAlgTool
30
{
31
public
:
32
struct
tgcRawData
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
42
using
AthAlgTool::AthAlgTool
;
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
57
TrigL2MuonSA::TgcDataPreparatorOptions
m_options
{};
58
59
// utils
60
TrigL2MuonSA::RecMuonRoIUtils
m_recMuonRoIUtils
{};
61
62
SG::ReadHandleKey<Muon::TgcPrepDataContainer>
m_tgcContainerKey
{
63
this
,
"TGCPrepDataContainer"
,
"TGC_MeasurementsAllBCs"
,
"Name of the TGCContainer to read in"
};
64
65
bool
m_use_RoIBasedDataAccess
=
false
;
66
67
};
68
69
}
// namespace TrigL2MuonSA
70
71
#endif
// TRIGL2MUONSA_TGCDATAPREPARATOR_H
AthAlgTool.h
IMuonIdHelperSvc.h
MuonPrepDataContainer.h
MuonRoI.h
RecMuonRoIUtils.h
RecMuonRoI.h
TgcDataPreparatorOptions.h
TgcData.h
TrigRoiDescriptor.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
MuonGM::TgcReadoutElement
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
Definition
MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h:42
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
TrigL2MuonSA::RecMuonRoIUtils
Definition
RecMuonRoIUtils.h:14
TrigL2MuonSA::TgcDataPreparatorOptions
Definition
TgcDataPreparatorOptions.h:47
TrigL2MuonSA::TgcDataPreparator
Definition
TgcDataPreparator.h:30
TrigL2MuonSA::TgcDataPreparator::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
TrigL2MuonSA::TgcDataPreparator::m_recMuonRoIUtils
TrigL2MuonSA::RecMuonRoIUtils m_recMuonRoIUtils
Definition
TgcDataPreparator.h:60
TrigL2MuonSA::TgcDataPreparator::m_tgcContainerKey
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_tgcContainerKey
Definition
TgcDataPreparator.h:62
TrigL2MuonSA::TgcDataPreparator::m_use_RoIBasedDataAccess
bool m_use_RoIBasedDataAccess
Definition
TgcDataPreparator.h:65
TrigL2MuonSA::TgcDataPreparator::setRoIBasedDataAccess
void setRoIBasedDataAccess(bool use_RoIBasedDataAccess)
Definition
TgcDataPreparator.h:50
TrigL2MuonSA::TgcDataPreparator::m_options
TrigL2MuonSA::TgcDataPreparatorOptions m_options
Definition
TgcDataPreparator.h:57
TrigL2MuonSA::TgcDataPreparator::initialize
virtual StatusCode initialize() override
Definition
TgcDataPreparator.cxx:13
TrigL2MuonSA::TgcDataPreparator::prepareData
StatusCode prepareData(const EventContext &ctx, const xAOD::MuonRoI *p_roi, TrigL2MuonSA::TgcHits &tgcHits) const
Definition
TgcDataPreparator.cxx:25
TrigL2MuonSA::TgcDataPreparator::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
TgcDataPreparator.h:54
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition
GeoMuonHits.h:27
TrigL2MuonSA
Definition
AlignmentBarrelLUT.h:13
TrigL2MuonSA::TgcHits
std::vector< TgcHitData > TgcHits
Definition
TgcData.h:43
xAOD::MuonRoI
MuonRoI_v1 MuonRoI
Definition
MuonRoI.h:15
TrigL2MuonSA::TgcDataPreparator::tgcRawData
Definition
TgcDataPreparator.h:33
TrigL2MuonSA::TgcDataPreparator::tgcRawData::bitpos
unsigned short int bitpos
Definition
TgcDataPreparator.h:37
TrigL2MuonSA::TgcDataPreparator::tgcRawData::slbId
unsigned short int slbId
Definition
TgcDataPreparator.h:36
TrigL2MuonSA::TgcDataPreparator::tgcRawData::bcTag
unsigned short int bcTag
Definition
TgcDataPreparator.h:34
TrigL2MuonSA::TgcDataPreparator::tgcRawData::sswId
unsigned short int sswId
Definition
TgcDataPreparator.h:35
Generated on
for ATLAS Offline Software by
1.17.0