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