#include <gJetTOB.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 |
|
| virtual void | print (std::ostream &o) const |
Definition at line 18 of file gJetTOB.h.
◆ gJetTOB() [1/3]
| TCS::gJetTOB::gJetTOB |
( |
uint32_t | roiWord = 0, |
|
|
const std::string & | tobName = "gJetTOB" ) |
Definition at line 9 of file gJetTOB.cxx.
9 :
11{}
const std::string & tobName() const
BaseTOB(uint32_t roiWord, const std::string &tobType)
◆ gJetTOB() [2/3]
| TCS::gJetTOB::gJetTOB |
( |
const gJetTOB & | jet | ) |
|
|
default |
◆ gJetTOB() [3/3]
| TCS::gJetTOB::gJetTOB |
( |
unsigned int | Et, |
|
|
int | eta, |
|
|
unsigned | phi, |
|
|
uint32_t | roiWord = 0, |
|
|
const std::string & | tobName = "gJetTOB" ) |
◆ ~gJetTOB()
| TCS::gJetTOB::~gJetTOB |
( |
| ) |
|
|
virtualdefault |
◆ clearHeap()
| void TCS::gJetTOB::clearHeap |
( |
| ) |
|
|
static |
Definition at line 35 of file gJetTOB.cxx.
35 {
37}
static thread_local Heap< TCS::gJetTOB > fg_heap
◆ createOnHeap()
◆ energy()
| unsigned int TCS::gJetTOB::energy |
( |
| ) |
const |
|
inline |
◆ Et()
| unsigned int TCS::gJetTOB::Et |
( |
| ) |
const |
|
inline |
◆ eta()
| int TCS::gJetTOB::eta |
( |
| ) |
const |
|
inline |
◆ etaDouble()
| double TCS::gJetTOB::etaDouble |
( |
| ) |
const |
|
inline |
◆ EtDouble()
| double TCS::gJetTOB::EtDouble |
( |
| ) |
const |
|
inline |
◆ heap()
◆ instances()
| size_t TCS::BaseTOB::instances |
( |
| ) |
|
|
inlinestaticinherited |
◆ phi()
| unsigned TCS::gJetTOB::phi |
( |
| ) |
const |
|
inline |
◆ phiDouble()
| double TCS::gJetTOB::phiDouble |
( |
| ) |
const |
|
inline |
◆ print()
| void TCS::gJetTOB::print |
( |
std::ostream & | o | ) |
const |
|
privatevirtual |
◆ roiWord()
| uint32_t TCS::BaseTOB::roiWord |
( |
| ) |
const |
|
inlineinherited |
◆ setEt()
| void TCS::gJetTOB::setEt |
( |
int | energy | ) |
|
|
inline |
Definition at line 46 of file gJetTOB.h.
unsigned int energy() const
◆ setEta()
| void TCS::gJetTOB::setEta |
( |
int | eta | ) |
|
|
inline |
◆ setEtaDouble()
| void TCS::gJetTOB::setEtaDouble |
( |
double | eta | ) |
|
|
inline |
◆ setEtDouble()
| void TCS::gJetTOB::setEtDouble |
( |
double | et | ) |
|
|
inline |
Definition at line 50 of file gJetTOB.h.
float et(const xAOD::jFexSRJetRoI *j)
◆ setPhi()
| void TCS::gJetTOB::setPhi |
( |
int | phi | ) |
|
|
inline |
◆ setPhiDouble()
| void TCS::gJetTOB::setPhiDouble |
( |
double | phi | ) |
|
|
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()
◆ fg_heap
◆ g_nBitsEt
| const unsigned int TCS::gJetTOB::g_nBitsEt |
|
staticprivate |
◆ g_nBitsEta
| const unsigned int TCS::gJetTOB::g_nBitsEta |
|
staticprivate |
◆ g_nBitsIsolation
| const unsigned int TCS::gJetTOB::g_nBitsIsolation |
|
staticprivate |
◆ g_nBitsPhi
| const unsigned int TCS::gJetTOB::g_nBitsPhi |
|
staticprivate |
◆ m_Et
| unsigned int TCS::gJetTOB::m_Et { 0 } |
|
private |
◆ m_eta
| int TCS::gJetTOB::m_eta { 0 } |
|
private |
◆ m_etaDouble
| double TCS::gJetTOB::m_etaDouble { 0 } |
|
private |
◆ m_EtDouble
| double TCS::gJetTOB::m_EtDouble { 0 } |
|
private |
◆ m_phi
| unsigned TCS::gJetTOB::m_phi { 0 } |
|
private |
◆ m_phiDouble
| double TCS::gJetTOB::m_phiDouble { 0 } |
|
private |
◆ m_roiWord
| uint32_t TCS::BaseTOB::m_roiWord |
|
privateinherited |
◆ m_tobName
| std::string TCS::BaseTOB::m_tobName |
|
privateinherited |
The documentation for this class was generated from the following files: