#include <eEmTOB.h>
|
| int | sizeCheck (int value, unsigned int size) const |
| unsigned int | sizeCheck (unsigned int value, unsigned int size) const |
| int | sizeCheckM (int value, unsigned int size) const |
◆ eEmTOB() [1/3]
| TCS::eEmTOB::eEmTOB |
( |
uint32_t | roiWord = 0, |
|
|
const std::string & | tobName = "eEmTOB" ) |
◆ eEmTOB() [2/3]
| TCS::eEmTOB::eEmTOB |
( |
unsigned int | et, |
|
|
int | eta, |
|
|
unsigned int | phi, |
|
|
inputTOBType_t | tobType = NONE, |
|
|
uint32_t | roiWord = 0, |
|
|
const std::string & | tobName = "eEmTOB" ) |
Definition at line 17 of file L1Topo/L1TopoEvent/Root/eEmTOB.cxx.
17 :
23{}
float et(const xAOD::jFexSRJetRoI *j)
int sizeCheck(int value, unsigned int size) const
static unsigned int nBitsEta()
inputTOBType_t tobType() const
static unsigned int nBitsEt()
static unsigned int nBitsPhi()
◆ eEmTOB() [3/3]
| TCS::eEmTOB::eEmTOB |
( |
const eEmTOB & | eem | ) |
|
|
default |
◆ ~eEmTOB()
◆ clearHeap()
| void TCS::eEmTOB::clearHeap |
( |
| ) |
|
|
static |
◆ createOnHeap()
◆ Et()
| unsigned int TCS::eEmTOB::Et |
( |
| ) |
const |
|
inline |
◆ eta()
| int TCS::eEmTOB::eta |
( |
| ) |
const |
|
inline |
◆ etaDouble()
| double TCS::eEmTOB::etaDouble |
( |
| ) |
const |
|
inline |
◆ EtDouble()
| double TCS::eEmTOB::EtDouble |
( |
| ) |
const |
|
inline |
◆ heap()
◆ instances()
| size_t TCS::BaseTOB::instances |
( |
| ) |
|
|
inlinestaticinherited |
◆ nBitsEt()
| unsigned int TCS::eEmTOB::nBitsEt |
( |
| ) |
|
|
inlinestatic |
◆ nBitsEta()
| unsigned int TCS::eEmTOB::nBitsEta |
( |
| ) |
|
|
inlinestatic |
◆ nBitsPhi()
| unsigned int TCS::eEmTOB::nBitsPhi |
( |
| ) |
|
|
inlinestatic |
◆ phi()
| unsigned int TCS::eEmTOB::phi |
( |
| ) |
const |
|
inline |
◆ phiDouble()
| double TCS::eEmTOB::phiDouble |
( |
| ) |
const |
|
inline |
◆ print()
| void TCS::eEmTOB::print |
( |
std::ostream & | o | ) |
const |
|
virtual |
◆ Reta()
| unsigned int TCS::eEmTOB::Reta |
( |
| ) |
const |
|
inline |
◆ Rhad()
| unsigned int TCS::eEmTOB::Rhad |
( |
| ) |
const |
|
inline |
◆ roiWord()
| uint32_t TCS::BaseTOB::roiWord |
( |
| ) |
const |
|
inlineinherited |
◆ setEt()
| void TCS::eEmTOB::setEt |
( |
unsigned int | et | ) |
|
|
inline |
◆ setEta()
| void TCS::eEmTOB::setEta |
( |
int | eta | ) |
|
|
inline |
◆ setEtaDouble()
| void TCS::eEmTOB::setEtaDouble |
( |
double | eta | ) |
|
|
inline |
◆ setEtDouble()
| void TCS::eEmTOB::setEtDouble |
( |
double | et | ) |
|
|
inline |
◆ setPhi()
| void TCS::eEmTOB::setPhi |
( |
unsigned int | phi | ) |
|
|
inline |
◆ setPhiDouble()
| void TCS::eEmTOB::setPhiDouble |
( |
double | phi | ) |
|
|
inline |
◆ setReta()
| void TCS::eEmTOB::setReta |
( |
unsigned int | th | ) |
|
|
inline |
◆ setRhad()
| void TCS::eEmTOB::setRhad |
( |
unsigned int | th | ) |
|
|
inline |
◆ setTobType()
◆ setWstot()
| void TCS::eEmTOB::setWstot |
( |
unsigned int | th | ) |
|
|
inline |
◆ sizeCheck() [1/2]
| int TCS::BaseTOB::sizeCheck |
( |
int | value, |
|
|
unsigned int | size ) const |
|
protectedinherited |
Definition at line 32 of file BaseTOB.cxx.
33{
34 int max(0x1 << (size-1));
37 if(value>
max || value<
min) {
38 TCS_EXCEPTION(
"Integer value " << value <<
" outside firmware specifications. Maximum number of bits is " << size <<
" -> range ["<<
min<<
" - "<<
max<<
"]" <<
", for " <<
m_tobName);
39 }
41}
#define TCS_EXCEPTION(MSG)
◆ sizeCheck() [2/2]
| unsigned int TCS::BaseTOB::sizeCheck |
( |
unsigned int | value, |
|
|
unsigned int | size ) const |
|
protectedinherited |
Definition at line 44 of file BaseTOB.cxx.
45{
46 unsigned int max( (0x1 << size)-1 );
48 TCS_EXCEPTION(
"Unsigned integer value " << value <<
" outside firmware specifications. Maximum number of bits is " << size <<
" -> range [0"<<
" - "<<
max<<
"]" <<
", for " <<
m_tobName);
49 }
51}
◆ sizeCheckM()
| int TCS::BaseTOB::sizeCheckM |
( |
int | value, |
|
|
unsigned int | size ) const |
|
protectedinherited |
Definition at line 19 of file BaseTOB.cxx.
20{
21 int max(0x1 << (size-1));
24 if( (-value)>
max || (-value)<
min) {
25 TCS_EXCEPTION(
"Integer value " << -value <<
" outside firmware specifications. Maximum number of bits is " << size <<
" -> range ["<<
min<<
" - "<<
max<<
"]" <<
", for " <<
m_tobName);
26 }
28}
◆ tobName()
| const std::string & TCS::BaseTOB::tobName |
( |
| ) |
const |
|
inlineinherited |
◆ tobType()
◆ Wstot()
| unsigned int TCS::eEmTOB::Wstot |
( |
| ) |
const |
|
inline |
◆ fg_heap
◆ g_nBitsEt
| const unsigned int TCS::eEmTOB::g_nBitsEt = 13 |
|
staticprivate |
◆ g_nBitsEta
| const unsigned int TCS::eEmTOB::g_nBitsEta = 9 |
|
staticprivate |
◆ g_nBitsPhi
| const unsigned int TCS::eEmTOB::g_nBitsPhi = 7 |
|
staticprivate |
◆ m_Et
| unsigned int TCS::eEmTOB::m_Et {0} |
|
private |
◆ m_eta
| int TCS::eEmTOB::m_eta {0} |
|
private |
◆ m_etaDouble
| double TCS::eEmTOB::m_etaDouble {0} |
|
private |
◆ m_EtDouble
| double TCS::eEmTOB::m_EtDouble {0} |
|
private |
◆ m_phi
| unsigned int TCS::eEmTOB::m_phi {0} |
|
private |
◆ m_phiDouble
| double TCS::eEmTOB::m_phiDouble {0} |
|
private |
◆ m_reta
| unsigned int TCS::eEmTOB::m_reta {0} |
|
private |
◆ m_rhad
| unsigned int TCS::eEmTOB::m_rhad {0} |
|
private |
◆ m_roiWord
| uint32_t TCS::BaseTOB::m_roiWord |
|
privateinherited |
◆ m_tobName
| std::string TCS::BaseTOB::m_tobName |
|
privateinherited |
◆ m_tobType
◆ m_wstot
| unsigned int TCS::eEmTOB::m_wstot {0} |
|
private |
The documentation for this class was generated from the following files: