#include <JetTOB.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 JetTOB.h.
◆ JetSize
◆ JetTOB() [1/3]
| TCS::JetTOB::JetTOB |
( |
uint32_t | roiWord = 0, |
|
|
const std::string & | tobName = "JetTOB" ) |
Definition at line 9 of file JetTOB.cxx.
9 :
11{}
const std::string & tobName() const
BaseTOB(uint32_t roiWord, const std::string &tobType)
◆ JetTOB() [2/3]
| TCS::JetTOB::JetTOB |
( |
const JetTOB & | jet | ) |
|
|
default |
◆ JetTOB() [3/3]
| TCS::JetTOB::JetTOB |
( |
unsigned int | Et1, |
|
|
unsigned int | Et2, |
|
|
int | eta, |
|
|
int | phi, |
|
|
uint32_t | roiWord = 0, |
|
|
const std::string & | tobName = "JetTOB" ) |
◆ ~JetTOB()
◆ clearHeap()
| void TCS::JetTOB::clearHeap |
( |
| ) |
|
|
static |
Definition at line 37 of file JetTOB.cxx.
37 {
39}
static thread_local Heap< TCS::JetTOB > fg_heap
◆ createOnHeap()
◆ energy()
| int TCS::JetTOB::energy |
( |
JetSize | js | ) |
const |
|
inline |
◆ Et()
| int TCS::JetTOB::Et |
( |
JetSize | js | ) |
const |
|
inline |
◆ Et1()
| unsigned int TCS::JetTOB::Et1 |
( |
| ) |
const |
|
inline |
◆ Et1Double()
| double TCS::JetTOB::Et1Double |
( |
| ) |
const |
|
inline |
◆ Et2()
| unsigned int TCS::JetTOB::Et2 |
( |
| ) |
const |
|
inline |
◆ Et2Double()
| double TCS::JetTOB::Et2Double |
( |
| ) |
const |
|
inline |
◆ eta()
| int TCS::JetTOB::eta |
( |
| ) |
const |
|
inline |
◆ etaDouble()
| double TCS::JetTOB::etaDouble |
( |
| ) |
const |
|
inline |
◆ EtDouble()
| double TCS::JetTOB::EtDouble |
( |
JetSize | js | ) |
const |
|
inline |
◆ EtNarrow()
| unsigned int TCS::JetTOB::EtNarrow |
( |
| ) |
const |
|
inline |
◆ EtWide()
| unsigned int TCS::JetTOB::EtWide |
( |
| ) |
const |
|
inline |
◆ heap()
◆ instances()
| size_t TCS::BaseTOB::instances |
( |
| ) |
|
|
inlinestaticinherited |
◆ phi()
| int TCS::JetTOB::phi |
( |
| ) |
const |
|
inline |
◆ phiDouble()
| double TCS::JetTOB::phiDouble |
( |
| ) |
const |
|
inline |
◆ print()
| void TCS::JetTOB::print |
( |
std::ostream & | o | ) |
const |
|
privatevirtual |
Implements TCS::BaseTOB.
Definition at line 42 of file JetTOB.cxx.
42 {
43 o <<
"jet energy wide window: " <<
Et1() <<
", narrow window: " <<
Et2() <<
", eta: " <<
eta() <<
", phi: " <<
phi();
44}
◆ roiWord()
| uint32_t TCS::BaseTOB::roiWord |
( |
| ) |
const |
|
inlineinherited |
◆ setEt1()
| void TCS::JetTOB::setEt1 |
( |
int | energy | ) |
|
|
inline |
Definition at line 54 of file JetTOB.h.
int energy(JetSize js) const
◆ setEt2()
| void TCS::JetTOB::setEt2 |
( |
int | energy | ) |
|
|
inline |
◆ setEta()
| void TCS::JetTOB::setEta |
( |
int | eta | ) |
|
|
inline |
◆ setEtaDouble()
| void TCS::JetTOB::setEtaDouble |
( |
double | eta | ) |
|
|
inline |
◆ setEtNarrow()
| void TCS::JetTOB::setEtNarrow |
( |
int | energy | ) |
|
|
inline |
◆ setEtNarrowDouble()
| void TCS::JetTOB::setEtNarrowDouble |
( |
double | et | ) |
|
|
inline |
Definition at line 62 of file JetTOB.h.
float et(const xAOD::jFexSRJetRoI *j)
◆ setEtWide()
| void TCS::JetTOB::setEtWide |
( |
int | energy | ) |
|
|
inline |
◆ setEtWideDouble()
| void TCS::JetTOB::setEtWideDouble |
( |
double | et | ) |
|
|
inline |
◆ setPhi()
| void TCS::JetTOB::setPhi |
( |
int | phi | ) |
|
|
inline |
◆ setPhiDouble()
| void TCS::JetTOB::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::JetTOB::g_nBitsEt |
|
staticprivate |
◆ g_nBitsEta
| const unsigned int TCS::JetTOB::g_nBitsEta |
|
staticprivate |
◆ g_nBitsIsolation
| const unsigned int TCS::JetTOB::g_nBitsIsolation |
|
staticprivate |
◆ g_nBitsPhi
| const unsigned int TCS::JetTOB::g_nBitsPhi |
|
staticprivate |
◆ m_Et1
| unsigned int TCS::JetTOB::m_Et1 { 0 } |
|
private |
◆ m_Et1Double
| double TCS::JetTOB::m_Et1Double { 0 } |
|
private |
◆ m_Et2
| unsigned int TCS::JetTOB::m_Et2 { 0 } |
|
private |
◆ m_Et2Double
| double TCS::JetTOB::m_Et2Double { 0 } |
|
private |
◆ m_eta
| int TCS::JetTOB::m_eta { 0 } |
|
private |
◆ m_etaDouble
| double TCS::JetTOB::m_etaDouble { 0 } |
|
private |
◆ m_phi
| int TCS::JetTOB::m_phi { 0 } |
|
private |
◆ m_phiDouble
| double TCS::JetTOB::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: