ATLAS Offline Software
IeFEXFPGATowerIdProvider.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 IEFEXFPGATOWERIDPROVIDER_H
6 #define IEFEXFPGATOWERIDPROVIDER_H
7 
8 #include "GaudiKernel/IAlgTool.h"
10 #include <string>
11 
12 namespace LVL1 {
13  static const InterfaceID IID_IIeFEXFPGATowerIdProvider("LVL1::IeFEXFPGATowerIdProvider", 1 , 0);
14 
15  class IeFEXFPGATowerIdProvider : virtual public IAlgTool {
16 
17  public:
18  static const InterfaceID& interfaceID() { return IID_IIeFEXFPGATowerIdProvider; };
19  virtual StatusCode setAddress(const std::string&) = 0;
20  virtual StatusCode getRankedTowerIDinFPGA(int, int, int(&)[10][6]) const = 0;
21  virtual StatusCode getRankedTowerIDineFEX(int, int(&)[10][18]) const = 0;
22  virtual bool ifhaveinputfile() const = 0;
23 
24  private:
25  virtual StatusCode rankTowerinFPGA(int) = 0;
26  virtual bool hasFPGA(int) const = 0;
27  virtual StatusCode loadcsv() = 0;
28  virtual int getFPGAIndex(int, int) const = 0;
29  };
30 }
31 
32 #endif
LVL1::IeFEXFPGATowerIdProvider::getRankedTowerIDineFEX
virtual StatusCode getRankedTowerIDineFEX(int, int(&)[10][18]) const =0
LVL1::IeFEXFPGATowerIdProvider::hasFPGA
virtual bool hasFPGA(int) const =0
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1::IeFEXFPGATowerIdProvider::rankTowerinFPGA
virtual StatusCode rankTowerinFPGA(int)=0
LVL1::IeFEXFPGATowerIdProvider::ifhaveinputfile
virtual bool ifhaveinputfile() const =0
LVL1::IeFEXFPGATowerIdProvider::loadcsv
virtual StatusCode loadcsv()=0
LVL1::IeFEXFPGATowerIdProvider
Definition: IeFEXFPGATowerIdProvider.h:15
LVL1::IeFEXFPGATowerIdProvider::getFPGAIndex
virtual int getFPGAIndex(int, int) const =0
eFexEMRoI.h
LVL1::IeFEXFPGATowerIdProvider::setAddress
virtual StatusCode setAddress(const std::string &)=0
LVL1::IeFEXFPGATowerIdProvider::interfaceID
static const InterfaceID & interfaceID()
Definition: IeFEXFPGATowerIdProvider.h:18
LVL1::IeFEXFPGATowerIdProvider::getRankedTowerIDinFPGA
virtual StatusCode getRankedTowerIDinFPGA(int, int, int(&)[10][6]) const =0