ATLAS Offline Software
RecMuonRoiSvc.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 /*
3  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
4 */
5 #ifndef TRIGT1INTERFACES_RECMUONROISVC_H
6 #define TRIGT1INTERFACES_RECMUONROISVC_H
7 
8 // STL include(s):
9 #include <string>
10 
11 // Gaudi/Athena include(s):
13 
14 
15 namespace LVL1 {
16 
17  // identifire of RPC/TGC RecRoI service, which should be consistent
18  // with the class definition in each package
19  const std::string ID_RecRpcRoiSvc = "LVL1RPC::RPCRecRoiSvc";
20  const std::string ID_RecTgcRoiSvc = "LVL1TGC::TGCRecRoiSvc";
21 
35  class RecMuonRoiSvc : public AthService {
36 
37  public:
38  RecMuonRoiSvc ( const std::string& name, ISvcLocator* svc )
39  : AthService( name, svc ) {}
40  virtual ~RecMuonRoiSvc ( void ) {}
41 
42  static const InterfaceID& interfaceID() {
43  return IService::interfaceID();
44  }
45 
46  virtual StatusCode queryInterface( const InterfaceID& riid, void** ppvIF ) {
47  return AthService::queryInterface( riid, ppvIF );
48  }
49 
50  virtual StatusCode initialize ( void ) { return StatusCode::SUCCESS; }
51  virtual StatusCode finalize ( void ) { return StatusCode::SUCCESS; }
52 
54  virtual void reconstruct ( const unsigned int & roiWord ) const = 0;
55 
57  virtual double phi ( void ) const = 0;
58 
60  virtual double eta ( void ) const = 0;
61 
63  virtual bool writeRoiRobMap ( const std::string & /*filename*/ )
64  { return true; }
65 
66  }; // class RecMuonRoISvc
67 
68 } // namespace LVL1
69 
70 #endif // TRIGT1INTERFACES_RECMUONROISVC_H
LVL1::RecMuonRoiSvc::eta
virtual double eta(void) const =0
pure virtual function returns eta coord of RoI
LVL1::RecMuonRoiSvc::queryInterface
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvIF)
Definition: RecMuonRoiSvc.h:46
LVL1::ID_RecTgcRoiSvc
const std::string ID_RecTgcRoiSvc
Definition: RecMuonRoiSvc.h:20
LVL1::RecMuonRoiSvc::~RecMuonRoiSvc
virtual ~RecMuonRoiSvc(void)
Definition: RecMuonRoiSvc.h:40
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::RecMuonRoiSvc::writeRoiRobMap
virtual bool writeRoiRobMap(const std::string &)
virtual function for writing the RoI/ROB map
Definition: RecMuonRoiSvc.h:63
xAOD::roiWord
roiWord
Definition: TrigMissingET_v1.cxx:36
LVL1::RecMuonRoiSvc::interfaceID
static const InterfaceID & interfaceID()
Definition: RecMuonRoiSvc.h:42
LVL1::RecMuonRoiSvc
Base class for the RPC and TGC RoI reconstruction services.
Definition: RecMuonRoiSvc.h:35
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthService
Definition: AthService.h:32
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
LVL1::ID_RecRpcRoiSvc
const std::string ID_RecRpcRoiSvc
Definition: RecMuonRoiSvc.h:19
TrigConf::name
Definition: HLTChainList.h:35
LVL1::RecMuonRoiSvc::RecMuonRoiSvc
RecMuonRoiSvc(const std::string &name, ISvcLocator *svc)
Definition: RecMuonRoiSvc.h:38
LVL1::RecMuonRoiSvc::phi
virtual double phi(void) const =0
pure virtual function to return phi coord of RoI
LVL1::RecMuonRoiSvc::finalize
virtual StatusCode finalize(void)
Definition: RecMuonRoiSvc.h:51
LVL1::RecMuonRoiSvc::initialize
virtual StatusCode initialize(void)
Definition: RecMuonRoiSvc.h:50
AthService.h
LVL1::RecMuonRoiSvc::reconstruct
virtual void reconstruct(const unsigned int &roiWord) const =0
pure virtual function for sub-detector-specific RoI reconstruction