ATLAS Offline Software
eFEXtauTOB.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //***************************************************************************
6 // eFEXtauTOB.h -
7 // -------------------
8 // begin : 01 03 2020
9 // email : nicholas.andrew.luongo@cern.ch
10 // **************************************************************************
11 
12 
13 #pragma once
14 #include "AthenaKernel/CLASS_DEF.h"
15 
16 namespace LVL1 {
17  class eFEXtauTOB
18  {
19  //eFEXtauAlgo class description below:
22  private:
23  unsigned int m_eta{99999};
24  unsigned int m_phi{99999};
25  unsigned int m_et{99999};
26  unsigned int m_bitwise_et{99999};
27  float m_iso{0};
28  unsigned int m_rcore_core{99999};
29  unsigned int m_rcore_env{99999};
30  unsigned int m_rhad_core{99999};
31  unsigned int m_rhad_env{99999};
32  unsigned int m_fpga_id{99999};
33  unsigned int m_efex_id{99999};
34  bool m_seed_und{true};
35  unsigned int m_seed{99999};
36  unsigned int m_bdt_score{99999};
37  unsigned int m_is_bdt_algo{99999};
41 
42  public:
43  eFEXtauTOB() = default;
44  ~eFEXtauTOB() = default;
45 
46  inline unsigned int getEta() const {return m_eta;}
47  inline unsigned int getPhi() const {return m_phi;}
48  inline unsigned int getEt() const {return m_et;}
49  inline unsigned int getBitwiseEt() const {return m_bitwise_et;}
50  inline float getIso() const {return m_iso;}
51  inline unsigned int getFPGAID() const {return m_fpga_id;}
52  inline unsigned int geteFEXID() const {return m_efex_id;}
53  // if seed is above (higher phi) central supercell of the seed
54  inline bool getSeedUnD() const {return m_seed_und;}
55  // seed index in eta
56  inline unsigned int getSeed() const {return m_seed;}
57  inline unsigned int getRcoreCore() const {return m_rcore_core;}
58  inline unsigned int getRcoreEnv() const {return m_rcore_env;}
59  inline unsigned int getRhadCore() const {return m_rhad_core;}
60  inline unsigned int getRhadEnv() const {return m_rhad_env;}
61  inline unsigned int getBDTScore() const {return m_bdt_score;}
62  inline unsigned int getIsBDTAlgo() const {return m_is_bdt_algo;}
63  inline uint32_t getTobword() const {return m_tobword;}
64  inline uint32_t getxTobword0() const {return m_xtobword0;}
65  inline uint32_t getxTobword1() const {return m_xtobword1;}
66 
67  void setEta(unsigned int);
68  void setPhi(unsigned int);
69  void setEt(unsigned int);
70  void setBitwiseEt(unsigned int);
71  void setIso(unsigned int);
72  void setFPGAID(unsigned int);
73  void seteFEXID(unsigned int);
74  void setSeedUnD(bool);
75  void setSeed(unsigned int);
76  void setRcoreCore(unsigned int);
77  void setRcoreEnv(unsigned int);
78  void setRhadCore(unsigned int);
79  void setRhadEnv(unsigned int);
80  void setBDTScore(unsigned int);
81  void setIsBDTAlgo(unsigned int);
82  void setTobword(uint32_t);
83  void setxTobword0(uint32_t);
84  void setxTobword1(uint32_t);
85  };
86 
87 } // end of namespace
88 
89 CLASS_DEF( LVL1::eFEXtauTOB, 32202275 , 1 )
LVL1::eFEXtauTOB::getSeedUnD
bool getSeedUnD() const
Definition: eFEXtauTOB.h:54
LVL1::eFEXtauTOB::m_eta
unsigned int m_eta
The eFEXtauAlgo.h class store the energy, the location and the isolation variables of eFEX TOBs.
Definition: eFEXtauTOB.h:23
LVL1::eFEXtauTOB::m_bitwise_et
unsigned int m_bitwise_et
Definition: eFEXtauTOB.h:26
LVL1::eFEXtauTOB::geteFEXID
unsigned int geteFEXID() const
Definition: eFEXtauTOB.h:52
LVL1::eFEXtauTOB::m_efex_id
unsigned int m_efex_id
Definition: eFEXtauTOB.h:33
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LVL1::eFEXtauTOB::getSeed
unsigned int getSeed() const
Definition: eFEXtauTOB.h:56
LVL1::eFEXtauTOB::getFPGAID
unsigned int getFPGAID() const
Definition: eFEXtauTOB.h:51
LVL1::eFEXtauTOB::m_seed
unsigned int m_seed
Definition: eFEXtauTOB.h:35
LVL1::eFEXtauTOB::m_rcore_core
unsigned int m_rcore_core
Definition: eFEXtauTOB.h:28
LVL1::eFEXtauTOB::eFEXtauTOB
eFEXtauTOB()=default
LVL1::eFEXtauTOB::getBitwiseEt
unsigned int getBitwiseEt() const
Definition: eFEXtauTOB.h:49
LVL1::eFEXtauTOB::m_xtobword1
uint32_t m_xtobword1
Definition: eFEXtauTOB.h:40
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::eFEXtauTOB::setEta
void setEta(unsigned int)
Definition: eFEXtauTOB.cxx:16
LVL1::eFEXtauTOB::getTobword
uint32_t getTobword() const
Definition: eFEXtauTOB.h:63
LVL1::eFEXtauTOB::m_rhad_env
unsigned int m_rhad_env
Definition: eFEXtauTOB.h:31
LVL1::eFEXtauTOB::getIsBDTAlgo
unsigned int getIsBDTAlgo() const
Definition: eFEXtauTOB.h:62
LVL1::eFEXtauTOB::m_rcore_env
unsigned int m_rcore_env
Definition: eFEXtauTOB.h:29
LVL1::eFEXtauTOB::setPhi
void setPhi(unsigned int)
Definition: eFEXtauTOB.cxx:21
LVL1::eFEXtauTOB::getRhadEnv
unsigned int getRhadEnv() const
Definition: eFEXtauTOB.h:60
LVL1::eFEXtauTOB::setEt
void setEt(unsigned int)
Definition: eFEXtauTOB.cxx:26
LVL1::eFEXtauTOB::setSeedUnD
void setSeedUnD(bool)
Definition: eFEXtauTOB.cxx:51
LVL1::eFEXtauTOB::~eFEXtauTOB
~eFEXtauTOB()=default
LVL1::eFEXtauTOB::setxTobword1
void setxTobword1(uint32_t)
Definition: eFEXtauTOB.cxx:99
LVL1::eFEXtauTOB::setRhadEnv
void setRhadEnv(unsigned int)
Definition: eFEXtauTOB.cxx:76
LVL1::eFEXtauTOB::getRcoreCore
unsigned int getRcoreCore() const
Definition: eFEXtauTOB.h:57
LVL1::eFEXtauTOB::m_seed_und
bool m_seed_und
Definition: eFEXtauTOB.h:34
LVL1::eFEXtauTOB::m_iso
float m_iso
Definition: eFEXtauTOB.h:27
LVL1::eFEXtauTOB::m_tobword
uint32_t m_tobword
Definition: eFEXtauTOB.h:38
LVL1::eFEXtauTOB::setTobword
void setTobword(uint32_t)
Definition: eFEXtauTOB.cxx:91
LVL1::eFEXtauTOB::m_is_bdt_algo
unsigned int m_is_bdt_algo
Definition: eFEXtauTOB.h:37
LVL1::eFEXtauTOB::setRcoreCore
void setRcoreCore(unsigned int)
Definition: eFEXtauTOB.cxx:61
LVL1::eFEXtauTOB::m_phi
unsigned int m_phi
Definition: eFEXtauTOB.h:24
LVL1::eFEXtauTOB::setxTobword0
void setxTobword0(uint32_t)
Definition: eFEXtauTOB.cxx:95
LVL1::eFEXtauTOB
Definition: eFEXtauTOB.h:18
LVL1::eFEXtauTOB::getEta
unsigned int getEta() const
Definition: eFEXtauTOB.h:46
LVL1::eFEXtauTOB::getxTobword0
uint32_t getxTobword0() const
Definition: eFEXtauTOB.h:64
LVL1::eFEXtauTOB::m_fpga_id
unsigned int m_fpga_id
Definition: eFEXtauTOB.h:32
LVL1::eFEXtauTOB::m_bdt_score
unsigned int m_bdt_score
Definition: eFEXtauTOB.h:36
LVL1::eFEXtauTOB::m_rhad_core
unsigned int m_rhad_core
Definition: eFEXtauTOB.h:30
LVL1::eFEXtauTOB::setBitwiseEt
void setBitwiseEt(unsigned int)
Definition: eFEXtauTOB.cxx:31
LVL1::eFEXtauTOB::setRcoreEnv
void setRcoreEnv(unsigned int)
Definition: eFEXtauTOB.cxx:66
LVL1::eFEXtauTOB::getPhi
unsigned int getPhi() const
Definition: eFEXtauTOB.h:47
LVL1::eFEXtauTOB::seteFEXID
void seteFEXID(unsigned int)
Definition: eFEXtauTOB.cxx:46
LVL1::eFEXtauTOB::setFPGAID
void setFPGAID(unsigned int)
Definition: eFEXtauTOB.cxx:41
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
LVL1::eFEXtauTOB::setIso
void setIso(unsigned int)
Definition: eFEXtauTOB.cxx:36
LVL1::eFEXtauTOB::getIso
float getIso() const
Definition: eFEXtauTOB.h:50
LVL1::eFEXtauTOB::getEt
unsigned int getEt() const
Definition: eFEXtauTOB.h:48
LVL1::eFEXtauTOB::setIsBDTAlgo
void setIsBDTAlgo(unsigned int)
Definition: eFEXtauTOB.cxx:86
LVL1::eFEXtauTOB::getBDTScore
unsigned int getBDTScore() const
Definition: eFEXtauTOB.h:61
LVL1::eFEXtauTOB::m_xtobword0
uint32_t m_xtobword0
Definition: eFEXtauTOB.h:39
LVL1::eFEXtauTOB::setRhadCore
void setRhadCore(unsigned int)
Definition: eFEXtauTOB.cxx:71
LVL1::eFEXtauTOB::m_et
unsigned int m_et
Definition: eFEXtauTOB.h:25
LVL1::eFEXtauTOB::setBDTScore
void setBDTScore(unsigned int)
Definition: eFEXtauTOB.cxx:81
LVL1::eFEXtauTOB::getxTobword1
uint32_t getxTobword1() const
Definition: eFEXtauTOB.h:65
CLASS_DEF.h
macros to associate a CLID to a type
LVL1::eFEXtauTOB::setSeed
void setSeed(unsigned int)
Definition: eFEXtauTOB.cxx:56
LVL1::eFEXtauTOB::getRcoreEnv
unsigned int getRcoreEnv() const
Definition: eFEXtauTOB.h:58
LVL1::eFEXtauTOB::getRhadCore
unsigned int getRhadCore() const
Definition: eFEXtauTOB.h:59