17#ifndef TRIGCALOEVENT_TRIGMISSINGETCOMPONENT_H
18#define TRIGCALOEVENT_TRIGMISSINGETCOMPONENT_H
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
bool operator==(const TrigMissingEtComponent &a, const TrigMissingEtComponent &b)
Operator comparing two objects for equality.
bool operator!=(const TrigMissingEtComponent &a, const TrigMissingEtComponent &b)
Operator comparing two objects for inequality.
MET trigger slice components (auxiliary information for TrigMissingET)
short status() const
get status flag
void setName(const char *s)
set component name
float sumE() const
get sum of |E|
float sumEt() const
get sum of |Et|
float calib1() const
get scale, for calibration
void setSumE(float v)
set sum of |E|
void setSumEt(float v)
set sum of |Et|
void setCalib0(float v)
set constant term, for calibration
void setCalib1(float v)
set scale, for calibration
std::string getFormattedHeader()
use this to print the header of the table printed by the following method
void setEy(float v)
set Ey
short m_status
status flag
const std::string & name() const
get component name
void setEz(float v)
set Ez
short sumOfSigns() const
get sum of energy signs, for calibration
float m_calib0
constant term, for calibration (default 0)
void setStatus(short v)
set status flag
float m_calib1
scale, for calibration (default 1)
std::string getFormattedValues()
print the (1-line) table of all attributes
TrigMissingEtComponent()
constructor
void setSumOfSigns(short v)
set sum of energy signs, for calibration
void setUsedChannels(unsigned short v)
set number of used channels
unsigned short m_usedChannels
number of used channels
void reset()
clean values and calibration constants
unsigned short usedChannels() const
get used channels
float calib0() const
get constant term, for calibration
short m_sumOfSigns
calibration: sum of energy signs (-1, +1)
void setEx(float v)
set Ex
~TrigMissingEtComponent()
destructor