ATLAS Offline Software
Loading...
Searching...
No Matches
TrigMonRoiCnv_p1.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#include <iostream>
10
12 TrigMonRoi* transObj,
13 MsgStream &log) const
14{
15 if(log.level() <= MSG::DEBUG) {
16 log << MSG::DEBUG << "TrigMonRoiCnv_p1::persToTrans called " << endmsg;
17 }
18
19 transObj->getWord() = persObj->m_word;
20 transObj->getVarKey() = persObj->m_var_key;
21 transObj->getVarVal() = persObj->m_var_val;
22}
23
24
26 TrigMonRoi_p1* persObj,
27 MsgStream &log) const
28{
29 if(log.level() <= MSG::DEBUG) {
30 log << MSG::DEBUG << "TrigMonRoiCnv_p1::transToPers called " << endmsg;
31 }
32
33 persObj->m_word = transObj->getWord();
34 persObj->m_var_key = transObj->getVarKey();
35 persObj->m_var_val = transObj->getVarVal();
36}
#define endmsg
virtual void persToTrans(const TrigMonRoi_p1 *persObj, TrigMonRoi *transObj, MsgStream &log) const override
virtual void transToPers(const TrigMonRoi *transObj, TrigMonRoi_p1 *persObj, MsgStream &log) const override
std::vector< float > m_var_val
std::vector< uint32_t > m_word
std::vector< uint16_t > m_var_key
std::vector< uint16_t > & getVarKey()
Definition TrigMonRoi.h:64
std::vector< uint32_t > & getWord()
Definition TrigMonRoi.h:63
std::vector< float > & getVarVal()
Definition TrigMonRoi.h:65