ATLAS Offline Software
Loading...
Searching...
No Matches
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
8
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
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
#define endmsg
virtual void persToTrans(const TileMuFeature_p2 *persObj, TileMuFeature *transObj, MsgStream &log)
virtual void transToPers(const TileMuFeature *transObj, TileMuFeature_p2 *persObj, MsgStream &log)
std::vector< float > m_energy_deposited
const std::vector< float > & enedep() const
float quality() const
float phi() const
float eta() const
Accessor.