ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1MuonRecRoiTool
src
TrigT1RPCRecRoiTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGT1RPCRECROITOOL_H
6
#define TRIGT1RPCRECROITOOL_H
7
8
#include "
TrigT1Interfaces/ITrigT1MuonRecRoiTool.h
"
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
RPC_CondCabling/RpcCablingCondData.h
"
11
#include "
StoreGate/ReadCondHandleKey.h
"
12
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
13
#include "GaudiKernel/ServiceHandle.h"
14
#include "
MuonReadoutGeometry/MuonDetectorManager.h
"
15
16
namespace
LVL1
{
17
18
class
TrigT1RPCRecRoiTool
:
public
extends<AthAlgTool, ITrigT1MuonRecRoiTool> {
19
public
:
20
TrigT1RPCRecRoiTool
(
const
std::string&
type
,
21
const
std::string&
name
,
22
const
IInterface* parent);
23
virtual
~TrigT1RPCRecRoiTool
()=
default
;
24
virtual
StatusCode
initialize
()
override
;
25
26
virtual
StatusCode
roiData
(
const
unsigned
int
& roiWord,
TrigT1MuonRecRoiData
& data)
const override
;
27
28
virtual
StatusCode
RoIsize
(
const
unsigned
int
& roiWord,
29
double
& etaMin,
double
& etaMax,
30
double
& phiMin,
double
& phiMax)
const override
;
31
32
virtual
bool
dumpRoiMap
(
const
std::string& filename)
const override
;
33
34
// RoI edges for Low-pt and High-pt confirm planes
35
bool
etaDimLow
(
const
TrigT1MuonRecRoiData
& data,
double
& etaMin,
double
& etaMax)
const override
;
36
bool
etaDimHigh
(
const
TrigT1MuonRecRoiData
& data,
double
& etaMin,
double
& etaMax)
const override
;
37
38
private
:
39
// Helper function to check whether the given Identifier is valid. It is needed when running on Phase2 geometry,
40
// since we are using the old RPC cabling instead of the new one.
41
bool
checkRPCId
(
const
Identifier
&
id
,
const
MuonGM::MuonDetectorManager
& muonMgr)
const
;
42
43
BooleanProperty
m_useRun3Config
{
this
,
"UseRun3Config"
,
false
,
"use Run 3 config"
};
44
BooleanProperty
m_useConditionData
{
this
,
"UseConditionData"
,
true
,
"use condition data"
};
45
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
46
SG::ReadCondHandleKey<MuonGM::MuonDetectorManager>
m_DetectorManagerKey
{
this
,
"DetectorManagerKey"
,
"MuonDetectorManager"
,
"Key of input MuonDetectorManager condition data"
};
47
SG::ReadCondHandleKey<RpcCablingCondData>
m_rpcKey
{
this
,
"ReadKey"
,
"RpcCablingCondData"
,
"Key of RpcCablingCondData"
};
48
49
};
// end of TrigT1RPCRecRoiTool
50
51
}
// namespace LVL1
52
53
54
#endif
AthAlgTool.h
IMuonIdHelperSvc.h
ITrigT1MuonRecRoiTool.h
MuonDetectorManager.h
ReadCondHandleKey.h
RpcCablingCondData.h
LVL1::TrigT1MuonRecRoiData
Definition
TrigT1MuonRecRoiData.h:10
LVL1::TrigT1RPCRecRoiTool::~TrigT1RPCRecRoiTool
virtual ~TrigT1RPCRecRoiTool()=default
LVL1::TrigT1RPCRecRoiTool::dumpRoiMap
virtual bool dumpRoiMap(const std::string &filename) const override
Definition
TrigT1RPCRecRoiTool.cxx:127
LVL1::TrigT1RPCRecRoiTool::m_DetectorManagerKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
Definition
TrigT1RPCRecRoiTool.h:46
LVL1::TrigT1RPCRecRoiTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
TrigT1RPCRecRoiTool.h:45
LVL1::TrigT1RPCRecRoiTool::m_useRun3Config
BooleanProperty m_useRun3Config
Definition
TrigT1RPCRecRoiTool.h:43
LVL1::TrigT1RPCRecRoiTool::etaDimLow
bool etaDimLow(const TrigT1MuonRecRoiData &data, double &etaMin, double &etaMax) const override
Definition
TrigT1RPCRecRoiTool.cxx:169
LVL1::TrigT1RPCRecRoiTool::m_rpcKey
SG::ReadCondHandleKey< RpcCablingCondData > m_rpcKey
Definition
TrigT1RPCRecRoiTool.h:47
LVL1::TrigT1RPCRecRoiTool::etaDimHigh
bool etaDimHigh(const TrigT1MuonRecRoiData &data, double &etaMin, double &etaMax) const override
Definition
TrigT1RPCRecRoiTool.cxx:230
LVL1::TrigT1RPCRecRoiTool::m_useConditionData
BooleanProperty m_useConditionData
Definition
TrigT1RPCRecRoiTool.h:44
LVL1::TrigT1RPCRecRoiTool::RoIsize
virtual StatusCode RoIsize(const unsigned int &roiWord, double &etaMin, double &etaMax, double &phiMin, double &phiMax) const override
Definition
TrigT1RPCRecRoiTool.cxx:94
LVL1::TrigT1RPCRecRoiTool::roiData
virtual StatusCode roiData(const unsigned int &roiWord, TrigT1MuonRecRoiData &data) const override
Definition
TrigT1RPCRecRoiTool.cxx:25
LVL1::TrigT1RPCRecRoiTool::initialize
virtual StatusCode initialize() override
Definition
TrigT1RPCRecRoiTool.cxx:14
LVL1::TrigT1RPCRecRoiTool::checkRPCId
bool checkRPCId(const Identifier &id, const MuonGM::MuonDetectorManager &muonMgr) const
Definition
TrigT1RPCRecRoiTool.cxx:289
LVL1::TrigT1RPCRecRoiTool::TrigT1RPCRecRoiTool
TrigT1RPCRecRoiTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
TrigT1RPCRecRoiTool.cxx:10
MuonGM::MuonDetectorManager
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Definition
MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:51
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
ServiceHandle
Definition
ClusterMakerTool.h:36
Identifier
Definition
IdentifierFieldParser.cxx:14
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
type
TrigConf::name
Definition
HLTChainList.h:35
Generated on
for ATLAS Offline Software by
1.17.0