ATLAS Offline Software
TrigMonSeqCnv_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 // This class data and converter
10 
12  TrigMonSeq* transObj,
13  MsgStream &log) const
14 {
15  if(log.level() <= MSG::DEBUG) {
16  log << MSG::DEBUG << "TrigMonSeqCnv_p1::persToTrans called " << endmsg;
17  }
18 
19  transObj->m_encoded = persObj->m_encoded;
20  transObj->m_var_key = persObj->m_var_key;
21  transObj->m_var_val = persObj->m_var_val;
22 
23  m_algCnv.persToTrans(&(persObj->m_alg), &(transObj->m_alg), log);
24 }
25 
26 
28  TrigMonSeq_p1* persObj,
29  MsgStream &log) const
30 {
31  if(log.level() <= MSG::DEBUG) {
32  log << MSG::DEBUG << "TrigMonSeqCnv_p1::transToPers called " << endmsg;
33  }
34 
35  persObj->m_encoded = transObj->getEncoded();
36  persObj->m_var_key = transObj->getVarKey();
37  persObj->m_var_val = transObj->getVarVal();
38 
39  m_algCnv.transToPers(&transObj->getAlg(), &(persObj->m_alg), log);
40 }
TrigMonSeq::getAlg
std::vector< TrigMonAlg > & getAlg()
Definition: TrigMonSeq.h:63
TrigMonSeq_p1::m_encoded
uint32_t m_encoded
Definition: TrigMonSeq_p1.h:34
TrigMonSeq_p1.h
TrigMonSeq::getVarVal
const std::vector< float > & getVarVal() const
Definition: TrigMonSeq.h:68
TrigMonSeq::getVarKey
const std::vector< uint16_t > & getVarKey() const
Definition: TrigMonSeq.h:67
TrigMonSeq.h
TrigMonSeq::m_var_key
std::vector< uint16_t > m_var_key
Definition: TrigMonSeq.h:77
TrigMonSeq_p1::m_alg
std::vector< TrigMonAlg_p1 > m_alg
Definition: TrigMonSeq_p1.h:35
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigMonSeq::getEncoded
uint32_t getEncoded() const
Definition: TrigMonSeq.h:58
TrigMonSeqCnv_p1::transToPers
virtual void transToPers(const TrigMonSeq *transObj, TrigMonSeq_p1 *persObj, MsgStream &log) const override
Definition: TrigMonSeqCnv_p1.cxx:27
TrigMonSeq
Definition: TrigMonSeq.h:28
TrigMonSeq_p1::m_var_key
std::vector< uint16_t > m_var_key
Definition: TrigMonSeq_p1.h:36
TrigMonSeq::m_var_val
std::vector< float > m_var_val
Definition: TrigMonSeq.h:78
TrigMonSeqCnv_p1.h
TrigMonSeq::m_encoded
uint32_t m_encoded
Definition: TrigMonSeq.h:75
TrigMonSeqCnv_p1::persToTrans
virtual void persToTrans(const TrigMonSeq_p1 *persObj, TrigMonSeq *transObj, MsgStream &log) const override
Definition: TrigMonSeqCnv_p1.cxx:11
TrigMonSeq_p1::m_var_val
std::vector< float > m_var_val
Definition: TrigMonSeq_p1.h:37
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TrigMonSeq_p1
Definition: TrigMonSeq_p1.h:20
TrigMonSeq::m_alg
std::vector< TrigMonAlg > m_alg
Definition: TrigMonSeq.h:76
TrigMonSeqCnv_p1::m_algCnv
T_AthenaPoolTPCnvStdVectorConst< std::vector< TrigMonAlg >, std::vector< TrigMonAlg_p1 >, TrigMonAlgCnv_p1 > m_algCnv
Definition: TrigMonSeqCnv_p1.h:43