ATLAS Offline Software
TrigMuonEFCnv_p2.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  TrigMuonEF* transObj,
12  MsgStream &log)
13 {
14  log << MSG::DEBUG << "TrigMuonEFCnv_p2::persToTrans called " << endmsg;
15 
16  transObj->set_muonCode (persObj->m_muonCode);
17  transObj->set_RoINum (persObj->m_roi);
18  transObj->set_Charge (persObj->m_charge);
19 
20 // fillTransFromPStore( &m_P4IPtCotThPhiMCnv, persObj->m_P4IPtCotThPhiM, transObj, log );
21  m_P4IPtCotThPhiMCnv.persToTrans(&(persObj->m_P4IPtCotThPhiM), transObj, log);
22 }
23 
24 
26  TrigMuonEF_p2* persObj,
27  MsgStream &log)
28 {
29  log << MSG::DEBUG << "TrigMuonEFCnv_p2::transToPers called " << endmsg;
30 
31  persObj->m_muonCode = transObj->MuonCode();
32  persObj->m_roi = transObj->RoINum();
33  persObj->m_charge = transObj->Charge();
34 
35 // persObj->m_P4IPtCotThPhiM = baseToPersistent( &m_P4IPtCotThPhiMCnv, transObj, log );
36  m_P4IPtCotThPhiMCnv.transToPers(transObj, &(persObj->m_P4IPtCotThPhiM), log);
37 
38 }
TrigMuonEF_p2::m_charge
float m_charge
Definition: TrigMuonEF_p2.h:53
TrigMuonEF::RoINum
const std::string & RoINum() const
Seeding algorithm RoI number.
Definition: TrigMuonEF.h:60
TrigMuonEFCnv_p2::m_P4IPtCotThPhiMCnv
P4IPtCotThPhiMCnv_p1 m_P4IPtCotThPhiMCnv
Definition: TrigMuonEFCnv_p2.h:39
TrigMuonEF::Charge
double Charge() const
Charge.
Definition: TrigMuonEF.h:63
TrigMuonEF_p2::m_muonCode
int m_muonCode
Definition: TrigMuonEF_p2.h:51
TrigMuonEFCnv_p2::transToPers
virtual void transToPers(const TrigMuonEF *transObj, TrigMuonEF_p2 *persObj, MsgStream &log)
Definition: TrigMuonEFCnv_p2.cxx:25
P4IPtCotThPhiMCnv_p1::transToPers
virtual void transToPers(const P4IPtCotThPhiM *transObj, P4IPtCotThPhiM_p1 *persObj, MsgStream &log) const override
Method creating the persistent representation P4IPtCotThPhiM_p1 from its transient representation P4I...
Definition: P4IPtCotThPhiMCnv_p1.cxx:38
TrigMuonEF_p2::m_P4IPtCotThPhiM
P4IPtCotThPhiM_p1 m_P4IPtCotThPhiM
Definition: TrigMuonEF_p2.h:55
TrigMuonEF_p2::m_roi
std::string m_roi
Definition: TrigMuonEF_p2.h:52
TrigMuonEF.h
TrigMuonEF_p2
Definition: TrigMuonEF_p2.h:30
TrigMuonEFCnv_p2::persToTrans
virtual void persToTrans(const TrigMuonEF_p2 *persObj, TrigMuonEF *transObj, MsgStream &log)
Definition: TrigMuonEFCnv_p2.cxx:10
TrigMuonEFCnv_p2.h
TrigMuonEF_p2.h
TrigMuonEF::set_RoINum
void set_RoINum(const std::string &theRoINum)
Set RoINum.
Definition: TrigMuonEF.cxx:42
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigMuonEF
Definition: TrigMuonEF.h:26
TrigMuonEF::set_muonCode
void set_muonCode(int theMuonCode)
Set MuonCode.
Definition: TrigMuonEF.cxx:37
P4IPtCotThPhiMCnv_p1::persToTrans
virtual void persToTrans(const P4IPtCotThPhiM_p1 *persObj, P4IPtCotThPhiM *transObj, MsgStream &log) const override
Method creating the transient representation of P4IPtCotThPhiM from its persistent representation P4I...
Definition: P4IPtCotThPhiMCnv_p1.cxx:26
TrigMuonEF::set_Charge
void set_Charge(double theCharge)
Set Charge.
Definition: TrigMuonEF.cxx:47
TrigMuonEF::MuonCode
int MuonCode() const
Code for type of muon.
Definition: TrigMuonEF.h:57
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20