ATLAS Offline Software
Loading...
Searching...
No Matches
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}
#define endmsg
P4IPtCotThPhiMCnv_p1 m_P4IPtCotThPhiMCnv
virtual void transToPers(const TrigMuonEF *transObj, TrigMuonEF_p2 *persObj, MsgStream &log)
virtual void persToTrans(const TrigMuonEF_p2 *persObj, TrigMuonEF *transObj, MsgStream &log)
P4IPtCotThPhiM_p1 m_P4IPtCotThPhiM
std::string m_roi
double Charge() const
Charge.
Definition TrigMuonEF.h:63
void set_Charge(double theCharge)
Set Charge.
int MuonCode() const
Code for type of muon.
Definition TrigMuonEF.h:57
const std::string & RoINum() const
Seeding algorithm RoI number.
Definition TrigMuonEF.h:60
void set_RoINum(const std::string &theRoINum)
Set RoINum.
void set_muonCode(int theMuonCode)
Set MuonCode.