ATLAS Offline Software
TrigMissingETCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
8 
9 
11  TrigMissingET* transObj,
12  MsgStream &log)
13 {
14  log << MSG::DEBUG << "TrigMissingETCnv_p1::persToTrans called " << endmsg;
15 
16  // Clear auxiliary info.
17  *transObj = TrigMissingET(0);
18 
19  transObj->setEx (persObj->m_ex) ;
20  transObj->setEy (persObj->m_ey) ;
21  transObj->setSumEt (persObj->m_sum_et) ;
22  transObj->set_RoIword (persObj->m_roiWord) ;
23 
24  // basic info only present in new version
25  transObj->setEz (0);
26  transObj->setSumE (0);
27  transObj->setFlag (0);
28 }
29 
30 
32  TrigMissingET_p1* /*persObj*/,
33  MsgStream &log)
34 {
35  log << MSG::DEBUG << "TrigMissingETCnv_p1::transToPers called " << endmsg;
36  log << MSG::WARNING << "should call new converter! Skipping..." << endmsg;
37 
38 // persObj->m_ex = transObj->m_ex ;
39 // persObj->m_ey = transObj->m_ey ;
40 // persObj->m_sum_et = transObj->m_sum_et ;
41 // persObj->m_roiWord = transObj->m_roiWord ;
42 
43 }
TrigMissingETCnv_p1::transToPers
virtual void transToPers(const TrigMissingET *transObj, TrigMissingET_p1 *persObj, MsgStream &log)
Definition: TrigMissingETCnv_p1.cxx:31
TrigMissingET_p1.h
TrigMissingET::setEx
void setEx(float ex)
set Ex component
Definition: Trigger/TrigEvent/TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingET.h:82
TrigMissingET::set_RoIword
void set_RoIword(long word)
set RoIword
Definition: Trigger/TrigEvent/TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingET.h:95
TrigMissingET_p1::m_roiWord
long m_roiWord
Definition: TrigMissingET_p1.h:50
TrigMissingET::setFlag
void setFlag(int flag)
set event flag
Definition: Trigger/TrigEvent/TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingET.h:93
TrigMissingET::setSumEt
void setSumEt(float ets)
set sum of |Et|
Definition: Trigger/TrigEvent/TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingET.h:88
TrigMissingET::setSumE
void setSumE(float sumE)
set sum of |E|
Definition: Trigger/TrigEvent/TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingET.h:90
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigMissingET_p1::m_ex
double m_ex
Definition: TrigMissingET_p1.h:47
TrigMissingETCnv_p1::persToTrans
virtual void persToTrans(const TrigMissingET_p1 *persObj, TrigMissingET *transObj, MsgStream &log)
Definition: TrigMissingETCnv_p1.cxx:10
TrigMissingET
Class for LVL2/EF MissingET trigger.
Definition: Trigger/TrigEvent/TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingET.h:35
TrigMissingET::setEz
void setEz(float ez)
set Ez component
Definition: Trigger/TrigEvent/TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingET.h:86
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TrigMissingET_p1::m_sum_et
double m_sum_et
Definition: TrigMissingET_p1.h:49
TrigMissingET_p1::m_ey
double m_ey
Definition: TrigMissingET_p1.h:48
TrigMissingETCnv_p1.h
TrigMissingET_p1
Definition: TrigMissingET_p1.h:26
TrigMissingET
TrigMissingET
Definition: TrigMissingEtEventTPCnv.cxx:27
TrigMissingET.h
TrigMissingET::setEy
void setEy(float ey)
set Ey component
Definition: Trigger/TrigEvent/TrigMissingEtEvent/TrigMissingEtEvent/TrigMissingET.h:84