ATLAS Offline Software
Loading...
Searching...
No Matches
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
12
14
15namespace Analysis {
16
17void 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
22void IPInfoBaseCnv_p1::persToTrans(const IPInfoBase_p1* pa, IPInfoBase* pb, MsgStream & msg) {
24 pb->nbTracks (pa->m_ntrk);
25}
26
27}
static Analysis::BaseTagInfoCnv_p1 baseTagInfoCnv
Code for the converters.
virtual void transToPers(const IPInfoBase *transObj, IPInfoBase_p1 *persObj, MsgStream &log)
BaseTagInfoCnv_p1 * m_baseTagCnv
virtual void persToTrans(const IPInfoBase_p1 *persObj, IPInfoBase *transObj, MsgStream &log)
Basic class to hold IP taggers results.
Definition IPInfoBase.h:21
void nbTracks(int n)
Definition IPInfoBase.h:39
TPObjRef baseToPersistent(CNV **cnv, const typename CNV::Trans_t *transObj, MsgStream &log) const
Definition TPConverter.h:97
void fillTransFromPStore(CNV **cnv, const TPObjRef &ref, TRANS_T *trans, MsgStream &log) const
The namespace of all packages in PhysicsAnalysis/JetTagging.
MsgStream & msg
Definition testRead.cxx:32