ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigEvent
TrigTopoEventTPCnv
src
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
5
#include "
TrigTopoEvent/ElectronMuonTopoInfo.h
"
6
#include "
TrigTopoEventTPCnv/ElectronMuonTopoInfo_p1.h
"
7
#include "
TrigTopoEventTPCnv/ElectronMuonTopoInfoCnv_p1.h
"
8
9
10
void
ElectronMuonTopoInfoCnv_p1::persToTrans
(
const
ElectronMuonTopoInfo_p1
* persObj,
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
27
void
ElectronMuonTopoInfoCnv_p1::transToPers
(
const
ElectronMuonTopoInfo
* transObj,
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
}
endmsg
#define endmsg
Definition
AnalysisConfig_Ntuple.cxx:54
ElectronMuonTopoInfoCnv_p1.h
ElectronMuonTopoInfo.h
ElectronMuonTopoInfo_p1.h
ElectronMuonTopoInfoCnv_p1::transToPers
virtual void transToPers(const ElectronMuonTopoInfo *transObj, ElectronMuonTopoInfo_p1 *persObj, MsgStream &log)
Definition
ElectronMuonTopoInfoCnv_p1.cxx:27
ElectronMuonTopoInfoCnv_p1::persToTrans
virtual void persToTrans(const ElectronMuonTopoInfo_p1 *persObj, ElectronMuonTopoInfo *transObj, MsgStream &log)
Definition
ElectronMuonTopoInfoCnv_p1.cxx:10
ElectronMuonTopoInfo_p1
Definition
ElectronMuonTopoInfo_p1.h:22
ElectronMuonTopoInfo_p1::m_DeltaPhi
float m_DeltaPhi
Definition
ElectronMuonTopoInfo_p1.h:44
ElectronMuonTopoInfo_p1::m_oppositeCharge
bool m_oppositeCharge
Definition
ElectronMuonTopoInfo_p1.h:48
ElectronMuonTopoInfo_p1::m_InvMass
float m_InvMass
Definition
ElectronMuonTopoInfo_p1.h:46
ElectronMuonTopoInfo_p1::m_vertexState
unsigned short m_vertexState
Definition
ElectronMuonTopoInfo_p1.h:49
ElectronMuonTopoInfo_p1::m_electronValid
bool m_electronValid
Definition
ElectronMuonTopoInfo_p1.h:47
ElectronMuonTopoInfo_p1::m_DeltaR
float m_DeltaR
Definition
ElectronMuonTopoInfo_p1.h:45
ElectronMuonTopoInfo_p1::m_roiWord
int m_roiWord
Definition
ElectronMuonTopoInfo_p1.h:43
ElectronMuonTopoInfo
ElectronMuonTopoInfo is a class for storing information about combuned electron-muon object.
Definition
ElectronMuonTopoInfo.h:38
ElectronMuonTopoInfo::ElecValid
bool ElecValid() const
Definition
ElectronMuonTopoInfo.h:53
ElectronMuonTopoInfo::SetOppositeCharge
void SetOppositeCharge(bool OppositeCharge)
Definition
ElectronMuonTopoInfo.cxx:55
ElectronMuonTopoInfo::SetElecValid
void SetElecValid(bool ElecValid)
Definition
ElectronMuonTopoInfo.cxx:54
ElectronMuonTopoInfo::VertexState
unsigned short VertexState() const
Definition
ElectronMuonTopoInfo.h:55
ElectronMuonTopoInfo::SetDeltaR
void SetDeltaR(float DeltaR)
Definition
ElectronMuonTopoInfo.cxx:52
ElectronMuonTopoInfo::DeltaPhi
float DeltaPhi() const
Definition
ElectronMuonTopoInfo.h:50
ElectronMuonTopoInfo::SetVertexState
void SetVertexState(unsigned short vextexState)
Definition
ElectronMuonTopoInfo.cxx:56
ElectronMuonTopoInfo::DeltaR
float DeltaR() const
Definition
ElectronMuonTopoInfo.h:51
ElectronMuonTopoInfo::SetInvMass
void SetInvMass(float InvMass)
Definition
ElectronMuonTopoInfo.cxx:53
ElectronMuonTopoInfo::SetRoiWord
void SetRoiWord(int RoiWord)
set methods
Definition
ElectronMuonTopoInfo.cxx:50
ElectronMuonTopoInfo::OppositeCharge
bool OppositeCharge() const
Definition
ElectronMuonTopoInfo.h:54
ElectronMuonTopoInfo::RoiWord
int RoiWord() const
accessor methods
Definition
ElectronMuonTopoInfo.h:49
ElectronMuonTopoInfo::SetDeltaPhi
void SetDeltaPhi(float DeltaPhi)
Definition
ElectronMuonTopoInfo.cxx:51
ElectronMuonTopoInfo::InvMass
float InvMass() const
Definition
ElectronMuonTopoInfo.h:52
Generated on
for ATLAS Offline Software by
1.17.0