ATLAS Offline Software
TrigTrackCountsCnv_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  TrigTrackCounts *transObj,
11  MsgStream &log)
12 {
13  log << MSG::DEBUG << "TrigTrackCountsCnv_p2::persToTrans called " << endmsg;
14 
15  TrigHisto2D z0_pt;
16  m_trigHistoCnv.persToTrans(&persObj->m_z0_pt, &z0_pt, log);
17  TrigHisto2D eta_phi;
18  m_trigHistoCnv.persToTrans(&persObj->m_eta_phi, &eta_phi, log);
19  *transObj = TrigTrackCounts (std::move(z0_pt), std::move(eta_phi));
20 }
21 
22 
24  TrigTrackCounts_p2* persObj,
25  MsgStream &log)
26 {
27  log << MSG::DEBUG << "TrigTrackCountsCnv_p2::transToPers called " << endmsg;
28 
29  m_trigHistoCnv.transToPers(&transObj->z0_pt(), &persObj->m_z0_pt, log);
30  m_trigHistoCnv.transToPers(&transObj->eta_phi(), &persObj->m_eta_phi, log);
31 }
TrigTrackCounts
Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Old Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Current Athena::TPCnvVers::Current TrigTrackCounts
Definition: TrigInDetEventTPCnv.cxx:196
TrigTrackCounts
Definition: Trigger/TrigEvent/TrigInDetEvent/TrigInDetEvent/TrigTrackCounts.h:18
TrigTrackCountsCnv_p2::m_trigHistoCnv
TrigHisto2DCnv_p1 m_trigHistoCnv
Definition: TrigTrackCountsCnv_p2.h:45
TrigTrackCounts::eta_phi
const TrigHisto2D & eta_phi(void) const
Definition: TrigTrackCounts.cxx:37
TrigTrackCounts_p2.h
TrigTrackCounts.h
TrigTrackCounts_p2
Definition: TrigTrackCounts_p2.h:23
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigTrackCounts::z0_pt
const TrigHisto2D & z0_pt(void) const
Definition: TrigTrackCounts.cxx:33
TrigTrackCountsCnv_p2::transToPers
virtual void transToPers(const TrigTrackCounts *transObj, TrigTrackCounts_p2 *persObj, MsgStream &log)
Definition: TrigTrackCountsCnv_p2.cxx:23
TrigHisto2D
A very basic two dimensional histogram to provide storage of HLT distributions, allowing constraints ...
Definition: Trigger/TrigEvent/TrigInDetEvent/TrigInDetEvent/TrigHisto2D.h:24
TrigTrackCounts_p2::m_z0_pt
TrigHisto2D_p1 m_z0_pt
Definition: TrigTrackCounts_p2.h:44
TrigHisto2DCnv_p1::transToPers
virtual void transToPers(const TrigHisto2D *transObj, TrigHisto2D_p1 *persObj, MsgStream &log)
Definition: TrigHisto2DCnv_p1.cxx:25
DEBUG
#define DEBUG
Definition: page_access.h:11
TrigTrackCountsCnv_p2.h
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TrigTrackCountsCnv_p2::persToTrans
virtual void persToTrans(const TrigTrackCounts_p2 *persObj, TrigTrackCounts *transObj, MsgStream &log)
Definition: TrigTrackCountsCnv_p2.cxx:9
TrigHisto2DCnv_p1::persToTrans
virtual void persToTrans(const TrigHisto2D_p1 *persObj, TrigHisto2D *transObj, MsgStream &log)
Definition: TrigHisto2DCnv_p1.cxx:9
TrigTrackCounts_p2::m_eta_phi
TrigHisto2D_p1 m_eta_phi
Definition: TrigTrackCounts_p2.h:45