ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigL2MuonSA
src
StgcDataPreparator.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGL2MUONSA_STGCDATAPREPARATOR_H
6
#define TRIGL2MUONSA_STGCDATAPREPARATOR_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "GaudiKernel/ServiceHandle.h"
10
#include "GaudiKernel/ToolHandle.h"
11
12
#include "
IRegionSelector/IRegSelTool.h
"
13
#include "
StgcData.h
"
14
15
#include "
TrigSteeringEvent/TrigRoiDescriptor.h
"
16
#include "
MuonPrepRawData/MuonPrepDataContainer.h
"
17
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
18
19
namespace
TrigL2MuonSA
{
20
21
class
StgcDataPreparator
:
public
AthAlgTool
22
{
23
public
:
24
25
StgcDataPreparator
(
const
std::string&
type
,
26
const
std::string& name,
27
const
IInterface* parent);
28
29
virtual
StatusCode
initialize
()
override
;
30
31
StatusCode
prepareData
(
const
EventContext& ctx,
32
const
TrigRoiDescriptor
* p_roids,
33
TrigL2MuonSA::StgcHits
& stgcHits)
const
;
34
35
void
setRoIBasedDataAccess
(
bool
use_RoIBasedDataAccess) {
m_use_RoIBasedDataAccess
= use_RoIBasedDataAccess;};
36
37
private
:
38
39
ToolHandle<IRegSelTool>
m_regionSelector
;
40
// handles to the RoI driven data access
41
SG::ReadHandleKey<Muon::sTgcPrepDataContainer>
m_stgcPrepContainerKey
{
42
this
,
"StgcPrepDataContainer"
,
"STGC_Measurements"
,
"Name of the STGCContainer to read in"
};
43
44
bool
m_use_RoIBasedDataAccess
=
false
;
45
46
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
47
48
};
49
50
}
// namespace TrigL2MuonSA
51
52
#endif
// TRIGL2MUONSA_STGCDATAPREPARATOR_H
AthAlgTool.h
IMuonIdHelperSvc.h
IRegSelTool.h
MuonPrepDataContainer.h
StgcData.h
TrigRoiDescriptor.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
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::StgcDataPreparator::prepareData
StatusCode prepareData(const EventContext &ctx, const TrigRoiDescriptor *p_roids, TrigL2MuonSA::StgcHits &stgcHits) const
Definition
StgcDataPreparator.cxx:31
TrigL2MuonSA::StgcDataPreparator::StgcDataPreparator
StgcDataPreparator(const std::string &type, const std::string &name, const IInterface *parent)
Definition
StgcDataPreparator.cxx:7
TrigL2MuonSA::StgcDataPreparator::m_regionSelector
ToolHandle< IRegSelTool > m_regionSelector
Definition
StgcDataPreparator.h:39
TrigL2MuonSA::StgcDataPreparator::initialize
virtual StatusCode initialize() override
Definition
StgcDataPreparator.cxx:16
TrigL2MuonSA::StgcDataPreparator::m_use_RoIBasedDataAccess
bool m_use_RoIBasedDataAccess
Definition
StgcDataPreparator.h:44
TrigL2MuonSA::StgcDataPreparator::m_stgcPrepContainerKey
SG::ReadHandleKey< Muon::sTgcPrepDataContainer > m_stgcPrepContainerKey
Definition
StgcDataPreparator.h:41
TrigL2MuonSA::StgcDataPreparator::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
StgcDataPreparator.h:46
TrigL2MuonSA::StgcDataPreparator::setRoIBasedDataAccess
void setRoIBasedDataAccess(bool use_RoIBasedDataAccess)
Definition
StgcDataPreparator.h:35
TrigRoiDescriptor
nope - should be used for standalone also, perhaps need to protect the class def bits ifndef XAOD_ANA...
Definition
TrigRoiDescriptor.h:48
TrigL2MuonSA
Definition
AlignmentBarrelLUT.h:13
TrigL2MuonSA::StgcHits
std::vector< StgcHitData > StgcHits
Definition
StgcData.h:49
type
Generated on
for ATLAS Offline Software by
1.17.0