19 log << MSG::DEBUG <<
"TrigMissingETCnv_p2::persToTrans called " <<
endmsg;
22 std::vector<TrigMissingEtComponent> compVec;
29 c.setName( persObj->
m_c_name[i].c_str() );
31 c.setEx( persObj->
m_c_ex[i] );
32 c.setEy( persObj->
m_c_ey[i] );
33 c.setEz( persObj->
m_c_ez[i] );
41 compVec.push_back( c );
62 log << MSG::DEBUG <<
"TrigMissingETCnv_p2::transToPers called " <<
endmsg;
65 persObj->
m_ex = transObj->
ex();
66 persObj->
m_ey = transObj->
ey();
67 persObj->
m_ez = transObj->
ez();
91 persObj->
m_c_ex.reserve(N);
92 persObj->
m_c_ey.reserve(N);
93 persObj->
m_c_ez.reserve(N);
101 for (
unsigned int i=0; i<N; ++i) {
virtual void transToPers(const TrigMissingET *transObj, TrigMissingET_p2 *persObj, MsgStream &log)
virtual void persToTrans(const TrigMissingET_p2 *persObj, TrigMissingET *transObj, MsgStream &log)
std::vector< float > m_c_ez
std::vector< std::string > m_c_name
std::vector< float > m_c_ey
float m_ex
Basic information.
std::vector< short > m_c_status
std::vector< float > m_c_calib1
std::vector< float > m_c_sumEt
std::vector< float > m_c_calib0
std::vector< unsigned short > m_c_usedChannels
std::vector< float > m_c_sumE
std::vector< short > m_c_sumOfSigns
unsigned int m_comp_number
Auxiliary information.
std::vector< float > m_c_ex
Class for LVL2/EF MissingET trigger.
float ez() const
Ez component of missing energy vector.
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
short getStatus(unsigned int index) const
get status flag for component ‘index’
float getEyComponent(unsigned int index) const
get Ey from component ‘index’
std::string getNameOfComponent(unsigned int index) const
get name of component ‘index’
float sumEt() const
sum of |Et|
short getSumOfSigns(unsigned int index) const
get sum of energy signs for calibration of component ‘index’
float getSumEComponent(unsigned int index) const
get sum of |E| from component ‘index’
void setSumE(float sumE)
set sum of |E|
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
float sumE() const
sum of |E|
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’
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.
void setEx(float ex)
set Ex component
float getComponentCalib1(unsigned int index) const
get scale for calibration of component ‘index’
void set_RoIword(long word)
set RoIword
void setEz(float ez)
set Ez component
MET trigger slice components (auxiliary information for TrigMissingET)