ATLAS Offline Software
IjFEXsumETAlgo.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 // Interface for jFEXsumETAlgo - Algorithm for Sum ET Algorithm in jFEX
6 // -------------------
7 // begin : 12 05 2021
8 // email : Sergi.Rodriguez@cern.ch
9 //***************************************************************************
10 
11 #ifndef IjFEXsumETAlgo_H
12 #define IjFEXsumETAlgo_H
13 
14 #include "GaudiKernel/IAlgTool.h"
17 
18 namespace LVL1 {
19 
20 static const InterfaceID IID_IjFEXsumETAlgo("LVL1::IjFEXsumETAlgo",1, 0);
21 
22 class IjFEXsumETAlgo : virtual public IAlgTool {
23  public:
24  static const InterfaceID& interfaceID ( ) ;
25  virtual StatusCode safetyTest() = 0;
26  virtual StatusCode reset() =0;
29  virtual int getTTowerET(unsigned int ) =0;
30 
31  virtual void buildBarrelSumET() =0;
32  virtual void buildFWDSumET() =0;
33  virtual std::tuple<int, bool> getETlowerEta(uint ) =0;
34  virtual std::tuple<int, bool> getETupperEta(uint ) =0;
35  virtual void setFPGAEnergy(std::unordered_map<int,std::vector<int> > et_map) =0;
36 
37  private:
38 
39 };
40 inline const InterfaceID& LVL1::IjFEXsumETAlgo::interfaceID()
41 {
42  return IID_IjFEXsumETAlgo;
43 }
44 
45 }
46 #endif
47 
LVL1::IjFEXsumETAlgo::safetyTest
virtual StatusCode safetyTest()=0
LVL1::FEXAlgoSpaceDefs::jFEX_thin_algoSpace_width
constexpr static int jFEX_thin_algoSpace_width
Definition: FEXAlgoSpaceDefs.h:26
LVL1::IjFEXsumETAlgo::setup
virtual void setup(int FPGA[FEXAlgoSpaceDefs::jFEX_algoSpace_height][FEXAlgoSpaceDefs::jFEX_thin_algoSpace_width])=0
LVL1::FEXAlgoSpaceDefs::jFEX_algoSpace_height
constexpr static int jFEX_algoSpace_height
Definition: FEXAlgoSpaceDefs.h:27
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::IjFEXsumETAlgo::interfaceID
static const InterfaceID & interfaceID()
Definition: IjFEXsumETAlgo.h:40
uint
unsigned int uint
Definition: LArOFPhaseFill.cxx:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1::FEXAlgoSpaceDefs::jFEX_wide_algoSpace_width
constexpr static int jFEX_wide_algoSpace_width
Definition: FEXAlgoSpaceDefs.h:25
LVL1::IjFEXsumETAlgo::buildBarrelSumET
virtual void buildBarrelSumET()=0
LVL1::IjFEXsumETAlgo::setup
virtual void setup(int FPGA[FEXAlgoSpaceDefs::jFEX_algoSpace_height][FEXAlgoSpaceDefs::jFEX_wide_algoSpace_width])=0
FEXAlgoSpaceDefs.h
jTowerContainer.h
LVL1::IjFEXsumETAlgo::buildFWDSumET
virtual void buildFWDSumET()=0
LVL1::IjFEXsumETAlgo::getETlowerEta
virtual std::tuple< int, bool > getETlowerEta(uint)=0
LVL1::IjFEXsumETAlgo::getETupperEta
virtual std::tuple< int, bool > getETupperEta(uint)=0
LVL1::IjFEXsumETAlgo::reset
virtual StatusCode reset()=0
LVL1::gFEX::FPGA
FPGA
Definition: GTowerHelpers.h:17
LVL1::IjFEXsumETAlgo::setFPGAEnergy
virtual void setFPGAEnergy(std::unordered_map< int, std::vector< int > > et_map)=0
LVL1::IjFEXsumETAlgo
Definition: IjFEXsumETAlgo.h:22
LVL1::IjFEXsumETAlgo::getTTowerET
virtual int getTTowerET(unsigned int)=0