26#include "CaloDetDescr/CaloDetDescrElement.h"
41 float energy,
float time,
float correction_factor,
85 std::cout << (std::string) (*
this) << std::endl;
88TileTTL1Cell::operator std::string()
const
90 std::ostringstream text(std::ostringstream::out);
93 if (s_cabling->getTileTBID()->is_tiletb(
m_ID)) {
94 text <<
"MBTS Id = " << s_cabling->getTileTBID()->to_string(
m_ID);
96 text <<
" Id = " << s_cabling->getCaloLVL1_ID()->show_to_string(
m_ID);
98 text <<
" tower ene = " <<
eneTower();
99 text <<
" ave time = " <<
timeAve();
100 text <<
" correction factor = " <<
corrFactor();
static const TileCablingService * getInstance()
get pointer to service instance
uint16_t qualTower(void) const
get quality factor for (data member)
float corrFactor(void) const
get tower correction factor (data member)
void setTime(float tave)
set average cell time
const Identifier & TTL1_ID() const
all get methods
float eneTower(void) const
get energy for tower (data member)
uint16_t m_quality
quality = quality bit for cell and PMTs in tower
float m_corrFactor
corrFactor = energy correction factors applied to tower
void setEnergy(float ene)
all set methods
void setQuality(uint16_t qual)
set quality bits for one tower
float m_eneTower
eneTower = sum of cell energies
void setCorrectionFactor(float corrfact)
set correction factor
float timeAve(void) const
get time average for all cells in tower (data member)
float m_timeAve
timeAve = time average of cell times.
Identifier m_ID
ID = trigger tower id.
void print(void) const
print all cell data memebers to stdout
TileTTL1Cell()
default constructor
std::string whoami(void) const
get name of the object