ATLAS Offline Software
PhysicsAnalysis
JetTagging
JetTagInfoTPCnv
src
SLTrueInfoCnv_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/SLTrueInfo.h
"
10
#include "
JetTagInfoTPCnv/SLTrueInfoCnv_p1.h
"
11
12
namespace
Analysis
{
13
14
void
SLTrueInfoCnv_p1::transToPers
(
const
SLTrueInfo
*transObj,
15
SLTrueInfo_p1
*persObj,
16
MsgStream &)
17
{
18
persObj->
m_barcode
= transObj->
barcode
();
19
persObj->
m_pdgCode
= transObj->
pdgId
();
20
persObj->
m_pdgCodeMother
= transObj->
pdgIdMother
();
21
persObj->
m_isFromBhadron
= transObj->
FromB
();
22
persObj->
m_isFromDhadron
= transObj->
FromD
();
23
persObj->
m_isFromGHboson
= transObj->
FromGH
();
24
persObj->
m_Momentum
= transObj->
momentum
();
25
persObj->
m_ProductionVertex
= transObj->
prodvtx
();
26
}
27
28
void
SLTrueInfoCnv_p1::persToTrans
(
const
SLTrueInfo_p1
*persObj,
29
SLTrueInfo
*transObj,
30
MsgStream &)
31
{
32
33
*transObj =
SLTrueInfo
(persObj->
m_barcode
,
34
persObj->
m_pdgCode
,
35
persObj->
m_pdgCodeMother
,
36
persObj->
m_isFromBhadron
,
37
persObj->
m_isFromDhadron
,
38
persObj->
m_isFromGHboson
,
39
persObj->
m_Momentum
,
40
persObj->
m_ProductionVertex
);
41
}
42
}
Analysis::SLTrueInfo_p1::m_isFromGHboson
bool m_isFromGHboson
Definition:
SLTrueInfo_p1.h:20
Analysis::SLTrueInfo_p1::m_isFromBhadron
bool m_isFromBhadron
Definition:
SLTrueInfo_p1.h:18
Analysis::SLTrueInfo_p1::m_ProductionVertex
Eigen::Vector3d m_ProductionVertex
Definition:
SLTrueInfo_p1.h:24
Analysis::SLTrueInfo::FromGH
bool FromGH() const
Definition:
SLTrueInfo.h:24
Analysis::SLTrueInfo::momentum
Eigen::Vector3d momentum() const
Definition:
SLTrueInfo.h:25
SLTrueInfo.h
Analysis::SLTrueInfo::pdgId
int pdgId() const
Definition:
SLTrueInfo.h:20
Analysis::SLTrueInfo_p1::m_pdgCodeMother
int m_pdgCodeMother
Definition:
SLTrueInfo_p1.h:17
Analysis::SLTrueInfo_p1
Definition:
SLTrueInfo_p1.h:12
Analysis::SLTrueInfo::FromD
bool FromD() const
Definition:
SLTrueInfo.h:23
Analysis::SLTrueInfo::pdgIdMother
int pdgIdMother() const
Definition:
SLTrueInfo.h:21
Analysis::SLTrueInfo_p1::m_isFromDhadron
bool m_isFromDhadron
Definition:
SLTrueInfo_p1.h:19
Analysis::SLTrueInfo::FromB
bool FromB() const
Definition:
SLTrueInfo.h:22
Analysis::SLTrueInfoCnv_p1::persToTrans
virtual void persToTrans(const SLTrueInfo_p1 *persObj, SLTrueInfo *transObj, MsgStream &log)
Definition:
SLTrueInfoCnv_p1.cxx:28
Analysis::SLTrueInfo_p1::m_pdgCode
int m_pdgCode
Definition:
SLTrueInfo_p1.h:16
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition:
BTaggingCnvAlg.h:20
Analysis::SLTrueInfo_p1::m_Momentum
Eigen::Vector3d m_Momentum
Definition:
SLTrueInfo_p1.h:23
Analysis::SLTrueInfo::barcode
int barcode() const
Definition:
SLTrueInfo.h:19
Analysis::SLTrueInfo
Definition:
SLTrueInfo.h:15
Analysis::SLTrueInfo_p1::m_barcode
int m_barcode
Definition:
SLTrueInfo_p1.h:15
SLTrueInfoCnv_p1.h
Analysis::SLTrueInfo::prodvtx
Eigen::Vector3d prodvtx() const
Definition:
SLTrueInfo.h:26
Analysis::SLTrueInfoCnv_p1::transToPers
virtual void transToPers(const SLTrueInfo *transObj, SLTrueInfo_p1 *persObj, MsgStream &log)
Definition:
SLTrueInfoCnv_p1.cxx:14
Generated on Mon Dec 23 2024 21:18:34 for ATLAS Offline Software by
1.8.18