ATLAS Offline Software
Trigger
TrigEvent
TrigMuonEventTPCnv
src
TileMuFeatureCnv_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
5
#include "
TrigMuonEvent/TileMuFeature.h
"
6
#include "
TrigMuonEventTPCnv/TileMuFeature_p2.h
"
7
#include "
TrigMuonEventTPCnv/TileMuFeatureCnv_p2.h
"
8
9
void
TileMuFeatureCnv_p2::persToTrans
(
const
TileMuFeature_p2
* persObj,
10
TileMuFeature
* transObj,
11
MsgStream &
log
)
12
{
13
log
<<
MSG::DEBUG
<<
"TileMuFeatureCnv_p2::persToTrans called "
<<
endmsg
;
14
15
*transObj =
TileMuFeature
(persObj->
m_allTheFloats
[0],
// eta
16
persObj->
m_allTheFloats
[1],
// phi
17
persObj->
m_energy_deposited
,
18
persObj->
m_allTheFloats
[2]);
// qual
19
}
20
21
void
TileMuFeatureCnv_p2::transToPers
(
const
TileMuFeature
* transObj,
22
TileMuFeature_p2
* persObj,
23
MsgStream &
log
)
24
{
25
log
<<
MSG::DEBUG
<<
"TileMuFeatureCnv_p2::transToPers called "
<<
endmsg
;
26
27
persObj->
m_allTheFloats
[0] = transObj->
eta
();
28
persObj->
m_allTheFloats
[1] = transObj->
phi
();
29
persObj->
m_energy_deposited
= transObj->
enedep
();
30
persObj->
m_allTheFloats
[2] = transObj->
quality
();
31
}
32
TileMuFeature::phi
float phi() const
Definition:
TileMuFeature.h:56
TileMuFeature_p2::m_allTheFloats
float m_allTheFloats[3]
Definition:
TileMuFeature_p2.h:44
TileMuFeature::enedep
const std::vector< float > & enedep() const
Definition:
TileMuFeature.h:57
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
TileMuFeatureCnv_p2.h
TileMuFeature::quality
float quality() const
Definition:
TileMuFeature.h:58
TileMuFeature_p2::m_energy_deposited
std::vector< float > m_energy_deposited
Definition:
TileMuFeature_p2.h:47
DEBUG
#define DEBUG
Definition:
page_access.h:11
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
TileMuFeature_p2.h
TileMuFeature::eta
float eta() const
Accessor.
Definition:
TileMuFeature.h:55
TileMuFeature.h
TileMuFeatureCnv_p2::transToPers
virtual void transToPers(const TileMuFeature *transObj, TileMuFeature_p2 *persObj, MsgStream &log)
Definition:
TileMuFeatureCnv_p2.cxx:21
TileMuFeature_p2
Definition:
TileMuFeature_p2.h:24
TileMuFeatureCnv_p2::persToTrans
virtual void persToTrans(const TileMuFeature_p2 *persObj, TileMuFeature *transObj, MsgStream &log)
Definition:
TileMuFeatureCnv_p2.cxx:9
TileMuFeature
Definition:
TileMuFeature.h:30
Generated on Thu Nov 7 2024 21:28:18 for ATLAS Offline Software by
1.8.18