#include <TileTTL1Cell.h>
|
| | TileTTL1Cell () |
| | default constructor
|
| | TileTTL1Cell (const Identifier &id, float energy, float time, float correction_factor, uint16_t quality) |
| | constructor for TileTTL1Cell
|
| | ~TileTTL1Cell ()=default |
| | destructor
|
| void | setEnergy (float ene) |
| | all set methods
|
| void | setTime (float tave) |
| | set average cell time
|
| void | setCorrectionFactor (float corrfact) |
| | set correction factor
|
| void | setQuality (uint16_t qual) |
| | set quality bits for one tower
|
| const Identifier & | TTL1_ID () const |
| | all get methods
|
| Identifier | identify (void) const |
| float | eneTower (void) const |
| | get energy for tower (data member)
|
| float | timeAve (void) const |
| | get time average for all cells in tower (data member)
|
| float | corrFactor (void) const |
| | get tower correction factor (data member)
|
| uint16_t | qualTower (void) const |
| | get quality factor for (data member)
|
| bool | cellbad (void) const |
| | check if tower has bad cell
|
| bool | towerbad (void) const |
| | check if tower is bad
|
| bool | chanbad (void) const |
| | check if a pmt is bad
|
| std::string | whoami (void) const |
| | get name of the object
|
| void | print (void) const |
| | print all cell data memebers to stdout
|
| | operator std::string () const |
| | Convertion operator to a std::string Can be used in a cast operation : (std::string) TileTTL1Cell.
|
|
| Identifier | m_ID |
| | ID = trigger tower id.
|
| float | m_eneTower |
| | eneTower = sum of cell energies
|
| float | m_timeAve |
| | timeAve = time average of cell times.
|
| float | m_corrFactor |
| | corrFactor = energy correction factors applied to tower
|
| uint16_t | m_quality |
| | quality = quality bit for cell and PMTs in tower
|
Definition at line 37 of file TileTTL1Cell.h.
◆ QUALITY_BITS
definition of various bits in quality
| Enumerator |
|---|
| MASK_BADTOWER | |
| MASK_BADCELL | |
| MASK_BADCHAN | |
| SHIFT_BADTOWER | |
| SHIFT_BADCELL | |
| SHIFT_BADCHAN | |
Definition at line 42 of file TileTTL1Cell.h.
◆ TileTTL1Cell() [1/2]
| TileTTL1Cell::TileTTL1Cell |
( |
| ) |
|
|
inline |
default constructor
Definition at line 53 of file TileTTL1Cell.h.
58 {}
uint16_t m_quality
quality = quality bit for cell and PMTs in tower
float m_corrFactor
corrFactor = energy correction factors applied to tower
float m_eneTower
eneTower = sum of cell energies
float m_timeAve
timeAve = time average of cell times.
◆ TileTTL1Cell() [2/2]
| TileTTL1Cell::TileTTL1Cell |
( |
const Identifier & | id, |
|
|
float | energy, |
|
|
float | time, |
|
|
float | correction_factor, |
|
|
uint16_t | quality ) |
◆ ~TileTTL1Cell()
| TileTTL1Cell::~TileTTL1Cell |
( |
| ) |
|
|
default |
◆ cellbad()
| bool TileTTL1Cell::cellbad |
( |
void | | ) |
const |
|
inline |
◆ chanbad()
| bool TileTTL1Cell::chanbad |
( |
void | | ) |
const |
|
inline |
◆ corrFactor()
| float TileTTL1Cell::corrFactor |
( |
void | | ) |
const |
|
inline |
get tower correction factor (data member)
Definition at line 88 of file TileTTL1Cell.h.
◆ eneTower()
| float TileTTL1Cell::eneTower |
( |
void | | ) |
const |
|
inline |
get energy for tower (data member)
Definition at line 84 of file TileTTL1Cell.h.
◆ identify()
◆ operator std::string()
| TileTTL1Cell::operator std::string |
( |
| ) |
const |
Convertion operator to a std::string Can be used in a cast operation : (std::string) TileTTL1Cell.
Definition at line 88 of file TileTTL1Cell.cxx.
89{
90 std::ostringstream
text(std::ostringstream::out);
91
93 if (s_cabling->getTileTBID()->is_tiletb(
m_ID)) {
94 text <<
"MBTS Id = " << s_cabling->getTileTBID()->to_string(
m_ID);
95 } else {
96 text <<
" Id = " << s_cabling->getCaloLVL1_ID()->show_to_string(
m_ID);
97 }
102
104}
uint16_t qualTower(void) const
get quality factor for (data member)
float corrFactor(void) const
get tower correction factor (data member)
float eneTower(void) const
get energy for tower (data member)
float timeAve(void) const
get time average for all cells in tower (data member)
std::string whoami(void) const
get name of the object
◆ print()
| void TileTTL1Cell::print |
( |
void | | ) |
const |
print all cell data memebers to stdout
Definition at line 83 of file TileTTL1Cell.cxx.
84{
85 std::cout << (std::string) (*this) << std::endl;
86}
◆ qualTower()
| uint16_t TileTTL1Cell::qualTower |
( |
void | | ) |
const |
|
inline |
get quality factor for (data member)
Definition at line 90 of file TileTTL1Cell.h.
◆ setCorrectionFactor()
| void TileTTL1Cell::setCorrectionFactor |
( |
float | corrfact | ) |
|
◆ setEnergy()
| void TileTTL1Cell::setEnergy |
( |
float | ene | ) |
|
◆ setQuality()
| void TileTTL1Cell::setQuality |
( |
uint16_t | qual | ) |
|
◆ setTime()
| void TileTTL1Cell::setTime |
( |
float | tave | ) |
|
◆ timeAve()
| float TileTTL1Cell::timeAve |
( |
void | | ) |
const |
|
inline |
get time average for all cells in tower (data member)
Definition at line 86 of file TileTTL1Cell.h.
◆ towerbad()
| bool TileTTL1Cell::towerbad |
( |
void | | ) |
const |
|
inline |
◆ TTL1_ID()
| const Identifier & TileTTL1Cell::TTL1_ID |
( |
| ) |
const |
◆ whoami()
| std::string TileTTL1Cell::whoami |
( |
void | | ) |
const |
|
inline |
get name of the object
Definition at line 100 of file TileTTL1Cell.h.
100{ return "TileTTL1Cell"; }
◆ m_corrFactor
| float TileTTL1Cell::m_corrFactor |
|
private |
corrFactor = energy correction factors applied to tower
Definition at line 116 of file TileTTL1Cell.h.
◆ m_eneTower
| float TileTTL1Cell::m_eneTower |
|
private |
◆ m_ID
◆ m_quality
| uint16_t TileTTL1Cell::m_quality |
|
private |
quality = quality bit for cell and PMTs in tower
Definition at line 118 of file TileTTL1Cell.h.
◆ m_timeAve
| float TileTTL1Cell::m_timeAve |
|
private |
The documentation for this class was generated from the following files: