ATLAS Offline Software
TrigTrtHitCountsCnv_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 
10  TrigTrtHitCounts *transObj,
11  MsgStream& log ) {
12  log << MSG::DEBUG << "TrigTrtHitCountsCnv_p1::persToTrans" << endmsg;
13 
14  TrigHisto1D endcapC;
15  m_trigHistoCnv.persToTrans(&persObj->m_endcapC, &endcapC, log);
18  TrigHisto1D endcapA;
19  m_trigHistoCnv.persToTrans(&persObj->m_endcapA, &endcapA, log);
20 
21  *transObj = TrigTrtHitCounts (std::move(endcapC),
22  std::move(barrel),
23  std::move(endcapA));
24 }
25 
27  TrigTrtHitCounts_p1 *persObj,
28  MsgStream& log ) {
29  log << MSG::DEBUG << "TrigTrtHitCountsCnv_p1::transToPers" << endmsg;
30 
31  m_trigHistoCnv.transToPers(&transObj->endcapC(), &persObj->m_endcapC, log);
32  m_trigHistoCnv.transToPers(&transObj->barrel(), &persObj->m_barrel, log);
33  m_trigHistoCnv.transToPers(&transObj->endcapA(), &persObj->m_endcapA, log);
34 }
TrigHisto1DCnv_p1::transToPers
virtual void transToPers(const TrigHisto1D *transObj, TrigHisto1D_p1 *persObj, MsgStream &log)
Definition: TrigHisto1DCnv_p1.cxx:22
TrigTrtHitCountsCnv_p1::m_trigHistoCnv
TrigHisto1DCnv_p1 m_trigHistoCnv
Definition: TrigTrtHitCountsCnv_p1.h:39
TrigTrtHitCounts::endcapC
const TrigHisto1D & endcapC(void) const
Return a histogram of time over threshold for endcap C pixel clusters.
Definition: TrigTrtHitCounts.cxx:38
TrigTrtHitCounts_p1.h
TrigTrtHitCounts_p1::m_endcapC
TrigHisto1D_p1 m_endcapC
Definition: TrigTrtHitCounts_p1.h:37
TrigHisto1DCnv_p1::persToTrans
virtual void persToTrans(const TrigHisto1D_p1 *persObj, TrigHisto1D *transObj, MsgStream &log)
Definition: TrigHisto1DCnv_p1.cxx:9
TrigTrtHitCountsCnv_p1::transToPers
virtual void transToPers(const TrigTrtHitCounts *transObj, TrigTrtHitCounts_p1 *persObj, MsgStream &log)
Definition: TrigTrtHitCountsCnv_p1.cxx:26
TrigTrtHitCounts_p1
Definition: TrigTrtHitCounts_p1.h:20
TrigTrtHitCounts
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 Athena::TPCnvVers::Current Athena::TPCnvVers::Current TrigTrtHitCounts
Definition: TrigInDetEventTPCnv.cxx:216
TrigTrtHitCounts.h
TrigHisto1D
A very basic one dimensional histogram to provide storage of HLT distributions, allowing constraints ...
Definition: TrigHisto1D.h:23
TrigTrtHitCounts
A class to store the distributions of time of threshold from the TRT raw data.
Definition: TrigTrtHitCounts.h:19
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigTrtHitCounts_p1::m_barrel
TrigHisto1D_p1 m_barrel
Definition: TrigTrtHitCounts_p1.h:38
TrigTrtHitCounts_p1::m_endcapA
TrigHisto1D_p1 m_endcapA
Definition: TrigTrtHitCounts_p1.h:39
TrigTrtHitCounts::endcapA
const TrigHisto1D & endcapA(void) const
Return a histogram of time over threshold for endcap A pixel clusters.
Definition: TrigTrtHitCounts.cxx:46
TrigTrtHitCountsCnv_p1::persToTrans
virtual void persToTrans(const TrigTrtHitCounts_p1 *persObj, TrigTrtHitCounts *transObj, MsgStream &log)
Definition: TrigTrtHitCountsCnv_p1.cxx:9
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
DetectorZone::barrel
@ barrel
TrigTrtHitCountsCnv_p1.h
TrigTrtHitCounts::barrel
const TrigHisto1D & barrel(void) const
Return a histogram of time over threshold for barrel pixel clusters.
Definition: TrigTrtHitCounts.cxx:42