ATLAS Offline Software
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 
13 #include "GaudiKernel/ServiceHandle.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  BooleanProperty m_useRun3Config{this,"UseRun3Config",false,"use Run 3 config"};
40  BooleanProperty m_useConditionData{this,"UseConditionData",true,"use condition data"};
41  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
42  SG::ReadCondHandleKey<MuonGM::MuonDetectorManager> m_DetectorManagerKey {this, "DetectorManagerKey","MuonDetectorManager","Key of input MuonDetectorManager condition data"};
43  SG::ReadCondHandleKey<RpcCablingCondData> m_rpcKey{this, "ReadKey", "RpcCablingCondData", "Key of RpcCablingCondData"};
44 
45  }; // end of TrigT1RPCRecRoiTool
46 
47 } // namespace LVL1
48 
49 
50 #endif
LVL1::TrigT1RPCRecRoiTool::etaDimHigh
bool etaDimHigh(const TrigT1MuonRecRoiData &data, double &etaMin, double &etaMax) const override
Definition: TrigT1RPCRecRoiTool.cxx:227
LVL1::TrigT1MuonRecRoiData
Definition: TrigT1MuonRecRoiData.h:10
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
xAOD::etaMax
etaMax
Definition: HIEventShape_v2.cxx:46
LVL1::TrigT1RPCRecRoiTool::etaDimLow
bool etaDimLow(const TrigT1MuonRecRoiData &data, double &etaMin, double &etaMax) const override
Definition: TrigT1RPCRecRoiTool.cxx:169
LVL1::TrigT1RPCRecRoiTool::dumpRoiMap
virtual bool dumpRoiMap(const std::string &filename) const override
Definition: TrigT1RPCRecRoiTool.cxx:127
LVL1::TrigT1RPCRecRoiTool::roiData
virtual StatusCode roiData(const unsigned int &roiWord, TrigT1MuonRecRoiData &data) const override
Definition: TrigT1RPCRecRoiTool.cxx:25
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
xAOD::roiWord
roiWord
Definition: TrigMissingET_v1.cxx:36
LVL1::TrigT1RPCRecRoiTool::m_useRun3Config
BooleanProperty m_useRun3Config
Definition: TrigT1RPCRecRoiTool.h:39
LVL1::TrigT1RPCRecRoiTool::initialize
virtual StatusCode initialize() override
Definition: TrigT1RPCRecRoiTool.cxx:14
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LVL1::TrigT1RPCRecRoiTool::m_rpcKey
SG::ReadCondHandleKey< RpcCablingCondData > m_rpcKey
Definition: TrigT1RPCRecRoiTool.h:43
ITrigT1MuonRecRoiTool.h
LVL1::TrigT1RPCRecRoiTool::m_useConditionData
BooleanProperty m_useConditionData
Definition: TrigT1RPCRecRoiTool.h:40
TrigConf::name
Definition: HLTChainList.h:35
ReadCondHandleKey.h
LVL1::TrigT1RPCRecRoiTool
Definition: TrigT1RPCRecRoiTool.h:18
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::TrigT1RPCRecRoiTool
TrigT1RPCRecRoiTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TrigT1RPCRecRoiTool.cxx:10
MuonDetectorManager.h
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager >
LVL1::TrigT1RPCRecRoiTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: TrigT1RPCRecRoiTool.h:41
LArCellBinning.etaMin
etaMin
Definition: LArCellBinning.py:84
LVL1::TrigT1RPCRecRoiTool::m_DetectorManagerKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
Definition: TrigT1RPCRecRoiTool.h:42
RpcCablingCondData.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24
LVL1::TrigT1RPCRecRoiTool::~TrigT1RPCRecRoiTool
virtual ~TrigT1RPCRecRoiTool()=default
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >