ATLAS Offline Software
Loading...
Searching...
No Matches
EventBookkeeperCnv_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 EventBookkeeperCnv_p1
7// Author: David Cote, September 2008 <david.cote@cern.ch>
9
12
14 log << MSG::ERROR << "EventBookkeeperCnv_p1::transToPers should never be called. There is a mistake." << endmsg;
17 pers->m_cycle = trans->getCycle();
18 pers->m_name = trans->getName();
19 pers->m_description = trans->getDescription();
20 //pers->m_parent = trans->getParent();
21 pers->m_outputstream = trans->getOutputStream();
22 pers->m_logic = trans->getLogic();
23 //pers->m_childrenEB = trans->getChildrenEventBookkeepers();
24}
25
29 trans->setCycle( int(pers->m_cycle) );
30 trans->setName( pers->m_name );
31 trans->setDescription( pers->m_description );
32 trans->setInputStream( pers->m_parent );
33 trans->setOutputStream(pers->m_outputstream);
34 trans->setLogic(pers->m_logic);
35 //trans->setChildrenEventBookkeepers(pers->m_childrenEB);
36}
#define endmsg
virtual void transToPers(const EventBookkeeper *transObj, EventBookkeeper_p1 *persObj, MsgStream &log)
virtual void persToTrans(const EventBookkeeper_p1 *persObj, EventBookkeeper *transObj, MsgStream &log)
uint64_t getNAcceptedEvents() const
const std::string & getDescription() const
const std::string & getLogic() const
const std::string & getOutputStream() const
void setNAcceptedEvents(uint64_t nEvents)
double getNWeightedAcceptedEvents() const
void setDescription(const std::string &description)
void setCycle(int cycle)
const std::string & getName() const
void setOutputStream(const std::string &outputstream)
void setNWeightedAcceptedEvents(double nWeightedEvents)
void setName(const std::string &name)
int getCycle() const
void setLogic(const std::string &logic)
void setInputStream(const std::string &inputstream)