ATLAS Offline Software
TrigT2JetCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
8 
9 //-----------------------------------------------------------------------------
10 // Persistent to transient
11 //-----------------------------------------------------------------------------
13  TrigT2Jet *transObj,
14  MsgStream &log ) const
15 {
16  log << MSG::DEBUG << "TrigT2JetCnv_p1::persToTrans called " << endmsg;
17 
18  transObj->setE (persObj->m_e) ;
19  transObj->setEhad0 (persObj->m_ehad0) ;
20  transObj->setEem0 (persObj->m_eem0) ;
21  transObj->setEta (persObj->m_eta) ;
22  transObj->setPhi (persObj->m_phi) ;
23  //transObj->m_coneRadius = persObj->m_coneRadius ;
24  transObj->set_RoIword (persObj->m_roiWord) ;
25 
26 }
27 
28 //-----------------------------------------------------------------------------
29 // Transient to persistent
30 //-----------------------------------------------------------------------------
31 void TrigT2JetCnv_p1::transToPers( const TrigT2Jet */*transObj*/,
32  TrigT2Jet_p1 */*persObj*/,
33  MsgStream &log ) const
34 {
35  log << MSG::DEBUG << "TrigT2JetCnv_p1::transToPers called " << endmsg;
36  log << MSG::WARNING << "TrigT2JetCnv_p1::transToPers : Trying to persist obsolete TrigT2JetCnv_p1! I won't write anything!" << endmsg;
37 /*
38  persObj->m_e = transObj->m_e ;
39  persObj->m_ehad0 = transObj->m_ehad0 ;
40  persObj->m_eem0 = transObj->m_eem0 ;
41  persObj->m_eta = transObj->m_eta ;
42  persObj->m_phi = transObj->m_phi ;
43  //persObj->m_coneRadius = transObj->m_coneRadius ;
44  persObj->m_roiWord = transObj->m_roiWord ;
45 */
46 }
47 
TrigT2Jet_p1::m_roiWord
long m_roiWord
Definition: TrigT2Jet_p1.h:52
TrigT2Jet
LVL2 Trigger Jet Class.
Definition: TrigT2Jet.h:30
TrigT2Jet_p1::m_e
float m_e
Definition: TrigT2Jet_p1.h:46
TrigT2Jet::set_RoIword
void set_RoIword(unsigned int word)
set RoI Word
Definition: TrigT2Jet.h:97
TrigT2Jet::setE
void setE(double e)
set Jet energy
Definition: TrigT2Jet.h:81
TrigT2Jet::setEem0
void setEem0(double eem)
Set Electromagnetic energy.
Definition: TrigT2Jet.h:85
TrigT2Jet_p1.h
TrigT2Jet_p1::m_eem0
float m_eem0
Definition: TrigT2Jet_p1.h:48
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigT2Jet_p1::m_ehad0
float m_ehad0
Definition: TrigT2Jet_p1.h:47
TrigT2Jet_p1::m_eta
float m_eta
Definition: TrigT2Jet_p1.h:49
TrigT2Jet_p1
Definition: TrigT2Jet_p1.h:22
TrigT2Jet_p1::m_phi
float m_phi
Definition: TrigT2Jet_p1.h:50
TrigT2JetCnv_p1::persToTrans
virtual void persToTrans(const TrigT2Jet_p1 *persObj, TrigT2Jet *transObj, MsgStream &log) const override
Definition: TrigT2JetCnv_p1.cxx:12
TrigT2Jet::setEta
void setEta(double eta)
set Jet eta
Definition: TrigT2Jet.h:87
TrigT2Jet::setEhad0
void setEhad0(double ehad)
Set Hadronic energy.
Definition: TrigT2Jet.h:83
TrigT2JetCnv_p1.h
TrigT2JetCnv_p1::transToPers
virtual void transToPers(const TrigT2Jet *transObj, TrigT2Jet_p1 *persObj, MsgStream &log) const override
Definition: TrigT2JetCnv_p1.cxx:31
TrigT2Jet::setPhi
void setPhi(double phi)
set Jet phi
Definition: TrigT2Jet.h:89
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TrigT2Jet.h