ATLAS Offline Software
Loading...
Searching...
No Matches
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
16
17namespace LVL1 {
18
19 //Doxygen class description below:
22 static const InterfaceID IID_IeFEXFormTOBs("LVL1::eFEXFormTOBs", 1, 0);
23
24 class eFEXFormTOBs : public AthAlgTool {
25
26 public:
27 static const InterfaceID& interfaceID() { return IID_IeFEXFormTOBs; };
28
30 eFEXFormTOBs(const std::string& type, const std::string& name, const IInterface* parent);
31
33 virtual StatusCode initialize();
35 virtual ~eFEXFormTOBs();
36
37
38 virtual uint32_t formTauTOBWord(int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const;
39 virtual std::vector<uint32_t> formTauxTOBWords(int, int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const;
40
41 virtual uint32_t formEmTOBWord(int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const;
42 virtual std::vector<uint32_t> formEmxTOBWords(int, int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const;
43
45 private:
46 const unsigned int m_tobETshift = 2;
47 const unsigned int m_fpgaShift = 30;
48 const unsigned int m_etaShift = 27;
49 const unsigned int m_phiShift = 24;
50 const unsigned int m_rhadShift = 22;
51 const unsigned int m_wstotShift = 20;
52 const unsigned int m_retaShift = 18;
53 const unsigned int m_seedShift = 16;
54 const unsigned int m_undShift = 15;
55 const unsigned int m_seedMaxShift = 14;
56 const unsigned int m_shelfShift = 24;
57 const unsigned int m_efexShift = 20;
58 const unsigned int m_taurhadShift = 20;
59 const unsigned int m_taurcoreShift = 18;
60 const unsigned int m_algoVersionShift= 12;
61
62 };
63
64} // end of namespace
65
66CLASS_DEF( LVL1::eFEXFormTOBs , 261506707 , 1 )
67
68#endif
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
const unsigned int m_taurcoreShift
virtual uint32_t formEmTOBWord(int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const
const unsigned int m_seedShift
const unsigned int m_fpgaShift
virtual ~eFEXFormTOBs()
Destructor.
const unsigned int m_etaShift
const unsigned int m_shelfShift
const unsigned int m_wstotShift
const unsigned int m_efexShift
const unsigned int m_algoVersionShift
virtual std::vector< uint32_t > formTauxTOBWords(int, int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const
const unsigned int m_tobETshift
Internal data.
const unsigned int m_rhadShift
const unsigned int m_phiShift
eFEXFormTOBs(const std::string &type, const std::string &name, const IInterface *parent)
Constructors.
virtual uint32_t formTauTOBWord(int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const
static const InterfaceID & interfaceID()
const unsigned int m_taurhadShift
const unsigned int m_retaShift
const unsigned int m_undShift
virtual StatusCode initialize()
standard Athena-Algorithm method
const unsigned int m_seedMaxShift
virtual std::vector< uint32_t > formEmxTOBWords(int, int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) const
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
static const InterfaceID IID_IeFEXFormTOBs("LVL1::eFEXFormTOBs", 1, 0)
The eFEXFormTOBs class provides functions for creating TOBs for eFEX objects.