ATLAS Offline Software
Loading...
Searching...
No Matches
SelectedParticlesCnv_p1.cxx
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5*/
6
7// SelectedParticlesCnv_p1.cxx
8// Implementation file for class SelectedParticlesCnv_p1
9// Author: Serban Protopopescu <serban@bnl.gov>
11
12
13// STL includes
14
15// ParticleEvent includes
18#include "GaudiKernel/MsgStream.h"
19
20void
22 SelectedParticles* trans,
23 MsgStream& msg ) const
24{
25 msg << MSG::DEBUG << "Creating transient state of SelectedParticles"
26 << endmsg;
27 trans->Set (pers->m_bits);
28 return;
29}
30
31void
34 MsgStream& msg ) const
35{
36 msg << MSG::DEBUG << "Creating persistent state of SelectedParticles"
37 << endmsg;
38 pers->m_bits=trans->AllBits();
39 return;
40}
#define endmsg
virtual void transToPers(const SelectedParticles *trans, SelectedParticles_p1 *pers, MsgStream &msg) const override
Method creating the persistent representation SelectedParticles_p1 from its transient representation ...
virtual void persToTrans(const SelectedParticles_p1 *pers, SelectedParticles *trans, MsgStream &msg) const override
Method creating the transient representation of SelectedParticles from its persistent representation ...
std::vector< unsigned > m_bits
void Set(const std::vector< unsigned > &onoffBits)
const std::vector< unsigned > & AllBits() const
MsgStream & msg
Definition testRead.cxx:32