#include <CompositeTOB.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 16 of file CompositeTOB.h.
◆ const_iterator
◆ data_t
◆ iterator
◆ CompositeTOB() [1/5]
| TCS::CompositeTOB::CompositeTOB |
( |
| ) |
|
◆ CompositeTOB() [2/5]
| TCS::CompositeTOB::CompositeTOB |
( |
const CompositeTOB & | other | ) |
|
◆ CompositeTOB() [3/5]
| TCS::CompositeTOB::CompositeTOB |
( |
const std::vector< GenericTOB * > & | candidates | ) |
|
◆ CompositeTOB() [4/5]
| TCS::CompositeTOB::CompositeTOB |
( |
GenericTOB * | candidate | ) |
|
◆ CompositeTOB() [5/5]
◆ ~CompositeTOB()
| TCS::CompositeTOB::~CompositeTOB |
( |
| ) |
|
|
virtualdefault |
◆ bw2or3()
| int TCS::GenericTOB::bw2or3 |
( |
| ) |
const |
|
inlineinherited |
◆ charge()
| int TCS::GenericTOB::charge |
( |
| ) |
const |
|
inlineinherited |
◆ clearHeap()
| void TCS::CompositeTOB::clearHeap |
( |
| ) |
|
|
static |
Definition at line 40 of file CompositeTOB.cxx.
40 {
42}
static thread_local Heap< TCS::CompositeTOB > fg_heap
◆ components() [1/2]
| data_t & TCS::CompositeTOB::components |
( |
| ) |
|
|
inline |
◆ components() [2/2]
| const data_t & TCS::CompositeTOB::components |
( |
| ) |
const |
|
inline |
◆ createOnHeap() [1/2]
◆ createOnHeap() [2/2]
Definition at line 271 of file GenericTOB.cxx.
271 {
273}
static thread_local Heap< TCS::GenericTOB > fg_heap
◆ Et()
| unsigned int TCS::GenericTOB::Et |
( |
| ) |
const |
|
inlineinherited |
◆ Et2()
| unsigned int TCS::GenericTOB::Et2 |
( |
| ) |
const |
|
inlineinherited |
◆ eta()
| int TCS::GenericTOB::eta |
( |
| ) |
const |
|
inlineinherited |
◆ etaDouble()
| double TCS::GenericTOB::etaDouble |
( |
| ) |
const |
|
inlineinherited |
◆ EtDouble()
| double TCS::GenericTOB::EtDouble |
( |
| ) |
const |
|
inlineinherited |
◆ EtNarrow()
| unsigned int TCS::GenericTOB::EtNarrow |
( |
| ) |
const |
|
inlineinherited |
◆ EtWide()
| unsigned int TCS::GenericTOB::EtWide |
( |
| ) |
const |
|
inlineinherited |
◆ Ex()
| int TCS::GenericTOB::Ex |
( |
| ) |
const |
|
inlineinherited |
◆ ExDouble()
| double TCS::GenericTOB::ExDouble |
( |
| ) |
const |
|
inlineinherited |
◆ Ey()
| int TCS::GenericTOB::Ey |
( |
| ) |
const |
|
inlineinherited |
◆ EyDouble()
| double TCS::GenericTOB::EyDouble |
( |
| ) |
const |
|
inlineinherited |
◆ goodMF()
| int TCS::GenericTOB::goodMF |
( |
| ) |
const |
|
inlineinherited |
◆ heap()
◆ innerCoin()
| int TCS::GenericTOB::innerCoin |
( |
| ) |
const |
|
inlineinherited |
◆ instances()
| size_t TCS::BaseTOB::instances |
( |
| ) |
|
|
inlinestaticinherited |
◆ is2cand()
| int TCS::GenericTOB::is2cand |
( |
| ) |
const |
|
inlineinherited |
◆ phi()
| int TCS::GenericTOB::phi |
( |
| ) |
const |
|
inlineinherited |
◆ phiDouble()
| double TCS::GenericTOB::phiDouble |
( |
| ) |
const |
|
inlineinherited |
◆ print()
| void TCS::CompositeTOB::print |
( |
std::ostream & | o | ) |
const |
|
virtual |
Reimplemented from TCS::GenericTOB.
Definition at line 44 of file CompositeTOB.cxx.
44 {
45 o <<
"composite tob (" <<
components().size() <<
" candidates): ";
48 o << endl <<
" " << **
c;
49 }
50}
data_t::const_iterator const_iterator
◆ roiWord()
| uint32_t TCS::BaseTOB::roiWord |
( |
| ) |
const |
|
inlineinherited |
◆ setTobType()
Definition at line 146 of file GenericTOB.h.
inputTOBType_t tobType() const
◆ 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 |
|
inlineinherited |
◆ sumEtDouble()
| double TCS::GenericTOB::sumEtDouble |
( |
| ) |
const |
|
inlineinherited |
◆ sumEtDoubleSideA()
| double TCS::GenericTOB::sumEtDoubleSideA |
( |
| ) |
const |
|
inlineinherited |
◆ sumEtDoubleSideC()
| double TCS::GenericTOB::sumEtDoubleSideC |
( |
| ) |
const |
|
inlineinherited |
◆ sumEtSideA()
| unsigned int TCS::GenericTOB::sumEtSideA |
( |
| ) |
const |
|
inlineinherited |
◆ sumEtSideC()
| unsigned int TCS::GenericTOB::sumEtSideC |
( |
| ) |
const |
|
inlineinherited |
◆ tobName()
| const std::string & TCS::BaseTOB::tobName |
( |
| ) |
const |
|
inlineinherited |
◆ tobType()
◆ fg_heap
◆ m_bw2or3
| int TCS::GenericTOB::m_bw2or3 { 0 } |
|
privateinherited |
◆ m_charge
| int TCS::GenericTOB::m_charge { 0 } |
|
privateinherited |
◆ m_components
| data_t TCS::CompositeTOB::m_components |
|
private |
◆ m_Et
| unsigned int TCS::GenericTOB::m_Et { 0 } |
|
privateinherited |
◆ m_Et2
| unsigned int TCS::GenericTOB::m_Et2 { 0 } |
|
privateinherited |
◆ m_eta
| int TCS::GenericTOB::m_eta { 0 } |
|
privateinherited |
◆ m_etaDouble
| double TCS::GenericTOB::m_etaDouble { 0 } |
|
privateinherited |
◆ m_EtDouble
| double TCS::GenericTOB::m_EtDouble { 0 } |
|
privateinherited |
◆ m_EtNarrow
| unsigned int TCS::GenericTOB::m_EtNarrow { 0 } |
|
privateinherited |
◆ m_EtWide
| unsigned int TCS::GenericTOB::m_EtWide { 0 } |
|
privateinherited |
◆ m_Ex
| int TCS::GenericTOB::m_Ex { 0 } |
|
privateinherited |
◆ m_ExDouble
| double TCS::GenericTOB::m_ExDouble { 0 } |
|
privateinherited |
◆ m_Ey
| int TCS::GenericTOB::m_Ey { 0 } |
|
privateinherited |
◆ m_EyDouble
| double TCS::GenericTOB::m_EyDouble { 0 } |
|
privateinherited |
◆ m_goodMF
| int TCS::GenericTOB::m_goodMF { 0 } |
|
privateinherited |
◆ m_innerCoin
| int TCS::GenericTOB::m_innerCoin { 0 } |
|
privateinherited |
◆ m_is2cand
| int TCS::GenericTOB::m_is2cand { 0 } |
|
privateinherited |
◆ m_phi
| int TCS::GenericTOB::m_phi { 0 } |
|
privateinherited |
◆ m_phiDouble
| double TCS::GenericTOB::m_phiDouble { 0 } |
|
privateinherited |
◆ m_roiWord
| uint32_t TCS::BaseTOB::m_roiWord |
|
privateinherited |
◆ m_sumEt
| unsigned int TCS::GenericTOB::m_sumEt { 0 } |
|
privateinherited |
◆ m_sumEtDouble
| double TCS::GenericTOB::m_sumEtDouble { 0 } |
|
privateinherited |
◆ m_sumEtDoubleSideA
| double TCS::GenericTOB::m_sumEtDoubleSideA { 0 } |
|
privateinherited |
◆ m_sumEtDoubleSideC
| double TCS::GenericTOB::m_sumEtDoubleSideC { 0 } |
|
privateinherited |
◆ m_sumEtSideA
| unsigned int TCS::GenericTOB::m_sumEtSideA { 0 } |
|
privateinherited |
◆ m_sumEtSideC
| unsigned int TCS::GenericTOB::m_sumEtSideC { 0 } |
|
privateinherited |
◆ m_tobName
| std::string TCS::BaseTOB::m_tobName |
|
privateinherited |
◆ m_tobType
The documentation for this class was generated from the following files: