ATLAS Offline Software
TrigOperationalInfoCnv_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 
6 #include <iostream>
9 
10 
12  TrigOperationalInfo* transObj,
13  MsgStream &log)
14 {
15  log << MSG::DEBUG << "TrigOperationalInfoCnv_p1::persToTrans called " << endmsg;
16  *transObj = TrigOperationalInfo (persObj->m_keys, persObj->m_values);
17 }
18 
19 
21  TrigOperationalInfo_p1* persObj,
22  MsgStream &log)
23 {
24  log << MSG::DEBUG << "TrigOperationalInfoCnv_p1::transToPers called " << endmsg;
25  auto infos = transObj->infos();
26  persObj->m_keys = std::move(infos.first);
27  persObj->m_values = std::move(infos.second);
28 }
TrigOperationalInfo_p1::m_keys
std::vector< std::string > m_keys
Definition: TrigOperationalInfo_p1.h:40
TrigOperationalInfoCnv_p1.h
TrigOperationalInfo_p1
Definition: TrigOperationalInfo_p1.h:22
TrigOperationalInfo.h
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigOperationalInfo_p1.h
TrigOperationalInfo::infos
std::pair< std::vector< std::string >, std::vector< float > > infos() const
Definition: TrigOperationalInfo.cxx:37
TrigOperationalInfoCnv_p1::transToPers
virtual void transToPers(const TrigOperationalInfo *transObj, TrigOperationalInfo_p1 *persObj, MsgStream &log)
Definition: TrigOperationalInfoCnv_p1.cxx:20
TrigOperationalInfo_p1::m_values
std::vector< float > m_values
Definition: TrigOperationalInfo_p1.h:41
TrigOperationalInfoCnv_p1::persToTrans
virtual void persToTrans(const TrigOperationalInfo_p1 *persObj, TrigOperationalInfo *transObj, MsgStream &log)
Definition: TrigOperationalInfoCnv_p1.cxx:11
TrigOperationalInfo
This class defined generic object to store operational info available during triggering online i....
Definition: TrigOperationalInfo.h:27
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20