ATLAS Offline Software
ALFA_CLinkEventCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
8 
9 void ALFA_CLinkEventCnv_p1::persToTrans(const ALFA_CLinkEvent_p1* persObj, ALFA_CLinkEvent* transObj, MsgStream &log) const
10 {
11  //MsgStream LogStream(Athena::getMessageSvc(), "ALFA_CLinkEventCnv_p1");
12  //LogStream<<MSG::INFO<<"MARK01-ALFA_CLinkEventCnv_p1::persToTrans"<<endmsg;
13 
14  transObj->SetDCSFolderIDs (&persObj->m_DCSId);
15 
16  DataLink<ALFA_RawDataContainer> rawDataEvCollLink;
17  m_DLRawDataEvCollCnv.persToTrans(&persObj->m_RawDataEvColl,&rawDataEvCollLink,log);
18  transObj->setRawDataEvCollLink (rawDataEvCollLink);
19 
20  DataLink<ALFA_DigitCollection> digitEvCollLink;
21  m_DLDigitEvCollCnv.persToTrans(&persObj->m_DigitEvColl,&digitEvCollLink,log);
22  transObj->setDigitEvCollLink (digitEvCollLink);
23 
24  DataLink<ALFA_ODDigitCollection> ODDigitEvCollLink;
25  m_DLODDigitEvCollCnv.persToTrans(&persObj->m_ODDigitEvColl,&ODDigitEvCollLink,log);
26  transObj->setODDigitEvCollLink (ODDigitEvCollLink);
27 
28 
29  DataLink<ALFA_LocRecEvCollection> locRecEvCollLink;
30  m_DLLocRecEvCollCnv.persToTrans(&persObj->m_LocRecEvColl,&locRecEvCollLink,log);
31  transObj->setLocRecEvCollLink (locRecEvCollLink);
32 
33  DataLink<ALFA_LocRecODEvCollection> locRecODEvCollLink;
34  m_DLLocRecODEvCollCnv.persToTrans(&persObj->m_LocRecODEvColl,&locRecODEvCollLink,log);
35  transObj->setLocRecODEvCollLink (locRecODEvCollLink);
36 
37  DataLink<ALFA_LocRecCorrEvCollection> locRecCorrEvCollLink;
38  m_DLLocRecCorrEvCollCnv.persToTrans(&persObj->m_LocRecCorrEvColl,&locRecCorrEvCollLink,log);
39  transObj->setLocRecCorrEvCollLink (locRecCorrEvCollLink);
40 
41  DataLink<ALFA_LocRecCorrODEvCollection> locRecCorrODEvCollLink;
42  m_DLLocRecCorrODEvCollCnv.persToTrans(&persObj->m_LocRecCorrODEvColl,&locRecCorrODEvCollLink,log);
43  transObj->setLocRecCorrODEvCollLink (locRecCorrODEvCollLink);
44 
45 // m_DLGloRecEvCollCnv.persToTrans(&persObj->m_GloRecEvColl,&transObj->m_GloRecEvColl,log);
46 
47  //LogStream<<MSG::INFO<<"MARK02-ALFA_CLinkEventCnv_p1::persToTrans"<<endmsg;
48 }
49 
50 void ALFA_CLinkEventCnv_p1::transToPers(const ALFA_CLinkEvent* transObj, ALFA_CLinkEvent_p1* persObj,MsgStream &log) const {
51  //MsgStream LogStream(Athena::getMessageSvc(), "ALFA_CLinkEventCnv_p1");
52  //LogStream<<MSG::INFO<<"MARK01-ALFA_CLinkEventCnv_p1::transToPers"<<endmsg;
53 
54  persObj->m_DCSId=transObj->DCSId();
55 
63 // m_DLGloRecEvCollCnv.transToPers(&transObj->m_GloRecEvColl,&persObj->m_GloRecEvColl,log);
64 
65  //LogStream<<MSG::INFO<<"MARK02-ALFA_CLinkEventCnv_p1::transToPers"<<endmsg;
66 }
ALFA_CLinkEvent::SetDCSFolderIDs
void SetDCSFolderIDs(const DCSID *pDCSIds)
Definition: ALFA_CLinkEvent.cxx:122
ALFA_CLinkEvent_p1::m_LocRecEvColl
DataLink_p1 m_LocRecEvColl
Definition: ALFA_CLinkEvent_p1.h:26
ALFA_CLinkEventCnv_p1::persToTrans
virtual void persToTrans(const ALFA_CLinkEvent_p1 *persObj, ALFA_CLinkEvent *transObj, MsgStream &log) const override
Definition: ALFA_CLinkEventCnv_p1.cxx:9
ALFA_CLinkEvent::locRecODEvCollLink
const DataLink< ALFA_LocRecODEvCollection > & locRecODEvCollLink() const
Definition: ALFA_CLinkEvent.h:85
ALFA_CLinkEventCnv_p1::m_DLODDigitEvCollCnv
DataLinkCnv_p1< DataLink< ALFA_ODDigitCollection > > m_DLODDigitEvCollCnv
Definition: ALFA_CLinkEventCnv_p1.h:30
ALFA_CLinkEvent_p1::m_ODDigitEvColl
DataLink_p1 m_ODDigitEvColl
Definition: ALFA_CLinkEvent_p1.h:25
ALFA_CLinkEvent::setODDigitEvCollLink
void setODDigitEvCollLink(const DataLink< ALFA_ODDigitCollection > &link)
Definition: ALFA_CLinkEvent.h:96
ALFA_CLinkEvent_p1::m_DigitEvColl
DataLink_p1 m_DigitEvColl
Definition: ALFA_CLinkEvent_p1.h:24
ALFA_CLinkEvent::DCSId
const DCSID & DCSId() const
Definition: ALFA_CLinkEvent.h:75
ALFA_CLinkEvent_p1::m_LocRecCorrEvColl
DataLink_p1 m_LocRecCorrEvColl
Definition: ALFA_CLinkEvent_p1.h:28
ALFA_CLinkEventCnv_p1::m_DLRawDataEvCollCnv
DataLinkCnv_p1< DataLink< ALFA_RawDataContainer > > m_DLRawDataEvCollCnv
Definition: ALFA_CLinkEventCnv_p1.h:28
ALFA_CLinkEvent::setLocRecCorrEvCollLink
void setLocRecCorrEvCollLink(const DataLink< ALFA_LocRecCorrEvCollection > &link)
Definition: ALFA_CLinkEvent.h:102
ALFA_CLinkEventCnv_p1::m_DLLocRecCorrEvCollCnv
DataLinkCnv_p1< DataLink< ALFA_LocRecCorrEvCollection > > m_DLLocRecCorrEvCollCnv
Definition: ALFA_CLinkEventCnv_p1.h:33
ALFA_CLinkEvent::digitEvCollLink
const DataLink< ALFA_DigitCollection > & digitEvCollLink() const
Definition: ALFA_CLinkEvent.h:79
ALFA_CLinkEvent::setLocRecODEvCollLink
void setLocRecODEvCollLink(const DataLink< ALFA_LocRecODEvCollection > &link)
Definition: ALFA_CLinkEvent.h:100
ALFA_CLinkEventCnv_p1::transToPers
virtual void transToPers(const ALFA_CLinkEvent *transObj, ALFA_CLinkEvent_p1 *persObj, MsgStream &log) const override
Definition: ALFA_CLinkEventCnv_p1.cxx:50
ALFA_CLinkEventCnv_p1::m_DLLocRecODEvCollCnv
DataLinkCnv_p1< DataLink< ALFA_LocRecODEvCollection > > m_DLLocRecODEvCollCnv
Definition: ALFA_CLinkEventCnv_p1.h:32
ALFA_CLinkEventCnv_p1::m_DLDigitEvCollCnv
DataLinkCnv_p1< DataLink< ALFA_DigitCollection > > m_DLDigitEvCollCnv
Definition: ALFA_CLinkEventCnv_p1.h:29
DataLinkCnv_p1::transToPers
virtual void transToPers(const DLink_t *trans, PersDLink_t *pers, MsgStream &log) const override
DataLinkCnv_p1::persToTrans
virtual void persToTrans(const PersDLink_t *pers, DLink_t *trans, MsgStream &log) const override
ALFA_CLinkEvent::locRecEvCollLink
const DataLink< ALFA_LocRecEvCollection > & locRecEvCollLink() const
Definition: ALFA_CLinkEvent.h:83
ALFA_CLinkEvent::setLocRecEvCollLink
void setLocRecEvCollLink(const DataLink< ALFA_LocRecEvCollection > &link)
Definition: ALFA_CLinkEvent.h:98
ALFA_CLinkEvent.h
ALFA_CLinkEvent::setLocRecCorrODEvCollLink
void setLocRecCorrODEvCollLink(const DataLink< ALFA_LocRecCorrODEvCollection > &link)
Definition: ALFA_CLinkEvent.h:104
ALFA_CLinkEvent_p1
Definition: ALFA_CLinkEvent_p1.h:12
ALFA_CLinkEvent_p1::m_DCSId
DCSID m_DCSId
Definition: ALFA_CLinkEvent_p1.h:22
ALFA_CLinkEvent_p1::m_RawDataEvColl
DataLink_p1 m_RawDataEvColl
Definition: ALFA_CLinkEvent_p1.h:23
ALFA_CLinkEvent::locRecCorrEvCollLink
const DataLink< ALFA_LocRecCorrEvCollection > & locRecCorrEvCollLink() const
Definition: ALFA_CLinkEvent.h:87
ALFA_CLinkEvent_p1.h
ALFA_CLinkEvent_p1::m_LocRecCorrODEvColl
DataLink_p1 m_LocRecCorrODEvColl
Definition: ALFA_CLinkEvent_p1.h:29
ALFA_CLinkEvent::setRawDataEvCollLink
void setRawDataEvCollLink(const DataLink< ALFA_RawDataContainer > &link)
Definition: ALFA_CLinkEvent.h:92
ALFA_CLinkEvent::ODDigitEvCollLink
const DataLink< ALFA_ODDigitCollection > & ODDigitEvCollLink() const
Definition: ALFA_CLinkEvent.h:81
ALFA_CLinkEvent
Definition: ALFA_CLinkEvent.h:61
ALFA_CLinkEvent_p1::m_LocRecODEvColl
DataLink_p1 m_LocRecODEvColl
Definition: ALFA_CLinkEvent_p1.h:27
ALFA_CLinkEvent::locRecCorrODEvCollLink
const DataLink< ALFA_LocRecCorrODEvCollection > & locRecCorrODEvCollLink() const
Definition: ALFA_CLinkEvent.h:89
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
ALFA_CLinkEventCnv_p1::m_DLLocRecEvCollCnv
DataLinkCnv_p1< DataLink< ALFA_LocRecEvCollection > > m_DLLocRecEvCollCnv
Definition: ALFA_CLinkEventCnv_p1.h:31
ALFA_CLinkEvent::setDigitEvCollLink
void setDigitEvCollLink(const DataLink< ALFA_DigitCollection > &link)
Definition: ALFA_CLinkEvent.h:94
ALFA_CLinkEventCnv_p1::m_DLLocRecCorrODEvCollCnv
DataLinkCnv_p1< DataLink< ALFA_LocRecCorrODEvCollection > > m_DLLocRecCorrODEvCollCnv
Definition: ALFA_CLinkEventCnv_p1.h:34
ALFA_CLinkEventCnv_p1.h
ALFA_CLinkEvent::rawDataEvCollLink
const DataLink< ALFA_RawDataContainer > & rawDataEvCollLink() const
Definition: ALFA_CLinkEvent.h:77