19#ifndef TRIGMISSINGETEVENT_TRIGMISSINGET_H
20#define TRIGMISSINGETEVENT_TRIGMISSINGET_H
43 TrigMissingET(std::vector< TrigMissingEtComponent >&& compVec);
101 std::string getNameOfComponent(
unsigned int index)
const;
103 float getExComponent(
unsigned int index)
const;
105 float getEyComponent(
unsigned int index)
const;
107 float getEzComponent(
unsigned int index)
const;
109 float getSumEtComponent(
unsigned int index)
const;
111 float getSumEComponent(
unsigned int index)
const;
113 float getComponentCalib0(
unsigned int index)
const;
115 float getComponentCalib1(
unsigned int index)
const;
117 short getSumOfSigns(
unsigned int index)
const;
119 unsigned short getUsedChannels(
unsigned int index)
const;
121 short getStatus(
unsigned int index)
const;
124 void setNameOfComponent(
unsigned int index,
const char*
str);
126 void setExComponent(
unsigned int index,
float value);
128 void setEyComponent(
unsigned int index,
float value);
130 void setEzComponent(
unsigned int index,
float value);
132 void setSumEtComponent(
unsigned int index,
float value);
134 void setSumEComponent(
unsigned int index,
float value);
136 void setComponentCalib0(
unsigned int index,
float value);
138 void setComponentCalib1(
unsigned int index,
float value);
140 void setSumOfSigns(
unsigned int index,
short value);
142 void setUsedChannels(
unsigned int index,
unsigned short value);
144 void setStatus(
unsigned int index,
short value);
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.
float ez() const
Ez component of missing energy vector.
void addEy(float ey)
increment Ey component
friend MsgStream & operator<<(MsgStream &m, const TrigMissingET &d)
get name of component index' */ std::string getNameOfComponent(unsigned int index) const; /** get Ex ...
float ex() const
Ex component of missing energy vector.
void setEy(float ey)
set Ey component
float m_ez
Basic information: Ez component.
void addSumEt(float ets)
increment sumEt
float m_sum_et
Basic information: scalar sum of Et.
float m_ex
Basic information: Ex component.
void clear()
reset contents
float e() const
(modulus of) energy
float sumEt() const
sum of |Et|
float m_sum_e
Basic information: scalar sum of E.
int m_flag
Basic information: event status flag: 0 (default) means OK.
void setSumE(float sumE)
set sum of |E|
long m_roiWord
Basic information: RoIword.
void addEx(float ex)
increment Ex component
unsigned int getNumOfComponents() const
get number of auxiliary components
float sumE() const
sum of |E|
int getFlag() const
event flag: 0 (default) means OK
TrigMissingET()=default
default constructor
void setFlag(int flag)
set event flag
void setSumEt(float ets)
set sum of |Et|
void addSumE(float sumE)
increment sumE
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 setEx(float ex)
set Ex component
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