ATLAS Offline Software
eFEXFormTOBs.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 // eFEXFormTOBs.h
7 // --------------
8 // begin : 30 04 2021
9 // email : nicholas.andrew.luongo@cern.ch
10 //***********************************************************************
11 
12 #ifndef eFEXFORMTOBS_H
13 #define eFEXFORMTOBS_H
14 
17 
18 namespace LVL1 {
19 
20  //Doxygen class description below:
24  class eFEXFormTOBs : public AthAlgTool, virtual public IeFEXFormTOBs {
25 
26  public:
28  eFEXFormTOBs(const std::string& type, const std::string& name, const IInterface* parent);
29 
31  virtual StatusCode initialize() override;
33  virtual ~eFEXFormTOBs();
34 
35 
36  uint32_t doFormTauTOBWord(int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const;
37  virtual uint32_t formTauTOBWord(int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const override;
38  virtual std::vector<uint32_t> formTauxTOBWords(int, int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const override;
39 
40  std::vector<uint32_t> doFormTauxTOBWords(int, int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const;
41  virtual uint32_t formTauBDTTOBWord(int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const override;
42  virtual std::vector<uint32_t> formTauBDTxTOBWords(int, int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const override;
43 
44  virtual uint32_t formEmTOBWord(int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const override;
45  virtual std::vector<uint32_t> formEmxTOBWords(int, int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const override;
46 
48  private:
49  const unsigned int m_tobETshift = 2;
50  const unsigned int m_fpgaShift = 30;
51  const unsigned int m_etaShift = 27;
52  const unsigned int m_phiShift = 24;
53  const unsigned int m_rhadShift = 22;
54  const unsigned int m_wstotShift = 20;
55  const unsigned int m_retaShift = 18;
56  const unsigned int m_seedShift = 16;
57  const unsigned int m_undShift = 15;
58  const unsigned int m_seedMaxShift = 14;
59  const unsigned int m_shelfShift = 24;
60  const unsigned int m_efexShift = 20;
61  const unsigned int m_taurhadShift = 20;
62  const unsigned int m_taurcoreShift = 18;
63  const unsigned int m_tauAlgoVersionShift= 12;
64 
65  };
66 
67 } // end of namespace
68 
69 CLASS_DEF( LVL1::eFEXFormTOBs , 261506707 , 1 )
70 
71 #endif
LVL1::eFEXFormTOBs::m_seedShift
const unsigned int m_seedShift
Definition: eFEXFormTOBs.h:56
LVL1::eFEXFormTOBs::m_taurcoreShift
const unsigned int m_taurcoreShift
Definition: eFEXFormTOBs.h:62
LVL1::eFEXFormTOBs::m_shelfShift
const unsigned int m_shelfShift
Definition: eFEXFormTOBs.h:59
LVL1::eFEXFormTOBs::eFEXFormTOBs
eFEXFormTOBs(const std::string &type, const std::string &name, const IInterface *parent)
Constructors.
Definition: eFEXFormTOBs.cxx:18
LVL1::eFEXFormTOBs::m_taurhadShift
const unsigned int m_taurhadShift
Definition: eFEXFormTOBs.h:61
LVL1::eFEXFormTOBs::m_tobETshift
const unsigned int m_tobETshift
Internal data.
Definition: eFEXFormTOBs.h:49
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LVL1::eFEXFormTOBs::formTauxTOBWords
virtual std::vector< uint32_t > formTauxTOBWords(int, int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const override
Definition: eFEXFormTOBs.cxx:91
LVL1::eFEXFormTOBs::doFormTauTOBWord
uint32_t doFormTauTOBWord(int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const
Definition: eFEXFormTOBs.cxx:34
LVL1::eFEXFormTOBs::formEmxTOBWords
virtual std::vector< uint32_t > formEmxTOBWords(int, int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const override
Definition: eFEXFormTOBs.cxx:135
LVL1::eFEXFormTOBs::m_undShift
const unsigned int m_undShift
Definition: eFEXFormTOBs.h:57
LVL1::eFEXFormTOBs::m_efexShift
const unsigned int m_efexShift
Definition: eFEXFormTOBs.h:60
LVL1::eFEXFormTOBs::m_rhadShift
const unsigned int m_rhadShift
Definition: eFEXFormTOBs.h:53
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::eFEXFormTOBs::m_tauAlgoVersionShift
const unsigned int m_tauAlgoVersionShift
Definition: eFEXFormTOBs.h:63
LVL1::eFEXFormTOBs::m_phiShift
const unsigned int m_phiShift
Definition: eFEXFormTOBs.h:52
LVL1::eFEXFormTOBs::doFormTauxTOBWords
std::vector< uint32_t > doFormTauxTOBWords(int, int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const
Definition: eFEXFormTOBs.cxx:68
LVL1::eFEXFormTOBs::initialize
virtual StatusCode initialize() override
standard Athena-Algorithm method
Definition: eFEXFormTOBs.cxx:29
LVL1::eFEXFormTOBs::formTauBDTxTOBWords
virtual std::vector< uint32_t > formTauBDTxTOBWords(int, int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const override
Definition: eFEXFormTOBs.cxx:100
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LVL1::IeFEXFormTOBs
Definition: IeFEXFormTOBs.h:25
LVL1::eFEXFormTOBs::formTauBDTTOBWord
virtual uint32_t formTauBDTTOBWord(int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const override
Definition: eFEXFormTOBs.cxx:61
LVL1::eFEXFormTOBs
The eFEXFormTOBs class provides functions for creating TOBs for eFEX objects.
Definition: eFEXFormTOBs.h:24
TrigConf::name
Definition: HLTChainList.h:35
LVL1::eFEXFormTOBs::~eFEXFormTOBs
virtual ~eFEXFormTOBs()
Destructor.
Definition: eFEXFormTOBs.cxx:25
LVL1::eFEXFormTOBs::m_fpgaShift
const unsigned int m_fpgaShift
Definition: eFEXFormTOBs.h:50
LVL1::eFEXFormTOBs::m_etaShift
const unsigned int m_etaShift
Definition: eFEXFormTOBs.h:51
LVL1::eFEXFormTOBs::formEmTOBWord
virtual uint32_t formEmTOBWord(int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const override
Definition: eFEXFormTOBs.cxx:112
LVL1::eFEXFormTOBs::m_seedMaxShift
const unsigned int m_seedMaxShift
Definition: eFEXFormTOBs.h:58
IeFEXFormTOBs.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
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::eFEXFormTOBs::m_retaShift
const unsigned int m_retaShift
Definition: eFEXFormTOBs.h:55
AthAlgTool
Definition: AthAlgTool.h:26
LVL1::eFEXFormTOBs::m_wstotShift
const unsigned int m_wstotShift
Definition: eFEXFormTOBs.h:54
LVL1::eFEXFormTOBs::formTauTOBWord
virtual uint32_t formTauTOBWord(int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const override
Definition: eFEXFormTOBs.cxx:54