ATLAS Offline Software
ElectronMuonTopoInfoCnv_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  ElectronMuonTopoInfo* transObj,
12  MsgStream &log)
13 {
14  log << MSG::DEBUG << "ElectronMuonTopoInfoCnv_p1::persToTrans called " << endmsg;
15 
16  transObj->SetRoiWord (persObj->m_roiWord) ;
17  transObj->SetDeltaPhi (persObj->m_DeltaPhi) ;
18  transObj->SetDeltaR (persObj->m_DeltaR) ;
19  transObj->SetInvMass (persObj->m_InvMass) ;
20  transObj->SetElecValid (persObj->m_electronValid) ;
21  transObj->SetOppositeCharge (persObj->m_oppositeCharge) ;
22  transObj->SetVertexState (persObj->m_vertexState) ;
23 
24 }
25 
26 
28  ElectronMuonTopoInfo_p1* persObj,
29  MsgStream &log)
30 {
31  log << MSG::DEBUG << "ElectronMuonTopoInfoCnv_p1::transToPers called " << endmsg;
32 
33  persObj->m_roiWord = transObj->RoiWord() ;
34  persObj->m_DeltaPhi = transObj->DeltaPhi() ;
35  persObj->m_DeltaR = transObj->DeltaR() ;
36  persObj->m_InvMass = transObj->InvMass() ;
37  persObj->m_electronValid = transObj->ElecValid() ;
38  persObj->m_oppositeCharge = transObj->OppositeCharge() ;
39  persObj->m_vertexState = transObj->VertexState() ;
40 
41 }
ElectronMuonTopoInfo::SetOppositeCharge
void SetOppositeCharge(bool OppositeCharge)
Definition: ElectronMuonTopoInfo.cxx:59
ElectronMuonTopoInfo_p1::m_vertexState
unsigned short m_vertexState
Definition: ElectronMuonTopoInfo_p1.h:58
ElectronMuonTopoInfo_p1::m_electronValid
bool m_electronValid
Definition: ElectronMuonTopoInfo_p1.h:56
ElectronMuonTopoInfoCnv_p1::transToPers
virtual void transToPers(const ElectronMuonTopoInfo *transObj, ElectronMuonTopoInfo_p1 *persObj, MsgStream &log)
Definition: ElectronMuonTopoInfoCnv_p1.cxx:27
ElectronMuonTopoInfo::InvMass
float InvMass() const
Definition: ElectronMuonTopoInfo.h:65
ElectronMuonTopoInfo
ElectronMuonTopoInfo is a class for storing information about combuned electron-muon object....
Definition: ElectronMuonTopoInfo.h:51
ElectronMuonTopoInfo.h
ElectronMuonTopoInfo::SetVertexState
void SetVertexState(unsigned short vextexState)
Definition: ElectronMuonTopoInfo.cxx:60
ElectronMuonTopoInfo_p1::m_oppositeCharge
bool m_oppositeCharge
Definition: ElectronMuonTopoInfo_p1.h:57
ElectronMuonTopoInfo::SetInvMass
void SetInvMass(float InvMass)
Definition: ElectronMuonTopoInfo.cxx:57
ElectronMuonTopoInfo::SetDeltaPhi
void SetDeltaPhi(float DeltaPhi)
Definition: ElectronMuonTopoInfo.cxx:55
ElectronMuonTopoInfo_p1.h
ElectronMuonTopoInfo_p1::m_InvMass
float m_InvMass
Definition: ElectronMuonTopoInfo_p1.h:55
ElectronMuonTopoInfo_p1::m_DeltaPhi
float m_DeltaPhi
Definition: ElectronMuonTopoInfo_p1.h:53
ElectronMuonTopoInfo_p1::m_roiWord
int m_roiWord
Definition: ElectronMuonTopoInfo_p1.h:52
ElectronMuonTopoInfo::VertexState
unsigned short VertexState() const
Definition: ElectronMuonTopoInfo.h:68
ElectronMuonTopoInfoCnv_p1.h
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
ElectronMuonTopoInfo::OppositeCharge
bool OppositeCharge() const
Definition: ElectronMuonTopoInfo.h:67
ElectronMuonTopoInfo::ElecValid
bool ElecValid() const
Definition: ElectronMuonTopoInfo.h:66
ElectronMuonTopoInfo_p1
Definition: ElectronMuonTopoInfo_p1.h:22
ElectronMuonTopoInfo::SetElecValid
void SetElecValid(bool ElecValid)
Definition: ElectronMuonTopoInfo.cxx:58
ElectronMuonTopoInfoCnv_p1::persToTrans
virtual void persToTrans(const ElectronMuonTopoInfo_p1 *persObj, ElectronMuonTopoInfo *transObj, MsgStream &log)
Definition: ElectronMuonTopoInfoCnv_p1.cxx:10
ElectronMuonTopoInfo_p1::m_DeltaR
float m_DeltaR
Definition: ElectronMuonTopoInfo_p1.h:54
ElectronMuonTopoInfo::SetDeltaR
void SetDeltaR(float DeltaR)
Definition: ElectronMuonTopoInfo.cxx:56
ElectronMuonTopoInfo::RoiWord
int RoiWord() const
accessor methods
Definition: ElectronMuonTopoInfo.h:62
ElectronMuonTopoInfo::DeltaR
float DeltaR() const
Definition: ElectronMuonTopoInfo.h:64
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
ElectronMuonTopoInfo::SetRoiWord
void SetRoiWord(int RoiWord)
set methods
Definition: ElectronMuonTopoInfo.cxx:54
ElectronMuonTopoInfo::DeltaPhi
float DeltaPhi() const
Definition: ElectronMuonTopoInfo.h:63