ATLAS Offline Software
Loading...
Searching...
No Matches
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
38 MsgStream &log)
39{
40 log << MSG::DEBUG << "TrigSpacePointCountsCnv_p2::transToPers called " << endmsg;
41
42 m_trigHistoCnv.transToPers(&transObj->pixelClusEndcapC(), &persObj->m_pixelClusEndcapC, log);
43 m_trigHistoCnv.transToPers(&transObj->pixelClusBarrel(), &persObj->m_pixelClusBarrel, log);
44 m_trigHistoCnv.transToPers(&transObj->pixelClusEndcapA(), &persObj->m_pixelClusEndcapA, log);
45 persObj->m_sctSpEndcapC = transObj->sctSpEndcapC();
46 persObj->m_sctSpBarrel = transObj->sctSpBarrel();
47 persObj->m_sctSpEndcapA = transObj->sctSpEndcapA();
48}
#define endmsg
Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Current TrigSpacePointCounts
A very basic two dimensional histogram to provide storage of HLT distributions, allowing constraints ...
virtual void persToTrans(const TrigSpacePointCounts_p2 *persObj, TrigSpacePointCounts *transObj, MsgStream &log)
virtual void transToPers(const TrigSpacePointCounts *transObj, TrigSpacePointCounts_p2 *persObj, MsgStream &log)
const TrigHisto2D & pixelClusEndcapA(void) const
unsigned int sctSpBarrel(void) const
const TrigHisto2D & pixelClusBarrel(void) const
const TrigHisto2D & pixelClusEndcapC(void) const
unsigned int sctSpEndcapC(void) const
unsigned int sctSpEndcapA(void) const