ATLAS Offline Software
IeFEXtauAlgo.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 //***************************************************************************
6 // IeFEXtauAlgo.h -
7 // -------------------
8 // begin : 12 05 2020
9 // email : nicholas.andrew.luongo@cern.ch
10 // ***************************************************************************/
11 
12 #ifndef IeFEXtauAlgo_H
13 #define IeFEXtauAlgo_H
14 
15 #include "GaudiKernel/IAlgTool.h"
18 
19 namespace LVL1 {
20 
21 /*
22 Interface definition for eFEXtauAlgo
23 */
24 
25  static const InterfaceID IID_IeFEXtauAlgo("LVL1::IeFEXtauAlgo", 1, 0);
26 
27  class IeFEXtauAlgo : virtual public IAlgTool {
28  public:
29  static const InterfaceID& interfaceID( ) ;
30 
31  virtual StatusCode safetyTest() = 0;
32  virtual void setup(int inputTable[3][3], int efex_id, int fpga_id, int central_eta) = 0;
33  virtual void compute() = 0;
34 
35  virtual bool isCentralTowerSeed() const = 0;
36  virtual std::unique_ptr<eFEXtauTOB> getTauTOB() const = 0;
37  virtual unsigned int rCoreCore() const = 0;
38  virtual unsigned int rCoreEnv() const = 0;
39  virtual void getRCore(std::vector<unsigned int> & rCoreVec) const = 0;
40  virtual float getRealRCore() const = 0;
41  virtual unsigned int rHadCore() const = 0;
42  virtual unsigned int rHadEnv() const = 0;
43  virtual void getRHad(std::vector<unsigned int> & rHadVec) const = 0;
44  virtual float getRealRHad() const = 0;
45  virtual unsigned int getEt() const = 0;
46  virtual unsigned int getBitwiseEt() const = 0;
47  virtual bool getUnD() const = 0;
48  virtual unsigned int getSeed() const = 0;
49  virtual void getSums(unsigned int seed, bool UnD, std::vector<unsigned int> & RcoreSums,
50  std::vector<unsigned int> & RemSums) = 0;
51  virtual unsigned int getBDTScore() const = 0;
52  virtual unsigned int getBDTCondition() const = 0;
53  virtual unsigned int getBDTHadFracCondition() const = 0;
54  virtual bool isBDT() const = 0;
55 
56  virtual void setThresholds(const std::vector<unsigned int>& rHadThreshold,
57  const std::vector<unsigned int>& bdtThreshold,
58  unsigned int etThreshold,
59  unsigned int etThresholdForRHad,
60  unsigned int bdtMinEtThreshold) = 0;
61 
62  private:
63 
64  };
65 
66  inline const InterfaceID& LVL1::IeFEXtauAlgo::interfaceID()
67  {
68  return IID_IeFEXtauAlgo;
69  }
70 
71 } // end of namespace
72 
73 #endif
LVL1::IeFEXtauAlgo::setup
virtual void setup(int inputTable[3][3], int efex_id, int fpga_id, int central_eta)=0
LVL1::IeFEXtauAlgo::getBitwiseEt
virtual unsigned int getBitwiseEt() const =0
eTowerContainer.h
LVL1::IeFEXtauAlgo::safetyTest
virtual StatusCode safetyTest()=0
eFEXtauTOB.h
LVL1::IeFEXtauAlgo::isCentralTowerSeed
virtual bool isCentralTowerSeed() const =0
LVL1::IeFEXtauAlgo::getSeed
virtual unsigned int getSeed() const =0
LVL1::IeFEXtauAlgo::rHadCore
virtual unsigned int rHadCore() const =0
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::IeFEXtauAlgo::getRCore
virtual void getRCore(std::vector< unsigned int > &rCoreVec) const =0
LVL1::IeFEXtauAlgo::getRealRCore
virtual float getRealRCore() const =0
LVL1::IeFEXtauAlgo::compute
virtual void compute()=0
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1::IeFEXtauAlgo::getSums
virtual void getSums(unsigned int seed, bool UnD, std::vector< unsigned int > &RcoreSums, std::vector< unsigned int > &RemSums)=0
LVL1::IeFEXtauAlgo::getTauTOB
virtual std::unique_ptr< eFEXtauTOB > getTauTOB() const =0
LVL1::IeFEXtauAlgo::rCoreEnv
virtual unsigned int rCoreEnv() const =0
LVL1::IeFEXtauAlgo::isBDT
virtual bool isBDT() const =0
LVL1::IeFEXtauAlgo::getEt
virtual unsigned int getEt() const =0
LVL1::IeFEXtauAlgo::rCoreCore
virtual unsigned int rCoreCore() const =0
LVL1::IeFEXtauAlgo::interfaceID
static const InterfaceID & interfaceID()
Definition: IeFEXtauAlgo.h:66
LVL1::IeFEXtauAlgo::getBDTCondition
virtual unsigned int getBDTCondition() const =0
LVL1::IeFEXtauAlgo::setThresholds
virtual void setThresholds(const std::vector< unsigned int > &rHadThreshold, const std::vector< unsigned int > &bdtThreshold, unsigned int etThreshold, unsigned int etThresholdForRHad, unsigned int bdtMinEtThreshold)=0
LVL1::IeFEXtauAlgo::getUnD
virtual bool getUnD() const =0
LVL1::IeFEXtauAlgo
Definition: IeFEXtauAlgo.h:27
LVL1::IeFEXtauAlgo::getRealRHad
virtual float getRealRHad() const =0
LVL1::IeFEXtauAlgo::getBDTScore
virtual unsigned int getBDTScore() const =0
LVL1::IeFEXtauAlgo::getRHad
virtual void getRHad(std::vector< unsigned int > &rHadVec) const =0
LVL1::IeFEXtauAlgo::rHadEnv
virtual unsigned int rHadEnv() const =0
LVL1::IeFEXtauAlgo::getBDTHadFracCondition
virtual unsigned int getBDTHadFracCondition() const =0