#include <cTauTOB.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 cTauTOB.h.
◆ cTauTOB() [1/3]
| TCS::cTauTOB::cTauTOB |
( |
uint32_t | roiWord = 0, |
|
|
const std::string & | tobName = "cTauTOB" ) |
Definition at line 12 of file cTauTOB.cxx.
12 :
14{}
const std::string & tobName() const
BaseTOB(uint32_t roiWord, const std::string &tobType)
◆ cTauTOB() [2/3]
| TCS::cTauTOB::cTauTOB |
( |
unsigned int | et, |
|
|
int | eta, |
|
|
unsigned int | phi, |
|
|
inputTOBType_t | tobType = NONE, |
|
|
uint32_t | roiWord = 0, |
|
|
const std::string & | tobName = "cTauTOB" ) |
Definition at line 17 of file cTauTOB.cxx.
17 :
23{}
float et(const xAOD::jFexSRJetRoI *j)
inputTOBType_t tobType() const
◆ cTauTOB() [3/3]
| TCS::cTauTOB::cTauTOB |
( |
const cTauTOB & | ctau | ) |
|
|
default |
◆ ~cTauTOB()
| TCS::cTauTOB::~cTauTOB |
( |
| ) |
|
|
virtualdefault |
◆ clearHeap()
| void TCS::cTauTOB::clearHeap |
( |
| ) |
|
|
static |
Definition at line 38 of file cTauTOB.cxx.
38 {
40}
static thread_local Heap< TCS::cTauTOB > fg_heap
◆ createOnHeap()
◆ Et()
| unsigned int TCS::cTauTOB::Et |
( |
| ) |
const |
|
inline |
◆ eta()
| int TCS::cTauTOB::eta |
( |
| ) |
const |
|
inline |
◆ etaDouble()
| double TCS::cTauTOB::etaDouble |
( |
| ) |
const |
|
inline |
◆ EtDouble()
| double TCS::cTauTOB::EtDouble |
( |
| ) |
const |
|
inline |
◆ EtIso()
| unsigned int TCS::cTauTOB::EtIso |
( |
| ) |
const |
|
inline |
◆ heap()
◆ instances()
| size_t TCS::BaseTOB::instances |
( |
| ) |
|
|
inlinestaticinherited |
◆ nBitsEt()
| unsigned int TCS::cTauTOB::nBitsEt |
( |
| ) |
|
|
inlinestatic |
Definition at line 16 of file cTauTOB.h.
static const unsigned int g_nBitsEt
◆ nBitsEta()
| unsigned int TCS::cTauTOB::nBitsEta |
( |
| ) |
|
|
inlinestatic |
Definition at line 17 of file cTauTOB.h.
static const unsigned int g_nBitsEta
◆ nBitsPhi()
| unsigned int TCS::cTauTOB::nBitsPhi |
( |
| ) |
|
|
inlinestatic |
Definition at line 18 of file cTauTOB.h.
static const unsigned int g_nBitsPhi
◆ phi()
| unsigned int TCS::cTauTOB::phi |
( |
| ) |
const |
|
inline |
◆ phiDouble()
| double TCS::cTauTOB::phiDouble |
( |
| ) |
const |
|
inline |
◆ print()
| void TCS::cTauTOB::print |
( |
std::ostream & | o | ) |
const |
|
virtual |
◆ RCore()
| unsigned int TCS::cTauTOB::RCore |
( |
| ) |
const |
|
inline |
◆ RHad()
| unsigned int TCS::cTauTOB::RHad |
( |
| ) |
const |
|
inline |
◆ roiWord()
| uint32_t TCS::BaseTOB::roiWord |
( |
| ) |
const |
|
inlineinherited |
◆ setEt()
| void TCS::cTauTOB::setEt |
( |
unsigned int | et | ) |
|
|
inline |
Definition at line 47 of file cTauTOB.h.
int sizeCheck(int value, unsigned int size) const
static unsigned int nBitsEt()
◆ setEta()
| void TCS::cTauTOB::setEta |
( |
int | eta | ) |
|
|
inline |
Definition at line 48 of file cTauTOB.h.
static unsigned int nBitsEta()
◆ setEtaDouble()
| void TCS::cTauTOB::setEtaDouble |
( |
double | eta | ) |
|
|
inline |
◆ setEtDouble()
| void TCS::cTauTOB::setEtDouble |
( |
double | et | ) |
|
|
inline |
◆ setEtIso()
| void TCS::cTauTOB::setEtIso |
( |
unsigned int | etIso | ) |
|
|
inline |
◆ setPhi()
| void TCS::cTauTOB::setPhi |
( |
unsigned int | phi | ) |
|
|
inline |
Definition at line 49 of file cTauTOB.h.
static unsigned int nBitsPhi()
◆ setPhiDouble()
| void TCS::cTauTOB::setPhiDouble |
( |
double | phi | ) |
|
|
inline |
◆ setRCore()
| void TCS::cTauTOB::setRCore |
( |
unsigned int | rCore | ) |
|
|
inline |
◆ setRHad()
| void TCS::cTauTOB::setRHad |
( |
unsigned int | rHad | ) |
|
|
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
◆ g_nBitsEt
| const unsigned int TCS::cTauTOB::g_nBitsEt = 13 |
|
staticprivate |
◆ g_nBitsEta
| const unsigned int TCS::cTauTOB::g_nBitsEta = 9 |
|
staticprivate |
◆ g_nBitsIsolation
| const unsigned int TCS::cTauTOB::g_nBitsIsolation |
|
staticprivate |
◆ g_nBitsPhi
| const unsigned int TCS::cTauTOB::g_nBitsPhi = 7 |
|
staticprivate |
◆ m_Et
| unsigned int TCS::cTauTOB::m_Et {0} |
|
private |
◆ m_eta
| int TCS::cTauTOB::m_eta {0} |
|
private |
◆ m_etaDouble
| double TCS::cTauTOB::m_etaDouble {0} |
|
private |
◆ m_EtDouble
| double TCS::cTauTOB::m_EtDouble {0} |
|
private |
◆ m_EtIso
| unsigned int TCS::cTauTOB::m_EtIso {0} |
|
private |
◆ m_phi
| unsigned int TCS::cTauTOB::m_phi {0} |
|
private |
◆ m_phiDouble
| double TCS::cTauTOB::m_phiDouble {0} |
|
private |
◆ m_rCore
| unsigned int TCS::cTauTOB::m_rCore {0} |
|
private |
◆ m_rHad
| unsigned int TCS::cTauTOB::m_rHad {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: