#include <MuonNextBCTOB.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 MuonNextBCTOB.h.
◆ MuonNextBCTOB() [1/3]
| TCS::MuonNextBCTOB::MuonNextBCTOB |
( |
uint32_t | roiWord = 0, |
|
|
const std::string & | tobName = "MuonNextBCTOB" ) |
Definition at line 13 of file MuonNextBCTOB.cxx.
13 :
15{}
const std::string & tobName() const
BaseTOB(uint32_t roiWord, const std::string &tobType)
◆ MuonNextBCTOB() [2/3]
| TCS::MuonNextBCTOB::MuonNextBCTOB |
( |
unsigned int | et, |
|
|
unsigned int | isolation, |
|
|
int | eta, |
|
|
int | phi, |
|
|
uint32_t | roiWord = 0, |
|
|
const std::string & | tobName = "MuonNextBCTOB" ) |
Definition at line 18 of file MuonNextBCTOB.cxx.
18 :
24{}
float et(const xAOD::jFexSRJetRoI *j)
int sizeCheck(int value, unsigned int size) const
static unsigned int nBitsPhi()
static unsigned int nBitsIsolation()
static unsigned int nBitsEta()
static unsigned int nBitsEt()
unsigned int isolation() const
◆ MuonNextBCTOB() [3/3]
| TCS::MuonNextBCTOB::MuonNextBCTOB |
( |
const MuonNextBCTOB & | muonNextBC | ) |
|
|
default |
◆ ~MuonNextBCTOB()
| TCS::MuonNextBCTOB::~MuonNextBCTOB |
( |
| ) |
|
|
virtualdefault |
◆ clearHeap()
| void TCS::MuonNextBCTOB::clearHeap |
( |
| ) |
|
|
static |
Definition at line 38 of file MuonNextBCTOB.cxx.
38 {
40}
static thread_local Heap< TCS::MuonNextBCTOB > fg_heap
◆ createOnHeap()
◆ Et()
| unsigned int TCS::MuonNextBCTOB::Et |
( |
| ) |
const |
|
inline |
◆ eta()
| int TCS::MuonNextBCTOB::eta |
( |
| ) |
const |
|
inline |
◆ EtaDouble()
| double TCS::MuonNextBCTOB::EtaDouble |
( |
| ) |
const |
|
inline |
◆ EtDouble()
| double TCS::MuonNextBCTOB::EtDouble |
( |
| ) |
const |
|
inline |
◆ heap()
◆ instances()
| size_t TCS::BaseTOB::instances |
( |
| ) |
|
|
inlinestaticinherited |
◆ isolation()
| unsigned int TCS::MuonNextBCTOB::isolation |
( |
| ) |
const |
|
inline |
◆ nBitsEt()
| unsigned int TCS::MuonNextBCTOB::nBitsEt |
( |
| ) |
|
|
inlinestatic |
◆ nBitsEta()
| unsigned int TCS::MuonNextBCTOB::nBitsEta |
( |
| ) |
|
|
inlinestatic |
◆ nBitsIsolation()
| unsigned int TCS::MuonNextBCTOB::nBitsIsolation |
( |
| ) |
|
|
inlinestatic |
Definition at line 17 of file MuonNextBCTOB.h.
static const unsigned int g_nBitsIsolation
◆ nBitsPhi()
| unsigned int TCS::MuonNextBCTOB::nBitsPhi |
( |
| ) |
|
|
inlinestatic |
◆ phi()
| int TCS::MuonNextBCTOB::phi |
( |
| ) |
const |
|
inline |
◆ PhiDouble()
| double TCS::MuonNextBCTOB::PhiDouble |
( |
| ) |
const |
|
inline |
◆ print()
| void TCS::MuonNextBCTOB::print |
( |
std::ostream & | o | ) |
const |
|
virtual |
◆ roiWord()
| uint32_t TCS::BaseTOB::roiWord |
( |
| ) |
const |
|
inlineinherited |
◆ setEt()
| void TCS::MuonNextBCTOB::setEt |
( |
unsigned int | et | ) |
|
|
inline |
◆ setEta()
| void TCS::MuonNextBCTOB::setEta |
( |
int | eta | ) |
|
|
inline |
◆ setEtaDouble()
| void TCS::MuonNextBCTOB::setEtaDouble |
( |
double | eta | ) |
|
|
inline |
◆ setEtDouble()
| void TCS::MuonNextBCTOB::setEtDouble |
( |
double | et | ) |
|
|
inline |
◆ setIsolation()
| void TCS::MuonNextBCTOB::setIsolation |
( |
unsigned int | et | ) |
|
|
inline |
◆ setPhi()
| void TCS::MuonNextBCTOB::setPhi |
( |
int | phi | ) |
|
|
inline |
◆ setPhiDouble()
| void TCS::MuonNextBCTOB::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::MuonNextBCTOB::g_nBitsEt = 8 |
|
staticprivate |
◆ g_nBitsEta
| const unsigned int TCS::MuonNextBCTOB::g_nBitsEta = 6 |
|
staticprivate |
◆ g_nBitsIsolation
| const unsigned int TCS::MuonNextBCTOB::g_nBitsIsolation = 5 |
|
staticprivate |
◆ g_nBitsPhi
| const unsigned int TCS::MuonNextBCTOB::g_nBitsPhi = 6 |
|
staticprivate |
◆ m_Et
| unsigned int TCS::MuonNextBCTOB::m_Et {0} |
|
private |
◆ m_eta
| int TCS::MuonNextBCTOB::m_eta {0} |
|
private |
◆ m_etaDouble
| double TCS::MuonNextBCTOB::m_etaDouble {0} |
|
private |
◆ m_EtDouble
| double TCS::MuonNextBCTOB::m_EtDouble {0} |
|
private |
◆ m_isolation
| unsigned int TCS::MuonNextBCTOB::m_isolation {0} |
|
private |
◆ m_phi
| int TCS::MuonNextBCTOB::m_phi {0} |
|
private |
◆ m_phiDouble
| double TCS::MuonNextBCTOB::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: