ATLAS Offline Software
Loading...
Searching...
No Matches
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
16namespace 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
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
virtual ~TrigT1RPCRecRoiTool()=default
virtual bool dumpRoiMap(const std::string &filename) const override
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
bool etaDimLow(const TrigT1MuonRecRoiData &data, double &etaMin, double &etaMax) const override
SG::ReadCondHandleKey< RpcCablingCondData > m_rpcKey
bool etaDimHigh(const TrigT1MuonRecRoiData &data, double &etaMin, double &etaMax) const override
virtual StatusCode RoIsize(const unsigned int &roiWord, double &etaMin, double &etaMax, double &phiMin, double &phiMax) const override
virtual StatusCode roiData(const unsigned int &roiWord, TrigT1MuonRecRoiData &data) const override
virtual StatusCode initialize() override
TrigT1RPCRecRoiTool(const std::string &type, const std::string &name, const IInterface *parent)
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...