ATLAS Offline Software
Loading...
Searching...
No Matches
SkimDecisionCnv_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// Implementation file for class SkimDecisionCnv_p1
7// Author: David Cote, September 2008. <david.cote@cern.ch>
9
11
13
14void SkimDecisionCnv_p1::transToPers(const SkimDecision* trans, SkimDecision_p1* pers, MsgStream &) {
15 pers->m_name = trans->getName();
16 pers->m_isAccepted = trans->isAccepted();
17}
18
19void SkimDecisionCnv_p1::persToTrans(const SkimDecision_p1* pers, SkimDecision* trans, MsgStream &) {
20 trans->setName( pers->m_name );
21 trans->setIsAccepted( pers->m_isAccepted );
22}
virtual void persToTrans(const SkimDecision_p1 *persObj, SkimDecision *transObj, MsgStream &log)
virtual void transToPers(const SkimDecision *transObj, SkimDecision_p1 *persObj, MsgStream &log)
std::string m_name
const std::string & getName() const
bool isAccepted() const
void setName(const std::string &name)
void setIsAccepted(bool answer)