ATLAS Offline Software
SelectedParticlesCnv_p1.cxx
Go to the documentation of this file.
1 
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 
20 void
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 
31 void
33  SelectedParticles_p1* pers,
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 }
SelectedParticles::AllBits
const std::vector< unsigned > & AllBits() const
Definition: SelectedParticles.h:76
SelectedParticles.h
SelectedParticlesCnv_p1::transToPers
virtual void transToPers(const SelectedParticles *trans, SelectedParticles_p1 *pers, MsgStream &msg) const override
Method creating the persistent representation SelectedParticles_p1 from its transient representation ...
Definition: SelectedParticlesCnv_p1.cxx:32
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
SelectedParticles_p1::m_bits
std::vector< unsigned > m_bits
Definition: SelectedParticles_p1.h:20
SelectedParticles::Set
void Set(const std::vector< unsigned > &onoffBits)
Definition: SelectedParticles.h:60
SelectedParticles
Definition: SelectedParticles.h:54
SelectedParticlesCnv_p1.h
DEBUG
#define DEBUG
Definition: page_access.h:11
SelectedParticles_p1
Definition: SelectedParticles_p1.h:16
SelectedParticlesCnv_p1::persToTrans
virtual void persToTrans(const SelectedParticles_p1 *pers, SelectedParticles *trans, MsgStream &msg) const override
Method creating the transient representation of SelectedParticles from its persistent representation ...
Definition: SelectedParticlesCnv_p1.cxx:21
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7