ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
JetTagInfoTPCnv
src
IPInfoBaseCnv_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
8
9
#include "
JetTagInfo/IPInfoBase.h
"
10
#include "
JetTagInfoTPCnv/IPInfoBaseCnv_p1.h
"
11
#include "
JetTagInfoTPCnv/BaseTagInfoCnv_p1.h
"
12
13
static
Analysis::BaseTagInfoCnv_p1
baseTagInfoCnv
;
14
15
namespace
Analysis
{
16
17
void
IPInfoBaseCnv_p1::transToPers
(
const
IPInfoBase
* pa,
IPInfoBase_p1
* pb, MsgStream &
msg
) {
18
pb->m_baseTagInfo =
baseToPersistent
(&
m_baseTagCnv
, pa,
msg
);
19
pb->m_ntrk = pa->
nbTracks
();
20
}
21
22
void
IPInfoBaseCnv_p1::persToTrans
(
const
IPInfoBase_p1
* pa,
IPInfoBase
* pb, MsgStream &
msg
) {
23
fillTransFromPStore
(&
m_baseTagCnv
, pa->
m_baseTagInfo
, pb,
msg
);
24
pb->nbTracks (pa->
m_ntrk
);
25
}
26
27
}
BaseTagInfoCnv_p1.h
baseTagInfoCnv
static Analysis::BaseTagInfoCnv_p1 baseTagInfoCnv
Code for the converters.
Definition
GbbNNTagInfoCnv_p1.cxx:13
IPInfoBaseCnv_p1.h
IPInfoBase.h
Analysis::BaseTagInfoCnv_p1
Definition
BaseTagInfoCnv_p1.h:18
Analysis::IPInfoBaseCnv_p1::transToPers
virtual void transToPers(const IPInfoBase *transObj, IPInfoBase_p1 *persObj, MsgStream &log)
Definition
IPInfoBaseCnv_p1.cxx:17
Analysis::IPInfoBaseCnv_p1::m_baseTagCnv
BaseTagInfoCnv_p1 * m_baseTagCnv
Definition
IPInfoBaseCnv_p1.h:29
Analysis::IPInfoBaseCnv_p1::persToTrans
virtual void persToTrans(const IPInfoBase_p1 *persObj, IPInfoBase *transObj, MsgStream &log)
Definition
IPInfoBaseCnv_p1.cxx:22
Analysis::IPInfoBase_p1
Definition
IPInfoBase_p1.h:14
Analysis::IPInfoBase_p1::m_baseTagInfo
TPObjRef m_baseTagInfo
Definition
IPInfoBase_p1.h:24
Analysis::IPInfoBase_p1::m_ntrk
int m_ntrk
Definition
IPInfoBase_p1.h:25
Analysis::IPInfoBase
Basic class to hold IP taggers results.
Definition
IPInfoBase.h:21
Analysis::IPInfoBase::nbTracks
void nbTracks(int n)
Definition
IPInfoBase.h:39
ITPConverterFor< TRANS_BASE >::baseToPersistent
TPObjRef baseToPersistent(CNV **cnv, const typename CNV::Trans_t *transObj, MsgStream &log) const
Definition
TPConverter.h:97
ITPConverterFor< TRANS_BASE >::fillTransFromPStore
void fillTransFromPStore(CNV **cnv, const TPObjRef &ref, TRANS_T *trans, MsgStream &log) const
Definition
TPConverter.h:145
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition
IConstituent.h:25
msg
MsgStream & msg
Definition
testRead.cxx:32
Generated on
for ATLAS Offline Software by
1.17.0