ATLAS Offline Software
Loading...
Searching...
No Matches
jFEXTOB.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// jFEXTOB - TOBs info in jFEX
6// -------------------
7// begin : 18 02 2021
8// email : Sergi.Rodriguez@cern.ch
9//***************************************************************************
10
11
12#ifndef JFEX_TOB_H
13#define JFEX_TOB_H
15
16namespace LVL1 {
17 class jFEXTOB
18 {
19
20 public:
21 jFEXTOB();
23
24 void initialize(uint8_t , uint8_t , uint32_t , uint , uint , int = -1 );
25
26 void setFpga(uint8_t x){m_fpga = x;};
27 void setjFex(uint8_t x){m_jfex = x;};
28 void setWord(uint32_t x){m_word = x;};
29 void setRes (uint x){m_res = x;};
30 void setTTID(uint x){m_ttid = x;};
31 void setSeedEt(int x){m_seedEt = x;};
32
33 uint8_t getFpga() {return m_fpga;};
34 uint8_t getjFex() {return m_jfex;};
35 uint32_t getWord() {return m_word;};
36 uint getRes() {return m_res; };
37 uint getTTID() {return m_ttid;};
38 int getSeedEt(){return m_seedEt;};
39
40 private:
41 uint8_t m_fpga;
42 uint8_t m_jfex;
43 uint32_t m_word;
47
48
49 };
50
51
52} //end of namespace
53
54CLASS_DEF( LVL1::jFEXTOB , 133374173 , 1 )
55#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
unsigned int uint
#define x
void setjFex(uint8_t x)
Definition jFEXTOB.h:27
uint8_t getjFex()
Definition jFEXTOB.h:34
uint32_t m_word
Definition jFEXTOB.h:43
uint getRes()
Definition jFEXTOB.h:36
uint8_t m_fpga
Definition jFEXTOB.h:41
void setWord(uint32_t x)
Definition jFEXTOB.h:28
uint32_t getWord()
Definition jFEXTOB.h:35
void setFpga(uint8_t x)
Definition jFEXTOB.h:26
void setRes(uint x)
Definition jFEXTOB.h:29
uint m_ttid
Definition jFEXTOB.h:45
void setTTID(uint x)
Definition jFEXTOB.h:30
void setSeedEt(int x)
Definition jFEXTOB.h:31
uint8_t m_jfex
Definition jFEXTOB.h:42
uint8_t getFpga()
Definition jFEXTOB.h:33
uint getTTID()
Definition jFEXTOB.h:37
int getSeedEt()
Definition jFEXTOB.h:38
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
void initialize()