19#ifndef TRIGMISSINGETEVENT_TRIGMISSINGET_H
20#define TRIGMISSINGETEVENT_TRIGMISSINGET_H
26#include "GaudiKernel/MsgStream.h"
42 TrigMissingET(std::vector< TrigMissingEtComponent >&& compVec);
184 std::map<std::string, double>& variableChange);
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
An STL vector of pointers that by default owns its pointed-to elements.
bool operator==(const TrigMissingET &a, const TrigMissingET &b)
Operator comparing two objects for equality.
void diff(const TrigMissingET &a, const TrigMissingET &b, std::map< std::string, double > &variableChange)
Comparison with feedback.
bool operator!=(const TrigMissingET &a, const TrigMissingET &b)
Operator comparing two objects for inequality.
Class for LVL2/EF MissingET trigger.
void setSumOfSigns(unsigned int index, short value)
set sum of energy signs for calibration of component ‘index’
void setEzComponent(unsigned int index, float value)
set Ez for component ‘index’
float ez() const
Ez component of missing energy vector.
void addEy(float ey)
increment Ey component
friend MsgStream & operator<<(MsgStream &m, const TrigMissingET &d)
formatted output
void setUsedChannels(unsigned int index, unsigned short value)
set number of used channels in component ‘index’
float ex() const
Ex component of missing energy vector.
unsigned short getUsedChannels(unsigned int index) const
get number of used channes in component ‘index’
void setEy(float ey)
set Ey component
~TrigMissingET()
destructor
float m_ez
Basic information: Ez component.
void addSumEt(float ets)
increment sumEt
short getStatus(unsigned int index) const
get status flag for component ‘index’
float m_sum_et
Basic information: scalar sum of Et.
float m_ex
Basic information: Ex component.
void setSumEComponent(unsigned int index, float value)
set sum of |E| for component ‘index’
float getEyComponent(unsigned int index) const
get Ey from component ‘index’
void setStatus(unsigned int index, short value)
set status flag of component ‘index’
void clear()
reset contents
std::string getNameOfComponent(unsigned int index) const
get name of component ‘index’
float e() const
(modulus of) energy
float sumEt() const
sum of |Et|
float m_sum_e
Basic information: scalar sum of E.
short getSumOfSigns(unsigned int index) const
get sum of energy signs for calibration of component ‘index’
void setComponentCalib1(unsigned int index, float value)
set scale for calibration of component ‘index’
void setSumEtComponent(unsigned int index, float value)
set sum of |Et| for component ‘index’
int m_flag
Basic information: event status flag: 0 (default) means OK.
float getSumEComponent(unsigned int index) const
get sum of |E| from component ‘index’
void setSumE(float sumE)
set sum of |E|
long m_roiWord
Basic information: RoIword.
void addEx(float ex)
increment Ex component
void setExComponent(unsigned int index, float value)
set Ex for component ‘index’
float getExComponent(unsigned int index) const
get Ex from component ‘index’
float getSumEtComponent(unsigned int index) const
get sum of |Et| from component ‘index’
unsigned int getNumOfComponents() const
get number of auxiliary components
TrigMissingET()
default constructor
float sumE() const
sum of |E|
void setEyComponent(unsigned int index, float value)
set Ey for component ‘index’
int getFlag() const
event flag: 0 (default) means OK
void setFlag(int flag)
set event flag
void setSumEt(float ets)
set sum of |Et|
float getComponentCalib0(unsigned int index) const
get constant term for calibration of component ‘index’
void addSumE(float sumE)
increment sumE
float getEzComponent(unsigned int index) const
get Ez from component ‘index’
float ey() const
Ey component of missing energy vector.
long RoIword() const
RoI word.
std::vector< TrigMissingEtComponent > m_compVec
Auxiliary information: components from different calo layers and muons.
void setComponentCalib0(unsigned int index, float value)
set constant term for calibration of component ‘index’
void setNameOfComponent(unsigned int index, const char *str)
set name of component ‘index’
void setEx(float ex)
set Ex component
float getComponentCalib1(unsigned int index) const
get scale for calibration of component ‘index’
float et() const
(modulus of) transverse energy
void set_RoIword(long word)
set RoIword
float m_ey
Basic information: Ey component.
void addEz(float ez)
increment Ez component
void setEz(float ez)
set Ez component