#include <jTETOB.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 jTETOB.h.
◆ jTETOB() [1/3]
Definition at line 8 of file jTETOB.cxx.
9{}
BaseTOB(uint32_t roiWord, const std::string &tobType)
◆ jTETOB() [2/3]
Definition at line 12 of file jTETOB.cxx.
15{}
unsigned int sumEt() const
inputTOBType_t tobType() const
◆ jTETOB() [3/3]
| TCS::jTETOB::jTETOB |
( |
const jTETOB & | jte | ) |
|
|
default |
◆ ~jTETOB()
◆ clearHeap()
| void TCS::jTETOB::clearHeap |
( |
| ) |
|
|
static |
Definition at line 31 of file jTETOB.cxx.
31 {
33}
static thread_local Heap< TCS::jTETOB > fg_heap
◆ createOnHeap()
◆ heap()
◆ instances()
| size_t TCS::BaseTOB::instances |
( |
| ) |
|
|
inlinestaticinherited |
◆ print()
| void TCS::jTETOB::print |
( |
std::ostream & | o | ) |
const |
|
virtual |
◆ roiWord()
| uint32_t TCS::BaseTOB::roiWord |
( |
| ) |
const |
|
inlineinherited |
◆ saturationFlag()
| bool TCS::jTETOB::saturationFlag |
( |
| ) |
const |
|
inline |
◆ setSaturationFlag()
| void TCS::jTETOB::setSaturationFlag |
( |
bool | saturationFlag | ) |
|
|
inline |
Definition at line 51 of file jTETOB.h.
bool saturationFlag() const
◆ setSumEt()
| void TCS::jTETOB::setSumEt |
( |
unsigned int | sumEt | ) |
|
|
inline |
◆ setSumEtDouble()
| void TCS::jTETOB::setSumEtDouble |
( |
double | sumEt | ) |
|
|
inline |
◆ setSumEtDoubleSideA()
| void TCS::jTETOB::setSumEtDoubleSideA |
( |
double | sumEt | ) |
|
|
inline |
Definition at line 48 of file jTETOB.h.
double m_sumEtDoubleSideA
◆ setSumEtDoubleSideC()
| void TCS::jTETOB::setSumEtDoubleSideC |
( |
double | sumEt | ) |
|
|
inline |
Definition at line 49 of file jTETOB.h.
double m_sumEtDoubleSideC
◆ setSumEtSideA()
| void TCS::jTETOB::setSumEtSideA |
( |
unsigned int | sumEt | ) |
|
|
inline |
Definition at line 44 of file jTETOB.h.
unsigned int m_sumEtSideA
◆ setSumEtSideC()
| void TCS::jTETOB::setSumEtSideC |
( |
unsigned int | sumEt | ) |
|
|
inline |
Definition at line 45 of file jTETOB.h.
unsigned int m_sumEtSideC
◆ 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::jTETOB::sumEt |
( |
| ) |
const |
|
inline |
◆ sumEtDouble()
| double TCS::jTETOB::sumEtDouble |
( |
| ) |
const |
|
inline |
◆ sumEtDoubleSideA()
| double TCS::jTETOB::sumEtDoubleSideA |
( |
| ) |
const |
|
inline |
◆ sumEtDoubleSideC()
| double TCS::jTETOB::sumEtDoubleSideC |
( |
| ) |
const |
|
inline |
◆ sumEtSideA()
| unsigned int TCS::jTETOB::sumEtSideA |
( |
| ) |
const |
|
inline |
◆ sumEtSideC()
| unsigned int TCS::jTETOB::sumEtSideC |
( |
| ) |
const |
|
inline |
◆ tobName()
| const std::string & TCS::BaseTOB::tobName |
( |
| ) |
const |
|
inlineinherited |
◆ tobType()
◆ fg_heap
◆ m_roiWord
| uint32_t TCS::BaseTOB::m_roiWord |
|
privateinherited |
◆ m_saturationFlag
| bool TCS::jTETOB::m_saturationFlag {false} |
|
private |
◆ m_sumEt
| unsigned int TCS::jTETOB::m_sumEt {0} |
|
private |
◆ m_sumEtDouble
| double TCS::jTETOB::m_sumEtDouble {0} |
|
private |
◆ m_sumEtDoubleSideA
| double TCS::jTETOB::m_sumEtDoubleSideA {0} |
|
private |
◆ m_sumEtDoubleSideC
| double TCS::jTETOB::m_sumEtDoubleSideC {0} |
|
private |
◆ m_sumEtSideA
| unsigned int TCS::jTETOB::m_sumEtSideA {0} |
|
private |
◆ m_sumEtSideC
| unsigned int TCS::jTETOB::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: