ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisCommon
ParticleEventTPCnv
src
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
16
#include "
ParticleEvent/SelectedParticles.h
"
17
#include "
ParticleEventTPCnv/SelectedParticlesCnv_p1.h
"
18
#include "GaudiKernel/MsgStream.h"
19
20
void
21
SelectedParticlesCnv_p1::persToTrans
(
const
SelectedParticles_p1
* pers,
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
32
SelectedParticlesCnv_p1::transToPers
(
const
SelectedParticles
* trans,
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
}
endmsg
#define endmsg
Definition
AnalysisConfig_Ntuple.cxx:61
SelectedParticlesCnv_p1.h
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
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
SelectedParticles_p1
Definition
SelectedParticles_p1.h:16
SelectedParticles_p1::m_bits
std::vector< unsigned > m_bits
Definition
SelectedParticles_p1.h:20
SelectedParticles
Definition
SelectedParticles.h:54
SelectedParticles::Set
void Set(const std::vector< unsigned > &onoffBits)
Definition
SelectedParticles.h:60
SelectedParticles::AllBits
const std::vector< unsigned > & AllBits() const
Definition
SelectedParticles.h:76
msg
MsgStream & msg
Definition
testRead.cxx:32
Generated on
for ATLAS Offline Software by
1.17.0