ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1Topo
L1TopoSimulation
src
MuonInputProvider.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef L1TopoSimulation_MuonInputProvider
6
#define L1TopoSimulation_MuonInputProvider
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
AthenaMonitoringKernel/Monitored.h
"
10
#include "
L1TopoSimulation/IInputTOBConverter.h
"
11
#include "GaudiKernel/ToolHandle.h"
12
#include "GaudiKernel/LockedHandle.h"
13
#include "
TrigT1Interfaces/MuCTPIL1Topo.h
"
14
#include "
TrigT1Result/RoIBResult.h
"
15
#include "
TrigT1Interfaces/MuCTPIToRoIBSLink.h
"
16
#include "
TrigT1Interfaces/TrigT1StoreGateKeys.h
"
17
#include "
TrigT1Interfaces/ITrigT1MuonRecRoiTool.h
"
18
19
#include "
xAODTrigger/MuonRoIContainer.h
"
20
21
#include <vector>
22
23
namespace
TrigConf
24
{
25
class
L1Menu
;
26
}
// namespace TrigConf
27
28
namespace
TCS
{
29
class
MuonTOB
;
30
class
LateMuonTOB
;
31
}
32
33
namespace
LVL1
{
34
35
class
MuCTPIL1TopoCandidate
;
36
37
class
MuonInputProvider
:
public
extends<AthAlgTool, IInputTOBConverter> {
38
public
:
39
MuonInputProvider
(
const
std::string&
type
,
const
std::string&
name
,
40
const
IInterface* parent);
41
42
virtual
StatusCode
initialize
()
override
;
43
44
virtual
StatusCode
fillTopoInputEvent
(
TCS::TopoInputEvent
& )
const override
;
45
46
private
:
47
TCS::MuonTOB
createMuonTOB
(
const
xAOD::MuonRoI
& muonRoI,
const
std::vector<unsigned int> & rpcPtValues,
const
std::vector<unsigned int> & tgcPtValues)
const
;
48
TCS::MuonTOB
createMuonTOB
(
const
MuCTPIL1TopoCandidate
& roi)
const
;
49
TCS::LateMuonTOB
createLateMuonTOB
(
const
xAOD::MuonRoI
& muonRoI,
const
std::vector<unsigned int> & rpcPtValues,
const
std::vector<unsigned int> & tgcPtValues)
const
;
50
TCS::LateMuonTOB
createLateMuonTOB
(
const
MuCTPIL1TopoCandidate
& roi)
const
;
51
52
/*
53
@brief use L1Topo convention for muon flags (1 = true/positive, -1 = false/negative, 0 = undefined)
54
*/
55
int
topoFlag
(
bool
flag)
const
;
56
57
ToolHandle<LVL1::ITrigT1MuonRecRoiTool>
m_recRPCRoiTool
{
this
,
"RecRpcRoiTool"
,
"LVL1::TrigT1RPCRecRoiTool/TrigT1RPCRecRoiTool"
,
"RPC RoI reconstruction tool"
};
58
ToolHandle<LVL1::ITrigT1MuonRecRoiTool>
m_recTGCRoiTool
{
this
,
"RecTgcRoiTool"
,
"LVL1::TrigT1TGCRecRoiTool/TrigT1TGCRecRoiTool"
,
"TGC RoI reconstruction tool"
};
59
ToolHandle<GenericMonitoringTool>
m_monTool
{
this
,
"MonTool"
,
""
,
"Monitoring tool to create online histograms"
};
60
61
SG::ReadHandleKey<LVL1::MuCTPIL1Topo>
m_MuCTPItoL1TopoLocation
{
this
,
"locationMuCTPItoL1Topo"
,
LVL1MUCTPI::DEFAULT_MuonL1TopoLocation
,
"Storegate key for MuCTPItoL1Topo "
};
62
SG::ReadHandleKey<LVL1::MuCTPIL1Topo>
m_MuCTPItoL1TopoLocationPlusOne
{
this
,
"locationMuCTPItoL1Topo1"
,
LVL1MUCTPI::DEFAULT_MuonL1TopoLocation
,
"Storegate key for MuCTPItoL1TopoPlusOne"
};
63
SG::ReadHandleKey<xAOD::MuonRoIContainer>
m_MuonL1RoILocation
{
this
,
"locationMuonRoI"
,
"LVL1MuonRoIs"
,
"Empty=Use Muctpi, LVL1MuonRoIs=Use reading from xAOD L1 RoI"
};
64
SG::ReadHandleKey<xAOD::MuonRoIContainer>
m_MuonL1RoILocationPlusOne
{
this
,
"locationMuonRoI1"
,
"LVL1MuonRoIsBCp1"
,
"Empty=Use Muctpi, LVL1MuonRoIs=Use reading from xAOD L1 RoI"
};
65
66
};
67
}
68
69
#endif
AthAlgTool.h
IInputTOBConverter.h
ITrigT1MuonRecRoiTool.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
MuCTPIL1Topo.h
MuCTPIToRoIBSLink.h
MuonRoIContainer.h
RoIBResult.h
TrigT1StoreGateKeys.h
LVL1::MuCTPIL1TopoCandidate
MuCTPI input class to the L1Topo simulation.
Definition
MuCTPIL1TopoCandidate.h:23
LVL1::MuonInputProvider::m_MuCTPItoL1TopoLocationPlusOne
SG::ReadHandleKey< LVL1::MuCTPIL1Topo > m_MuCTPItoL1TopoLocationPlusOne
Definition
MuonInputProvider.h:62
LVL1::MuonInputProvider::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition
MuonInputProvider.h:59
LVL1::MuonInputProvider::m_recRPCRoiTool
ToolHandle< LVL1::ITrigT1MuonRecRoiTool > m_recRPCRoiTool
Definition
MuonInputProvider.h:57
LVL1::MuonInputProvider::topoFlag
int topoFlag(bool flag) const
Definition
MuonInputProvider.cxx:329
LVL1::MuonInputProvider::createLateMuonTOB
TCS::LateMuonTOB createLateMuonTOB(const xAOD::MuonRoI &muonRoI, const std::vector< unsigned int > &rpcPtValues, const std::vector< unsigned int > &tgcPtValues) const
Definition
MuonInputProvider.cxx:202
LVL1::MuonInputProvider::initialize
virtual StatusCode initialize() override
Definition
MuonInputProvider.cxx:36
LVL1::MuonInputProvider::createMuonTOB
TCS::MuonTOB createMuonTOB(const xAOD::MuonRoI &muonRoI, const std::vector< unsigned int > &rpcPtValues, const std::vector< unsigned int > &tgcPtValues) const
Definition
MuonInputProvider.cxx:69
LVL1::MuonInputProvider::m_MuCTPItoL1TopoLocation
SG::ReadHandleKey< LVL1::MuCTPIL1Topo > m_MuCTPItoL1TopoLocation
Definition
MuonInputProvider.h:61
LVL1::MuonInputProvider::m_recTGCRoiTool
ToolHandle< LVL1::ITrigT1MuonRecRoiTool > m_recTGCRoiTool
Definition
MuonInputProvider.h:58
LVL1::MuonInputProvider::m_MuonL1RoILocationPlusOne
SG::ReadHandleKey< xAOD::MuonRoIContainer > m_MuonL1RoILocationPlusOne
Definition
MuonInputProvider.h:64
LVL1::MuonInputProvider::fillTopoInputEvent
virtual StatusCode fillTopoInputEvent(TCS::TopoInputEvent &) const override
Definition
MuonInputProvider.cxx:335
LVL1::MuonInputProvider::MuonInputProvider
MuonInputProvider(const std::string &type, const std::string &name, const IInterface *parent)
Definition
MuonInputProvider.cxx:28
LVL1::MuonInputProvider::m_MuonL1RoILocation
SG::ReadHandleKey< xAOD::MuonRoIContainer > m_MuonL1RoILocation
Definition
MuonInputProvider.h:63
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
TCS::LateMuonTOB
Definition
LateMuonTOB.h:13
TCS::MuonTOB
Definition
MuonTOB.h:14
TCS::TopoInputEvent
Definition
TopoInputEvent.h:42
TrigConf::L1Menu
L1 menu configuration.
Definition
L1Menu.h:29
LVL1MUCTPI::DEFAULT_MuonL1TopoLocation
static const std::string DEFAULT_MuonL1TopoLocation
default StoreGate location for MuCTPI to L1Topo input
Definition
TrigT1StoreGateKeys.h:20
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
TCS
Definition
AnomalyDetectionBDT.h:18
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition
Config.h:22
xAOD::MuonRoI
MuonRoI_v1 MuonRoI
Definition
MuonRoI.h:15
type
TrigConf::name
Definition
HLTChainList.h:35
Generated on
for ATLAS Offline Software by
1.17.0