#include <gXETOB.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 |
Definition at line 13 of file gXETOB.h.
◆ gXETOB() [1/3]
Definition at line 8 of file gXETOB.cxx.
9{}
BaseTOB(uint32_t roiWord, const std::string &tobType)
◆ gXETOB() [2/3]
Definition at line 12 of file gXETOB.cxx.
17{}
float et(const xAOD::jFexSRJetRoI *j)
inputTOBType_t tobType() const
◆ gXETOB() [3/3]
| TCS::gXETOB::gXETOB |
( |
const gXETOB & | gxe | ) |
|
|
default |
◆ ~gXETOB()
◆ clearHeap()
| void TCS::gXETOB::clearHeap |
( |
| ) |
|
|
static |
Definition at line 33 of file gXETOB.cxx.
33 {
35}
static thread_local Heap< TCS::gXETOB > fg_heap
◆ createOnHeap()
◆ Et()
| unsigned int TCS::gXETOB::Et |
( |
| ) |
const |
|
inline |
◆ Et2()
| unsigned int TCS::gXETOB::Et2 |
( |
| ) |
const |
|
inline |
◆ EtDouble()
| double TCS::gXETOB::EtDouble |
( |
| ) |
const |
|
inline |
◆ Ex()
| int TCS::gXETOB::Ex |
( |
| ) |
const |
|
inline |
◆ ExDouble()
| double TCS::gXETOB::ExDouble |
( |
| ) |
const |
|
inline |
◆ Ey()
| int TCS::gXETOB::Ey |
( |
| ) |
const |
|
inline |
◆ EyDouble()
| double TCS::gXETOB::EyDouble |
( |
| ) |
const |
|
inline |
◆ heap()
◆ instances()
| size_t TCS::BaseTOB::instances |
( |
| ) |
|
|
inlinestaticinherited |
◆ print()
| void TCS::gXETOB::print |
( |
std::ostream & | o | ) |
const |
|
virtual |
◆ roiWord()
| uint32_t TCS::BaseTOB::roiWord |
( |
| ) |
const |
|
inlineinherited |
◆ setEt()
| void TCS::gXETOB::setEt |
( |
unsigned int | et | ) |
|
|
inline |
◆ setEt2()
| void TCS::gXETOB::setEt2 |
( |
unsigned long long | et2 | ) |
|
|
inline |
◆ setEtDouble()
| void TCS::gXETOB::setEtDouble |
( |
double | et | ) |
|
|
inline |
◆ setEx()
| void TCS::gXETOB::setEx |
( |
int | ex | ) |
|
|
inline |
◆ setExDouble()
| void TCS::gXETOB::setExDouble |
( |
double | ex | ) |
|
|
inline |
◆ setEy()
| void TCS::gXETOB::setEy |
( |
int | ey | ) |
|
|
inline |
◆ setEyDouble()
| void TCS::gXETOB::setEyDouble |
( |
double | ey | ) |
|
|
inline |
◆ setTobType()
◆ 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()
◆ fg_heap
◆ m_Et
| unsigned int TCS::gXETOB::m_Et {0} |
|
private |
◆ m_Et2
| unsigned long long TCS::gXETOB::m_Et2 {0} |
|
private |
◆ m_EtDouble
| double TCS::gXETOB::m_EtDouble {0} |
|
private |
◆ m_Ex
| int TCS::gXETOB::m_Ex {0} |
|
private |
◆ m_ExDouble
| double TCS::gXETOB::m_ExDouble {0} |
|
private |
◆ m_Ey
| int TCS::gXETOB::m_Ey {0} |
|
private |
◆ m_EyDouble
| double TCS::gXETOB::m_EyDouble {0} |
|
private |
◆ m_roiWord
| uint32_t TCS::BaseTOB::m_roiWord |
|
privateinherited |
◆ m_tobName
| std::string TCS::BaseTOB::m_tobName |
|
privateinherited |
◆ m_tobType
The documentation for this class was generated from the following files: