ATLAS Offline Software
TrigSpacePointCountsCnv_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 
9 
11  TrigSpacePointCounts* transObj,
12  MsgStream &log)
13 {
14  log << MSG::DEBUG << "TrigSpacePointCountsCnv_p2::persToTrans called " << endmsg;
15 
16  TrigHisto2D pixelClusEndcapC;
17  m_trigHistoCnv.persToTrans(&persObj->m_pixelClusEndcapC, &pixelClusEndcapC, log);
18 
19  TrigHisto2D pixelClusBarrel;
20  m_trigHistoCnv.persToTrans(&persObj->m_pixelClusBarrel, &pixelClusBarrel, log);
21 
22  TrigHisto2D pixelClusEndcapA;
23  m_trigHistoCnv.persToTrans(&persObj->m_pixelClusEndcapA, &pixelClusEndcapA, log);
24 
25  *transObj = TrigSpacePointCounts (std::move(pixelClusEndcapC),
26  std::move(pixelClusBarrel),
27  std::move(pixelClusEndcapA),
28  std::vector<Identifier>(),
29  persObj->m_sctSpEndcapC,
30  persObj->m_sctSpBarrel,
31  persObj->m_sctSpEndcapA,
32  std::vector<Identifier>());
33 }
34 
35 
37  TrigSpacePointCounts_p2* persObj,
38  MsgStream &log)
39 {
40  log << MSG::DEBUG << "TrigSpacePointCountsCnv_p2::transToPers called " << endmsg;
41 
45  persObj->m_sctSpEndcapC = transObj->sctSpEndcapC();
46  persObj->m_sctSpBarrel = transObj->sctSpBarrel();
47  persObj->m_sctSpEndcapA = transObj->sctSpEndcapA();
48 }
TrigSpacePointCounts_p2::m_pixelClusBarrel
TrigHisto2D_p1 m_pixelClusBarrel
Definition: TrigSpacePointCounts_p2.h:43
TrigSpacePointCounts::pixelClusBarrel
const TrigHisto2D & pixelClusBarrel(void) const
Definition: TrigSpacePointCounts.cxx:68
TrigSpacePointCounts_p2::m_sctSpBarrel
unsigned int m_sctSpBarrel
Definition: TrigSpacePointCounts_p2.h:46
TrigSpacePointCounts::sctSpEndcapA
unsigned int sctSpEndcapA(void) const
Definition: TrigSpacePointCounts.cxx:88
TrigSpacePointCounts::pixelClusEndcapC
const TrigHisto2D & pixelClusEndcapC(void) const
Definition: TrigSpacePointCounts.cxx:64
TrigSpacePointCounts::sctSpEndcapC
unsigned int sctSpEndcapC(void) const
Definition: TrigSpacePointCounts.cxx:80
TrigSpacePointCountsCnv_p2::transToPers
virtual void transToPers(const TrigSpacePointCounts *transObj, TrigSpacePointCounts_p2 *persObj, MsgStream &log)
Definition: TrigSpacePointCountsCnv_p2.cxx:36
TrigSpacePointCountsCnv_p2.h
TrigSpacePointCounts::pixelClusEndcapA
const TrigHisto2D & pixelClusEndcapA(void) const
Definition: TrigSpacePointCounts.cxx:72
TrigSpacePointCounts_p2::m_sctSpEndcapC
unsigned int m_sctSpEndcapC
Definition: TrigSpacePointCounts_p2.h:45
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigSpacePointCounts_p2.h
TrigSpacePointCounts_p2::m_sctSpEndcapA
unsigned int m_sctSpEndcapA
Definition: TrigSpacePointCounts_p2.h:47
TrigSpacePointCounts::sctSpBarrel
unsigned int sctSpBarrel(void) const
Definition: TrigSpacePointCounts.cxx:84
TrigSpacePointCounts_p2::m_pixelClusEndcapC
TrigHisto2D_p1 m_pixelClusEndcapC
Definition: TrigSpacePointCounts_p2.h:42
TrigSpacePointCounts_p2
Definition: TrigSpacePointCounts_p2.h:23
TrigSpacePointCounts
Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Old TrigSpacePointCounts
Definition: TrigInDetEventTPCnv.cxx:156
TrigHisto2D
A very basic two dimensional histogram to provide storage of HLT distributions, allowing constraints ...
Definition: Trigger/TrigEvent/TrigInDetEvent/TrigInDetEvent/TrigHisto2D.h:24
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
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TrigSpacePointCounts_p2::m_pixelClusEndcapA
TrigHisto2D_p1 m_pixelClusEndcapA
Definition: TrigSpacePointCounts_p2.h:44
TrigSpacePointCounts
Definition: Trigger/TrigEvent/TrigInDetEvent/TrigInDetEvent/TrigSpacePointCounts.h:20
TrigHisto2DCnv_p1::persToTrans
virtual void persToTrans(const TrigHisto2D_p1 *persObj, TrigHisto2D *transObj, MsgStream &log)
Definition: TrigHisto2DCnv_p1.cxx:9
TrigSpacePointCountsCnv_p2::persToTrans
virtual void persToTrans(const TrigSpacePointCounts_p2 *persObj, TrigSpacePointCounts *transObj, MsgStream &log)
Definition: TrigSpacePointCountsCnv_p2.cxx:10
TrigSpacePointCountsCnv_p2::m_trigHistoCnv
TrigHisto2DCnv_p1 m_trigHistoCnv
Definition: TrigSpacePointCountsCnv_p2.h:46
TrigSpacePointCounts.h