ATLAS Offline Software
Event
EventBookkeeperTPCnv
src
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
10
#include "
EventBookkeeperMetaData/SkimDecision.h
"
11
12
#include "
EventBookkeeperTPCnv/SkimDecisionCnv_p1.h
"
13
14
void
SkimDecisionCnv_p1::transToPers
(
const
SkimDecision
* trans,
SkimDecision_p1
* pers, MsgStream &) {
15
pers->
m_name
= trans->
getName
();
16
pers->
m_isAccepted
= trans->
isAccepted
();
17
}
18
19
void
SkimDecisionCnv_p1::persToTrans
(
const
SkimDecision_p1
* pers,
SkimDecision
* trans, MsgStream &) {
20
trans->
setName
( pers->
m_name
);
21
trans->
setIsAccepted
( pers->
m_isAccepted
);
22
}
SkimDecision::setName
void setName(const std::string &name)
Definition:
SkimDecision.cxx:21
SkimDecision_p1
Definition:
SkimDecision_p1.h:15
SkimDecision.h
SkimDecision_p1::m_name
std::string m_name
Definition:
SkimDecision_p1.h:25
SkimDecision::isAccepted
bool isAccepted() const
Definition:
SkimDecision.h:28
SkimDecision_p1::m_isAccepted
bool m_isAccepted
Definition:
SkimDecision_p1.h:26
SkimDecisionCnv_p1::persToTrans
virtual void persToTrans(const SkimDecision_p1 *persObj, SkimDecision *transObj, MsgStream &log)
Definition:
SkimDecisionCnv_p1.cxx:19
SkimDecisionCnv_p1::transToPers
virtual void transToPers(const SkimDecision *transObj, SkimDecision_p1 *persObj, MsgStream &log)
Definition:
SkimDecisionCnv_p1.cxx:14
SkimDecision
Definition:
SkimDecision.h:16
SkimDecision::getName
const std::string & getName() const
Definition:
SkimDecision.h:25
SkimDecisionCnv_p1.h
SkimDecision::setIsAccepted
void setIsAccepted(bool answer)
Definition:
SkimDecision.cxx:22
Generated on Wed Jan 8 2025 21:17:21 for ATLAS Offline Software by
1.8.18