ATLAS Offline Software
TrigSpacePointCountsCnv_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 
9 
11  TrigSpacePointCounts* transObj,
12  MsgStream &log)
13 {
14  log << MSG::DEBUG << "TrigSpacePointCountsCnv_p1::persToTrans called " << endmsg;
15 
16  *transObj = TrigSpacePointCounts (TrigHisto2D(),
17  TrigHisto2D(),
18  TrigHisto2D(),
19  std::vector<Identifier>(),
20  persObj->m_SPsctECCcnt,
21  persObj->m_SPsctBarr_cnt,
22  persObj->m_SPsctECAcnt,
23  std::vector<Identifier>());
24 }
25 
26 
28  TrigSpacePointCounts_p1* persObj,
29  MsgStream &log)
30 {
31  log << MSG::DEBUG << "TrigSpacePointCountsCnv_p1::transToPers called " << endmsg;
32 
33  persObj->m_pixSPcnt = 0;
34  persObj->m_sctSPcnt = transObj->sctSpBarrel() + transObj->sctSpEndcapA() + transObj->sctSpEndcapC();
35 
36  persObj->m_pixCL1cnt = 0;
37  persObj->m_pixCL2cnt = 0;
38  persObj->m_pixCLmin3cnt = 0;
39  persObj->m_SPsctBarr_cnt = transObj->sctSpBarrel();
40  persObj->m_SPsctECAcnt = transObj->sctSpEndcapA();
41  persObj->m_SPsctECCcnt = transObj->sctSpEndcapC();
42 }
TrigHisto2D
Athena::TPCnvVers::Old TrigHisto2D
Definition: TrigInDetEventTPCnv.cxx:116
TrigSpacePointCounts_p1::m_sctSPcnt
int m_sctSPcnt
Definition: TrigSpacePointCounts_p1.h:51
TrigSpacePointCounts::sctSpEndcapA
unsigned int sctSpEndcapA(void) const
Definition: TrigSpacePointCounts.cxx:88
TrigSpacePointCounts::sctSpEndcapC
unsigned int sctSpEndcapC(void) const
Definition: TrigSpacePointCounts.cxx:80
TrigSpacePointCounts_p1::m_pixCLmin3cnt
int m_pixCLmin3cnt
Definition: TrigSpacePointCounts_p1.h:46
TrigSpacePointCounts_p1::m_SPsctECAcnt
int m_SPsctECAcnt
Definition: TrigSpacePointCounts_p1.h:53
TrigSpacePointCounts_p1::m_pixCL1cnt
int m_pixCL1cnt
Definition: TrigSpacePointCounts_p1.h:44
TrigSpacePointCounts_p1
Definition: TrigSpacePointCounts_p1.h:22
TrigSpacePointCounts_p1::m_SPsctECCcnt
int m_SPsctECCcnt
Definition: TrigSpacePointCounts_p1.h:54
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigSpacePointCountsCnv_p1.h
TrigSpacePointCounts::sctSpBarrel
unsigned int sctSpBarrel(void) const
Definition: TrigSpacePointCounts.cxx:84
TrigSpacePointCounts_p1::m_SPsctBarr_cnt
int m_SPsctBarr_cnt
Definition: TrigSpacePointCounts_p1.h:52
TrigSpacePointCounts_p1.h
TrigSpacePointCounts_p1::m_pixCL2cnt
int m_pixCL2cnt
Definition: TrigSpacePointCounts_p1.h:45
TrigSpacePointCounts
Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Old TrigSpacePointCounts
Definition: TrigInDetEventTPCnv.cxx:156
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TrigSpacePointCounts
Definition: Trigger/TrigEvent/TrigInDetEvent/TrigInDetEvent/TrigSpacePointCounts.h:20
TrigSpacePointCounts_p1::m_pixSPcnt
int m_pixSPcnt
Definition: TrigSpacePointCounts_p1.h:43
TrigSpacePointCountsCnv_p1::transToPers
virtual void transToPers(const TrigSpacePointCounts *transObj, TrigSpacePointCounts_p1 *persObj, MsgStream &log)
Definition: TrigSpacePointCountsCnv_p1.cxx:27
TrigSpacePointCounts.h
TrigSpacePointCountsCnv_p1::persToTrans
virtual void persToTrans(const TrigSpacePointCounts_p1 *persObj, TrigSpacePointCounts *transObj, MsgStream &log)
Definition: TrigSpacePointCountsCnv_p1.cxx:10