ATLAS Offline Software
GbbNNTagInfoCnv_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 
13 static Analysis::BaseTagInfoCnv_p1 baseTagInfoCnv;
14 
15 namespace Analysis {
16 
18  pb->m_BaseTagInfo = baseToPersistent(&m_baseTagCnv, pa, msg);
19 
20  pb->m_nMatchingTracks = pa->nMatchingTracks();
21  pb->m_trkJetWidth = pa->trkJetWidth();
22  pb->m_trkJetMaxDeltaR = pa->trkJetMaxDeltaR();
23 
24  }
25 
28 
29  pb->setnMatchingTracks (pa->m_nMatchingTracks);
30  pb->settrkJetWidth (pa->m_trkJetWidth);
31  pb->settrkJetMaxDeltaR (pa->m_trkJetMaxDeltaR);
32  }
33 
34 }
Analysis::GbbNNTagInfo_p1::m_BaseTagInfo
TPObjRef m_BaseTagInfo
Basic info.
Definition: GbbNNTagInfo_p1.h:24
keylayer_zslicemap.pb
pb
Definition: keylayer_zslicemap.py:188
Analysis::GbbNNTagInfo
Definition: GbbNNTagInfo.h:34
Analysis::GbbNNTagInfoCnv_p1::m_baseTagCnv
BaseTagInfoCnv_p1 * m_baseTagCnv
Definition: GbbNNTagInfoCnv_p1.h:29
GbbNNTagInfoCnv_p1.h
Analysis::GbbNNTagInfo::nMatchingTracks
int nMatchingTracks() const
A variable to store number of tracks matching jet.
Definition: GbbNNTagInfo.h:95
BaseTagInfoCnv_p1.h
Analysis::GbbNNTagInfoCnv_p1::transToPers
virtual void transToPers(const GbbNNTagInfo *transObj, GbbNNTagInfo_p1 *persObj, MsgStream &log)
Definition: GbbNNTagInfoCnv_p1.cxx:17
Analysis::GbbNNTagInfo::trkJetMaxDeltaR
double trkJetMaxDeltaR() const
A second variable to store Max{DeltaR(trk,trk)}.
Definition: GbbNNTagInfo.h:105
ITPConverterFor< TRANS_BASE >::fillTransFromPStore
void fillTransFromPStore(CNV **cnv, const TPObjRef &ref, TRANS_T *trans, MsgStream &log) const
Convert persistent object, stored in the the top-level persistent object and referenced by the TP Ref...
Definition: TPConverter.h:145
Analysis::GbbNNTagInfoCnv_p1::persToTrans
virtual void persToTrans(const GbbNNTagInfo_p1 *persObj, GbbNNTagInfo *transObj, MsgStream &log)
Definition: GbbNNTagInfoCnv_p1.cxx:26
GbbNNTagInfo.h
Analysis::GbbNNTagInfo_p1::m_trkJetMaxDeltaR
float m_trkJetMaxDeltaR
Definition: GbbNNTagInfo_p1.h:29
ITPConverterFor< TRANS_BASE >::baseToPersistent
TPObjRef baseToPersistent(CNV **cnv, const typename CNV::Trans_t *transObj, MsgStream &log) const
Persistify bass class of a given object and store the persistent represenation in the storage vector ...
Definition: TPConverter.h:97
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::GbbNNTagInfo_p1
Definition: GbbNNTagInfo_p1.h:19
Analysis::GbbNNTagInfo_p1::m_nMatchingTracks
int m_nMatchingTracks
All of this data will be written out.
Definition: GbbNNTagInfo_p1.h:27
Analysis::BaseTagInfoCnv_p1
Definition: BaseTagInfoCnv_p1.h:18
Analysis::GbbNNTagInfo_p1::m_trkJetWidth
float m_trkJetWidth
Definition: GbbNNTagInfo_p1.h:28
Analysis::GbbNNTagInfo::trkJetWidth
double trkJetWidth() const
A second variable to store TrackJet Width.
Definition: GbbNNTagInfo.h:100
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7