ATLAS Offline Software
eFEXegTOB.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //***************************************************************************
6 // eFEXegTOB.h -
7 // -------------------
8 // begin : 17 01 2020
9 // email : tong.qiu@cern.ch
10 // **************************************************************************
11 
12 
13 #pragma once
14 #include "AthenaKernel/CLASS_DEF.h"
15 
16 namespace LVL1 {
17  class eFEXegTOB
18  {
19  //eFEXegAlgo class description below:
22  private:
23  unsigned int m_eta;
24  unsigned int m_phi;
25  unsigned int m_ET;
26  unsigned int m_Reta_Core;
27  unsigned int m_Reta_Env;
28  unsigned int m_Rhad_EM;
29  unsigned int m_Rhad_Had;
30  unsigned int m_Wstot_Num;
31  unsigned int m_Wstot_Den;
32  unsigned int m_FPGA_ID;
33  unsigned int m_eFEX_ID;
34  bool m_seed_UnD;
35  unsigned int m_seed;
39 
40  public:
41  eFEXegTOB();
42  ~eFEXegTOB() {};
43 
44  inline unsigned int getEta() const {return m_eta;}
45  inline unsigned int getPhi() const {return m_phi;}
46  inline unsigned int getET() const {return m_ET;}
47  inline unsigned int getFPGAID() const {return m_FPGA_ID;}
48  inline unsigned int geteFEXID() const {return m_eFEX_ID;}
49  // if seed is above (higher phi) central supercell of the seed
50  inline bool getSeedUnD() const {return m_seed_UnD;}
51  // seed index in eta
52  inline unsigned int getSeed() const {return m_seed;}
53  inline unsigned int getRetaCore() const {return m_Reta_Core;}
54  inline unsigned int getRetaEnv() const {return m_Reta_Env;}
55  inline unsigned int getRhadEM() const {return m_Rhad_EM;}
56  inline unsigned int getRhadHad() const {return m_Rhad_Had;}
57  inline unsigned int getWstotNum() const {return m_Wstot_Num;}
58  inline unsigned int getWstotDen() const {return m_Wstot_Den;}
59  inline uint32_t getTobword() const {return m_tobword;}
60  inline uint32_t getxTobword0() const {return m_xtobword0;}
61  inline uint32_t getxTobword1() const {return m_xtobword1;}
62 
63  void setEta(unsigned int);
64  void setPhi(unsigned int);
65  void setET(unsigned int);
66  void setFPGAID(unsigned int);
67  void seteFEXID(unsigned int);
68  void setSeedUnD(bool);
69  void setSeed(unsigned int);
70  void setRetaCore(unsigned int);
71  void setRetaEnv(unsigned int);
72  void setRhadEM(unsigned int);
73  void setRhadHad(unsigned int);
74  void setWstotNum(unsigned int);
75  void setWstotDen(unsigned int);
76  void setTobword(uint32_t);
77  void setxTobword0(uint32_t);
78  void setxTobword1(uint32_t);
79  };
80 
81 } // end of namespace
82 
83 CLASS_DEF( LVL1::eFEXegTOB, 32202261 , 1 )
LVL1::eFEXegTOB::setRetaEnv
void setRetaEnv(unsigned int)
Definition: eFEXegTOB.cxx:67
LVL1::eFEXegTOB::setxTobword0
void setxTobword0(uint32_t)
Definition: eFEXegTOB.cxx:91
LVL1::eFEXegTOB::getEta
unsigned int getEta() const
Definition: eFEXegTOB.h:44
LVL1::eFEXegTOB::m_Reta_Env
unsigned int m_Reta_Env
Definition: eFEXegTOB.h:27
LVL1::eFEXegTOB::m_eta
unsigned int m_eta
The eFEXegAlgo.h class store the energy, the location and the isolation variables of eFEX TOBs.
Definition: eFEXegTOB.h:23
LVL1::eFEXegTOB::geteFEXID
unsigned int geteFEXID() const
Definition: eFEXegTOB.h:48
LVL1::eFEXegTOB::setSeedUnD
void setSeedUnD(bool)
Definition: eFEXegTOB.cxx:55
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LVL1::eFEXegTOB::m_Rhad_EM
unsigned int m_Rhad_EM
Definition: eFEXegTOB.h:28
LVL1::eFEXegTOB::setSeed
void setSeed(unsigned int)
Definition: eFEXegTOB.cxx:59
LVL1::eFEXegTOB::getWstotDen
unsigned int getWstotDen() const
Definition: eFEXegTOB.h:58
LVL1::eFEXegTOB::m_xtobword1
uint32_t m_xtobword1
Definition: eFEXegTOB.h:38
LVL1::eFEXegTOB::setTobword
void setTobword(uint32_t)
Definition: eFEXegTOB.cxx:87
LVL1::eFEXegTOB::setPhi
void setPhi(unsigned int)
Definition: eFEXegTOB.cxx:39
LVL1::eFEXegTOB::getxTobword0
uint32_t getxTobword0() const
Definition: eFEXegTOB.h:60
LVL1::eFEXegTOB::m_Wstot_Den
unsigned int m_Wstot_Den
Definition: eFEXegTOB.h:31
LVL1::eFEXegTOB::m_tobword
uint32_t m_tobword
Definition: eFEXegTOB.h:36
LVL1::eFEXegTOB::setFPGAID
void setFPGAID(unsigned int)
Definition: eFEXegTOB.cxx:47
LVL1::eFEXegTOB::getSeedUnD
bool getSeedUnD() const
Definition: eFEXegTOB.h:50
LVL1::eFEXegTOB::setxTobword1
void setxTobword1(uint32_t)
Definition: eFEXegTOB.cxx:95
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::eFEXegTOB::m_Rhad_Had
unsigned int m_Rhad_Had
Definition: eFEXegTOB.h:29
LVL1::eFEXegTOB::getRhadHad
unsigned int getRhadHad() const
Definition: eFEXegTOB.h:56
LVL1::eFEXegTOB::getPhi
unsigned int getPhi() const
Definition: eFEXegTOB.h:45
LVL1::eFEXegTOB::setRhadHad
void setRhadHad(unsigned int)
Definition: eFEXegTOB.cxx:75
LVL1::eFEXegTOB::m_Wstot_Num
unsigned int m_Wstot_Num
Definition: eFEXegTOB.h:30
LVL1::eFEXegTOB::setRetaCore
void setRetaCore(unsigned int)
Definition: eFEXegTOB.cxx:63
LVL1::eFEXegTOB::eFEXegTOB
eFEXegTOB()
Definition: eFEXegTOB.cxx:16
LVL1::eFEXegTOB::m_phi
unsigned int m_phi
Definition: eFEXegTOB.h:24
LVL1::eFEXegTOB::getRetaCore
unsigned int getRetaCore() const
Definition: eFEXegTOB.h:53
LVL1::eFEXegTOB::m_xtobword0
uint32_t m_xtobword0
Definition: eFEXegTOB.h:37
LVL1::eFEXegTOB::getTobword
uint32_t getTobword() const
Definition: eFEXegTOB.h:59
LVL1::eFEXegTOB::setET
void setET(unsigned int)
Definition: eFEXegTOB.cxx:43
LVL1::eFEXegTOB::setEta
void setEta(unsigned int)
Definition: eFEXegTOB.cxx:35
LVL1::eFEXegTOB::m_seed
unsigned int m_seed
Definition: eFEXegTOB.h:35
LVL1::eFEXegTOB::setRhadEM
void setRhadEM(unsigned int)
Definition: eFEXegTOB.cxx:71
LVL1::eFEXegTOB::getFPGAID
unsigned int getFPGAID() const
Definition: eFEXegTOB.h:47
LVL1::eFEXegTOB::m_FPGA_ID
unsigned int m_FPGA_ID
Definition: eFEXegTOB.h:32
LVL1::eFEXegTOB::setWstotDen
void setWstotDen(unsigned int)
Definition: eFEXegTOB.cxx:83
LVL1::eFEXegTOB::setWstotNum
void setWstotNum(unsigned int)
Definition: eFEXegTOB.cxx:79
LVL1::eFEXegTOB::getET
unsigned int getET() const
Definition: eFEXegTOB.h:46
LVL1::eFEXegTOB::~eFEXegTOB
~eFEXegTOB()
Definition: eFEXegTOB.h:42
LVL1::eFEXegTOB::m_eFEX_ID
unsigned int m_eFEX_ID
Definition: eFEXegTOB.h:33
LVL1::eFEXegTOB::getxTobword1
uint32_t getxTobword1() const
Definition: eFEXegTOB.h:61
LVL1::eFEXegTOB
Definition: eFEXegTOB.h:18
LVL1::eFEXegTOB::getRhadEM
unsigned int getRhadEM() const
Definition: eFEXegTOB.h:55
LVL1::eFEXegTOB::m_ET
unsigned int m_ET
Definition: eFEXegTOB.h:25
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::eFEXegTOB::seteFEXID
void seteFEXID(unsigned int)
Definition: eFEXegTOB.cxx:51
LVL1::eFEXegTOB::getSeed
unsigned int getSeed() const
Definition: eFEXegTOB.h:52
LVL1::eFEXegTOB::getWstotNum
unsigned int getWstotNum() const
Definition: eFEXegTOB.h:57
LVL1::eFEXegTOB::getRetaEnv
unsigned int getRetaEnv() const
Definition: eFEXegTOB.h:54
LVL1::eFEXegTOB::m_seed_UnD
bool m_seed_UnD
Definition: eFEXegTOB.h:34
CLASS_DEF.h
macros to associate a CLID to a type
LVL1::eFEXegTOB::m_Reta_Core
unsigned int m_Reta_Core
Definition: eFEXegTOB.h:26