ATLAS Offline Software
Loading...
Searching...
No Matches
TrigConfSigCnv_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 TrigConfSig* transObj,
13 MsgStream &log) const
14{
15 if(log.level() <= MSG::DEBUG) {
16 log << MSG::DEBUG << "TrigConfSigCnv_p1::persToTrans called " << endmsg;
17 }
18
19 *transObj = TrigConfSig (persObj->m_counter,
20 persObj->m_logic,
21 persObj->m_label);
22 for (uint32_t te : persObj->m_output_te) {
23 transObj->addOutputTE (te);
24 }
25}
26
27
29 TrigConfSig_p1* persObj,
30 MsgStream &log) const
31{
32 if(log.level() <= MSG::DEBUG) {
33 log << MSG::DEBUG << "TrigConfSigCnv_p1::transToPers called " << endmsg;
34 }
35
36 persObj->m_counter = transObj->getCounter();
37 persObj->m_logic = transObj->getLogic();
38 persObj->m_label = transObj->getLabel();
39 persObj->m_output_te = transObj->getOutputTEs();
40}
#define endmsg
virtual void transToPers(const TrigConfSig *transObj, TrigConfSig_p1 *persObj, MsgStream &log) const override
virtual void persToTrans(const TrigConfSig_p1 *persObj, TrigConfSig *transObj, MsgStream &log) const override
std::string m_label
std::vector< uint32_t > m_output_te
int getLogic() const
Definition TrigConfSig.h:39
const std::vector< uint32_t > & getOutputTEs() const
Definition TrigConfSig.h:42
void addOutputTE(uint32_t te)
Definition TrigConfSig.h:36
uint32_t getCounter() const
Definition TrigConfSig.h:38
const std::string & getLabel() const
Definition TrigConfSig.h:40