30#ifndef TILEEVENT_TILETTL1CELL_H
31#define TILEEVENT_TILETTL1CELL_H
33#include "Identifier/Identifier.h"
62 float energy,
float time,
float correction_factor,
100 std::string
whoami (
void)
const {
return "TileTTL1Cell"; }
102 void print (
void)
const;
105 operator std::string()
const;
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
bool towerbad(void) const
check if tower is bad
~TileTTL1Cell()=default
destructor
bool cellbad(void) const
check if tower has bad cell
QUALITY_BITS
definition of various bits in quality
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
Identifier identify(void) const
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.
bool chanbad(void) const
check if a pmt is bad
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