ATLAS Offline Software
IPTrackInfoCnv_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 
11 
12 namespace Analysis {
13 
15  m_elementLinkCnv.transToPers(&pa->trackLink(), &pb->m_track, msg);
16  pb->m_isFromV0 = pa->isFromV0();
17  pb->m_valD0wrtPV = pa->d0Value();
18  pb->m_sigD0wrtPV = pa->d0Significance();
19  pb->m_valZ0wrtPV = pa->z0Value();
20  pb->m_sigZ0wrtPV = pa->z0Significance();
21  pb->m_trackWeight2D = pa->trackWeight2D();
22  pb->m_trackWeight3D = pa->trackWeight3D();
23  pb->m_trackProbJP = pa->trackProbJP();
24  pb->m_trackProbJPneg = pa->trackProbJPneg();
25 
26  pb->m_trackGrade_int = pa->trackGrade().gradeNumber();
27  pb->m_trackGrade_string = pa->trackGrade().gradeString();
28  }
29 
31  {
33  m_elementLinkCnv.persToTrans(&pa->m_track, &trackLink, msg);
34 
35  *pb = IPTrackInfo (trackLink,
38  pa->m_isFromV0,
39  pa->m_valD0wrtPV,
40  pa->m_sigD0wrtPV,
41  pa->m_valZ0wrtPV,
42  pa->m_sigZ0wrtPV);
43 
44  pb->setTrackWeight2D (pa->m_trackWeight2D);
45  pb->setTrackWeight3D (pa->m_trackWeight3D);
46  pb->setTrackProbJP (pa->m_trackProbJP);
47  pb->setTrackProbJPneg (pa->m_trackProbJPneg);
48  }
49 
50 }
Analysis::IPTrackInfo_p1::m_sigZ0wrtPV
float m_sigZ0wrtPV
Definition: IPTrackInfo_p1.h:25
Analysis::IPTrackInfo_p1::m_trackWeight2D
float m_trackWeight2D
Definition: IPTrackInfo_p1.h:26
Analysis::IPTrackInfo_p1::m_trackGrade_string
std::string m_trackGrade_string
Definition: IPTrackInfo_p1.h:20
Analysis::TrackGrade
Definition: TrackGrade.h:11
Analysis::IPTrackInfo::z0Value
double z0Value() const
Definition: IPTrackInfo.h:43
keylayer_zslicemap.pb
pb
Definition: keylayer_zslicemap.py:188
Analysis::IPTrackInfo_p1::m_valD0wrtPV
float m_valD0wrtPV
Definition: IPTrackInfo_p1.h:22
IPTrackInfoCnv_p1.h
Analysis::IPTrackInfo::trackLink
const ElementLink< Rec::TrackParticleContainer > & trackLink() const
Definition: IPTrackInfo.h:37
Analysis::IPTrackInfo::d0Value
double d0Value() const
Definition: IPTrackInfo.h:41
Analysis::IPTrackInfo::trackGrade
const TrackGrade & trackGrade() const
Definition: IPTrackInfo.h:39
Analysis::IPTrackInfoCnv_p1::m_elementLinkCnv
ElementLinkCnv_p1< ElementLink< Rec::TrackParticleContainer > > m_elementLinkCnv
Definition: IPTrackInfoCnv_p1.h:27
Analysis::IPTrackInfo_p1::m_trackWeight3D
float m_trackWeight3D
Definition: IPTrackInfo_p1.h:27
Analysis::IPTrackInfo_p1::m_trackProbJP
float m_trackProbJP
Definition: IPTrackInfo_p1.h:28
Analysis::TrackGrade::gradeString
const std::string & gradeString() const
Definition: TrackGrade.cxx:43
ElementLinkCnv_p1::transToPers
void transToPers(const Link_t &trans, PersLink_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
Analysis::IPTrackInfoCnv_p1::transToPers
virtual void transToPers(const IPTrackInfo *transObj, IPTrackInfo_p1 *persObj, MsgStream &log)
Definition: IPTrackInfoCnv_p1.cxx:14
Analysis::IPTrackInfoCnv_p1::persToTrans
virtual void persToTrans(const IPTrackInfo_p1 *persObj, IPTrackInfo *transObj, MsgStream &log)
Definition: IPTrackInfoCnv_p1.cxx:30
Analysis::IPTrackInfo::trackProbJP
double trackProbJP() const
Definition: IPTrackInfo.h:47
Analysis::IPTrackInfo_p1::m_trackProbJPneg
float m_trackProbJPneg
Definition: IPTrackInfo_p1.h:29
Analysis::IPTrackInfo::trackWeight2D
double trackWeight2D() const
Definition: IPTrackInfo.h:45
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
IPTrackInfo.h
Analysis::IPTrackInfo_p1::m_sigD0wrtPV
float m_sigD0wrtPV
Definition: IPTrackInfo_p1.h:23
ElementLinkCnv_p1::persToTrans
void persToTrans(const PersLink_t &pers, Link_t &trans, MsgStream &log) const
Analysis::IPTrackInfo
Definition: IPTrackInfo.h:18
Analysis::IPTrackInfo::z0Significance
double z0Significance() const
Definition: IPTrackInfo.h:44
Analysis::IPTrackInfo_p1::m_valZ0wrtPV
float m_valZ0wrtPV
Definition: IPTrackInfo_p1.h:24
Analysis::IPTrackInfo::trackWeight3D
double trackWeight3D() const
Definition: IPTrackInfo.h:46
Analysis::IPTrackInfo::d0Significance
double d0Significance() const
Definition: IPTrackInfo.h:42
Analysis::TrackGrade::gradeNumber
int gradeNumber() const
Definition: TrackGrade.cxx:47
Analysis::IPTrackInfo_p1::m_isFromV0
bool m_isFromV0
Definition: IPTrackInfo_p1.h:21
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7
Analysis::IPTrackInfo_p1::m_trackGrade_int
int m_trackGrade_int
Definition: IPTrackInfo_p1.h:19
Analysis::IPTrackInfo::isFromV0
bool isFromV0() const
Definition: IPTrackInfo.h:40
Analysis::IPTrackInfo_p1
Definition: IPTrackInfo_p1.h:15
Analysis::IPTrackInfo::trackProbJPneg
double trackProbJPneg() const
Definition: IPTrackInfo.h:48
Analysis::IPTrackInfo_p1::m_track
ElementLinkInt_p1 m_track
Definition: IPTrackInfo_p1.h:18