#include <GenericTOB.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 35 of file GenericTOB.h.
◆ GenericTOB() [1/22]
| TCS::GenericTOB::GenericTOB |
( |
uint32_t | roiWord = 0 | ) |
|
Definition at line 8 of file GenericTOB.cxx.
8 :
11{
12}
BaseTOB(uint32_t roiWord, const std::string &tobType)
◆ GenericTOB() [2/22]
| TCS::GenericTOB::GenericTOB |
( |
unsigned int | Et, |
|
|
int | eta, |
|
|
int | phi, |
|
|
uint32_t | roiWord = 0 ) |
◆ GenericTOB() [3/22]
| TCS::GenericTOB::GenericTOB |
( |
const GenericTOB & | other | ) |
|
|
default |
◆ GenericTOB() [4/22]
◆ GenericTOB() [5/22]
| TCS::GenericTOB::GenericTOB |
( |
const jTauTOB & | tau | ) |
|
◆ GenericTOB() [6/22]
| TCS::GenericTOB::GenericTOB |
( |
const jEmTOB & | jem | ) |
|
◆ GenericTOB() [7/22]
| TCS::GenericTOB::GenericTOB |
( |
const jLJetTOB & | jet | ) |
|
◆ GenericTOB() [8/22]
| TCS::GenericTOB::GenericTOB |
( |
const gLJetTOB & | jet | ) |
|
◆ GenericTOB() [9/22]
| TCS::GenericTOB::GenericTOB |
( |
const jJetTOB & | jet | ) |
|
◆ GenericTOB() [10/22]
| TCS::GenericTOB::GenericTOB |
( |
const gJetTOB & | jet | ) |
|
◆ GenericTOB() [11/22]
| TCS::GenericTOB::GenericTOB |
( |
const ClusterTOB & | cluster | ) |
|
◆ GenericTOB() [12/22]
| TCS::GenericTOB::GenericTOB |
( |
const eEmTOB & | eem | ) |
|
◆ GenericTOB() [13/22]
| TCS::GenericTOB::GenericTOB |
( |
const eTauTOB & | etau | ) |
|
◆ GenericTOB() [14/22]
| TCS::GenericTOB::GenericTOB |
( |
const cTauTOB & | ctau | ) |
|
◆ GenericTOB() [15/22]
| TCS::GenericTOB::GenericTOB |
( |
const MuonTOB & | muon | ) |
|
◆ GenericTOB() [16/22]
| TCS::GenericTOB::GenericTOB |
( |
const LateMuonTOB & | lateMuon | ) |
|
Definition at line 180 of file GenericTOB.cxx.
180 :
181 BaseTOB(lateMuon.roiWord(), lateMuon.tobName())
182 ,
m_Et(lateMuon.Et())
183 ,
m_eta(lateMuon.eta())
184 ,
m_phi(
static_cast<int>(lateMuon.phi()))
194{}
◆ GenericTOB() [17/22]
Definition at line 197 of file GenericTOB.cxx.
197 :
198 BaseTOB(muonNextBC.roiWord(), muonNextBC.tobName())
199 ,
m_Et(muonNextBC.Et())
200 ,
m_eta(muonNextBC.eta())
201 ,
m_phi(muonNextBC.phi())
206{}
◆ GenericTOB() [18/22]
| TCS::GenericTOB::GenericTOB |
( |
const MetTOB & | met | ) |
|
◆ GenericTOB() [19/22]
| TCS::GenericTOB::GenericTOB |
( |
const jXETOB & | jxe | ) |
|
◆ GenericTOB() [20/22]
| TCS::GenericTOB::GenericTOB |
( |
const jTETOB & | jte | ) |
|
Definition at line 231 of file GenericTOB.cxx.
231 :
232 BaseTOB(jte.roiWord(), jte.tobName())
240{}
unsigned int m_sumEtSideC
double m_sumEtDoubleSideC
unsigned int m_sumEtSideA
double m_sumEtDoubleSideA
◆ GenericTOB() [21/22]
| TCS::GenericTOB::GenericTOB |
( |
const gXETOB & | gxe | ) |
|
◆ GenericTOB() [22/22]
| TCS::GenericTOB::GenericTOB |
( |
const gTETOB & | gte | ) |
|
◆ ~GenericTOB()
| TCS::GenericTOB::~GenericTOB |
( |
| ) |
|
|
default |
◆ bw2or3()
| int TCS::GenericTOB::bw2or3 |
( |
| ) |
const |
|
inline |
◆ charge()
| int TCS::GenericTOB::charge |
( |
| ) |
const |
|
inline |
◆ clearHeap()
| void TCS::GenericTOB::clearHeap |
( |
| ) |
|
|
static |
Definition at line 276 of file GenericTOB.cxx.
276 {
278}
static thread_local Heap< TCS::GenericTOB > fg_heap
◆ createOnHeap()
◆ Et()
| unsigned int TCS::GenericTOB::Et |
( |
| ) |
const |
|
inline |
◆ Et2()
| unsigned int TCS::GenericTOB::Et2 |
( |
| ) |
const |
|
inline |
◆ eta()
| int TCS::GenericTOB::eta |
( |
| ) |
const |
|
inline |
◆ etaDouble()
| double TCS::GenericTOB::etaDouble |
( |
| ) |
const |
|
inline |
◆ EtDouble()
| double TCS::GenericTOB::EtDouble |
( |
| ) |
const |
|
inline |
◆ EtNarrow()
| unsigned int TCS::GenericTOB::EtNarrow |
( |
| ) |
const |
|
inline |
◆ EtWide()
| unsigned int TCS::GenericTOB::EtWide |
( |
| ) |
const |
|
inline |
◆ Ex()
| int TCS::GenericTOB::Ex |
( |
| ) |
const |
|
inline |
◆ ExDouble()
| double TCS::GenericTOB::ExDouble |
( |
| ) |
const |
|
inline |
◆ Ey()
| int TCS::GenericTOB::Ey |
( |
| ) |
const |
|
inline |
◆ EyDouble()
| double TCS::GenericTOB::EyDouble |
( |
| ) |
const |
|
inline |
◆ goodMF()
| int TCS::GenericTOB::goodMF |
( |
| ) |
const |
|
inline |
◆ heap()
◆ innerCoin()
| int TCS::GenericTOB::innerCoin |
( |
| ) |
const |
|
inline |
◆ instances()
| size_t TCS::BaseTOB::instances |
( |
| ) |
|
|
inlinestaticinherited |
◆ is2cand()
| int TCS::GenericTOB::is2cand |
( |
| ) |
const |
|
inline |
◆ phi()
| int TCS::GenericTOB::phi |
( |
| ) |
const |
|
inline |
◆ phiDouble()
| double TCS::GenericTOB::phiDouble |
( |
| ) |
const |
|
inline |
◆ print()
| void TCS::GenericTOB::print |
( |
std::ostream & | o | ) |
const |
|
virtual |
◆ roiWord()
| uint32_t TCS::BaseTOB::roiWord |
( |
| ) |
const |
|
inlineinherited |
◆ 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}
◆ sumEt()
| unsigned int TCS::GenericTOB::sumEt |
( |
| ) |
const |
|
inline |
◆ sumEtDouble()
| double TCS::GenericTOB::sumEtDouble |
( |
| ) |
const |
|
inline |
◆ sumEtDoubleSideA()
| double TCS::GenericTOB::sumEtDoubleSideA |
( |
| ) |
const |
|
inline |
◆ sumEtDoubleSideC()
| double TCS::GenericTOB::sumEtDoubleSideC |
( |
| ) |
const |
|
inline |
◆ sumEtSideA()
| unsigned int TCS::GenericTOB::sumEtSideA |
( |
| ) |
const |
|
inline |
◆ sumEtSideC()
| unsigned int TCS::GenericTOB::sumEtSideC |
( |
| ) |
const |
|
inline |
◆ tobName()
| const std::string & TCS::BaseTOB::tobName |
( |
| ) |
const |
|
inlineinherited |
◆ tobType()
◆ fg_heap
◆ m_bw2or3
| int TCS::GenericTOB::m_bw2or3 { 0 } |
|
private |
◆ m_charge
| int TCS::GenericTOB::m_charge { 0 } |
|
private |
◆ m_Et
| unsigned int TCS::GenericTOB::m_Et { 0 } |
|
private |
◆ m_Et2
| unsigned int TCS::GenericTOB::m_Et2 { 0 } |
|
private |
◆ m_eta
| int TCS::GenericTOB::m_eta { 0 } |
|
private |
◆ m_etaDouble
| double TCS::GenericTOB::m_etaDouble { 0 } |
|
private |
◆ m_EtDouble
| double TCS::GenericTOB::m_EtDouble { 0 } |
|
private |
◆ m_EtNarrow
| unsigned int TCS::GenericTOB::m_EtNarrow { 0 } |
|
private |
◆ m_EtWide
| unsigned int TCS::GenericTOB::m_EtWide { 0 } |
|
private |
◆ m_Ex
| int TCS::GenericTOB::m_Ex { 0 } |
|
private |
◆ m_ExDouble
| double TCS::GenericTOB::m_ExDouble { 0 } |
|
private |
◆ m_Ey
| int TCS::GenericTOB::m_Ey { 0 } |
|
private |
◆ m_EyDouble
| double TCS::GenericTOB::m_EyDouble { 0 } |
|
private |
◆ m_goodMF
| int TCS::GenericTOB::m_goodMF { 0 } |
|
private |
◆ m_innerCoin
| int TCS::GenericTOB::m_innerCoin { 0 } |
|
private |
◆ m_is2cand
| int TCS::GenericTOB::m_is2cand { 0 } |
|
private |
◆ m_phi
| int TCS::GenericTOB::m_phi { 0 } |
|
private |
◆ m_phiDouble
| double TCS::GenericTOB::m_phiDouble { 0 } |
|
private |
◆ m_roiWord
| uint32_t TCS::BaseTOB::m_roiWord |
|
privateinherited |
◆ m_sumEt
| unsigned int TCS::GenericTOB::m_sumEt { 0 } |
|
private |
◆ m_sumEtDouble
| double TCS::GenericTOB::m_sumEtDouble { 0 } |
|
private |
◆ m_sumEtDoubleSideA
| double TCS::GenericTOB::m_sumEtDoubleSideA { 0 } |
|
private |
◆ m_sumEtDoubleSideC
| double TCS::GenericTOB::m_sumEtDoubleSideC { 0 } |
|
private |
◆ m_sumEtSideA
| unsigned int TCS::GenericTOB::m_sumEtSideA { 0 } |
|
private |
◆ m_sumEtSideC
| unsigned int TCS::GenericTOB::m_sumEtSideC { 0 } |
|
private |
◆ m_tobName
| std::string TCS::BaseTOB::m_tobName |
|
privateinherited |
◆ m_tobType
The documentation for this class was generated from the following files: