ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigL2MuonSA
src
MmDataPreparator.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_MMDATAPREPARATOR_H
6
#define TRIGL2MUONSA_MMDATAPREPARATOR_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 "
MmData.h
"
14
15
#include "
TrigSteeringEvent/TrigRoiDescriptor.h
"
16
#include "
MuonPrepRawData/MuonPrepDataContainer.h
"
17
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
18
19
namespace
TrigL2MuonSA
{
20
21
class
MmDataPreparator
:
public
AthAlgTool
22
{
23
public
:
24
25
MmDataPreparator
(
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::MmHits
& mmHits)
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::MMPrepDataContainer>
m_mmPrepContainerKey
{
42
this
,
"MmPrepDataContainer"
,
"MM_Measurements"
,
"Name of the MMContainer 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_MMDATAPREPARATOR_H
AthAlgTool.h
IMuonIdHelperSvc.h
IRegSelTool.h
MmData.h
MuonPrepDataContainer.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::MmDataPreparator::prepareData
StatusCode prepareData(const EventContext &ctx, const TrigRoiDescriptor *p_roids, TrigL2MuonSA::MmHits &mmHits) const
Definition
MmDataPreparator.cxx:31
TrigL2MuonSA::MmDataPreparator::MmDataPreparator
MmDataPreparator(const std::string &type, const std::string &name, const IInterface *parent)
Definition
MmDataPreparator.cxx:7
TrigL2MuonSA::MmDataPreparator::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
MmDataPreparator.h:46
TrigL2MuonSA::MmDataPreparator::initialize
virtual StatusCode initialize() override
Definition
MmDataPreparator.cxx:16
TrigL2MuonSA::MmDataPreparator::m_use_RoIBasedDataAccess
bool m_use_RoIBasedDataAccess
Definition
MmDataPreparator.h:44
TrigL2MuonSA::MmDataPreparator::m_regionSelector
ToolHandle< IRegSelTool > m_regionSelector
Definition
MmDataPreparator.h:39
TrigL2MuonSA::MmDataPreparator::setRoIBasedDataAccess
void setRoIBasedDataAccess(bool use_RoIBasedDataAccess)
Definition
MmDataPreparator.h:35
TrigL2MuonSA::MmDataPreparator::m_mmPrepContainerKey
SG::ReadHandleKey< Muon::MMPrepDataContainer > m_mmPrepContainerKey
Definition
MmDataPreparator.h:41
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::MmHits
std::vector< MmHitData > MmHits
Definition
MmData.h:47
type
Generated on
for ATLAS Offline Software by
1.17.0