![]() |
ATLAS Offline Software
|
#include <TileTTL1Cell.h>
Public Types | |
| enum | QUALITY_BITS { MASK_BADTOWER = 0x04 , MASK_BADCELL = 0x02 , MASK_BADCHAN = 0x01 , SHIFT_BADTOWER = 2 , SHIFT_BADCELL = 1 , SHIFT_BADCHAN = 0 } |
| definition of various bits in quality More... | |
Public Member Functions | |
| 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. | |
Private Attributes | |
| 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 38 of file TileTTL1Cell.h.
definition of various bits in quality
| Enumerator | |
|---|---|
| MASK_BADTOWER | |
| MASK_BADCELL | |
| MASK_BADCHAN | |
| SHIFT_BADTOWER | |
| SHIFT_BADCELL | |
| SHIFT_BADCHAN | |
Definition at line 43 of file TileTTL1Cell.h.
|
inline |
default constructor
Definition at line 54 of file TileTTL1Cell.h.
| TileTTL1Cell::TileTTL1Cell | ( | const Identifier & | id, |
| float | energy, | ||
| float | time, | ||
| float | correction_factor, | ||
| uint16_t | quality ) |
constructor for TileTTL1Cell
Definition at line 40 of file TileTTL1Cell.cxx.
|
default |
destructor
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 82 of file TileTTL1Cell.h.
| 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.
| void TileTTL1Cell::print | ( | void | ) | const |
print all cell data memebers to stdout
Definition at line 83 of file TileTTL1Cell.cxx.
|
inline |
| void TileTTL1Cell::setCorrectionFactor | ( | float | corrfact | ) |
set correction factor
Definition at line 62 of file TileTTL1Cell.cxx.
| void TileTTL1Cell::setEnergy | ( | float | ene | ) |
| void TileTTL1Cell::setQuality | ( | uint16_t | qual | ) |
set quality bits for one tower
Definition at line 66 of file TileTTL1Cell.cxx.
| void TileTTL1Cell::setTime | ( | float | tave | ) |
|
inline |
|
inline |
| const Identifier & TileTTL1Cell::TTL1_ID | ( | ) | const |
|
inline |
|
private |
corrFactor = energy correction factors applied to tower
Definition at line 117 of file TileTTL1Cell.h.
|
private |
eneTower = sum of cell energies
Definition at line 113 of file TileTTL1Cell.h.
|
private |
ID = trigger tower id.
Definition at line 111 of file TileTTL1Cell.h.
|
private |
quality = quality bit for cell and PMTs in tower
Definition at line 119 of file TileTTL1Cell.h.
|
private |
timeAve = time average of cell times.
Definition at line 115 of file TileTTL1Cell.h.