ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigEvent
TrigParticleTPCnv
src
TrigEFBjetCnv_p2.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TrigParticle/TrigEFBjet.h
"
6
#include "
TrigParticleTPCnv/TrigEFBjet_p2.h
"
7
#include "
TrigParticleTPCnv/TrigEFBjetCnv_p2.h
"
8
9
10
//* Persistent to transient *//
11
void
TrigEFBjetCnv_p2::persToTrans
(
const
TrigEFBjet_p2
*persObj,
TrigEFBjet
*transObj, MsgStream &log) {
12
13
log << MSG::DEBUG <<
"TrigEFBjetCnv_p2::persToTrans called "
<<
endmsg
;
14
15
*transObj =
TrigEFBjet
(persObj->
m_roiID
,
16
0,
// eta
17
0,
// phi
18
nullptr
,
// track
19
nullptr
,
// prmvertex
20
nullptr
,
// secvertex
21
persObj->
m_prmVtx
,
22
0,
// ptjet
23
persObj->
m_xcomb
,
24
persObj->
m_xIP1d
,
25
persObj->
m_xIP2d
,
26
persObj->
m_xIP3d
,
27
persObj->
m_xChi2
,
28
persObj->
m_xSv
,
29
persObj->
m_xmvtx
,
30
persObj->
m_xevtx
,
31
persObj->
m_xnvtx
);
32
transObj->
validate
(persObj->
m_valid
);
33
34
fillTransFromPStore
(&
m_p4PtEtaPhiMCnv
, persObj->
m_p4PtEtaPhiM
, transObj, log);
35
36
}
37
38
//* Transient to persistent *//
39
void
TrigEFBjetCnv_p2::transToPers
(
const
TrigEFBjet
*transObj,
TrigEFBjet_p2
*persObj, MsgStream &log) {
40
41
log << MSG::DEBUG <<
"TrigEFBjetCnv_p2::transToPers called "
<<
endmsg
;
42
43
persObj->
m_valid
= transObj->
isValid
();
44
persObj->
m_roiID
= transObj->
roiId
();
45
persObj->
m_prmVtx
= transObj->
prmVtx
();
46
persObj->
m_xcomb
= transObj->
xComb
();
47
persObj->
m_xIP1d
= transObj->
xIP1D
();
48
persObj->
m_xIP2d
= transObj->
xIP2D
();
49
persObj->
m_xIP3d
= transObj->
xIP3D
();
50
persObj->
m_xChi2
= transObj->
xCHI2
();
51
persObj->
m_xSv
= transObj->
xSV
();
52
persObj->
m_xmvtx
= transObj->
xMVtx
();
53
persObj->
m_xevtx
= transObj->
xEVtx
();
54
persObj->
m_xnvtx
= transObj->
xNVtx
();
55
56
persObj->
m_p4PtEtaPhiM
=
baseToPersistent
(&
m_p4PtEtaPhiMCnv
, transObj, log);
57
58
}
endmsg
#define endmsg
Definition
AnalysisConfig_Ntuple.cxx:54
TrigEFBjetCnv_p2.h
TrigEFBjet.h
TrigEFBjet_p2.h
TPPolyCnvBase< TRANS, TRANS, PERS >::baseToPersistent
TPObjRef baseToPersistent(CNV **cnv, const typename CNV::Trans_t *transObj, MsgStream &log) const
Definition
TPConverter.h:97
TPPolyCnvBase< TRANS, TRANS, PERS >::fillTransFromPStore
void fillTransFromPStore(CNV **cnv, const TPObjRef &ref, TRANS_T *trans, MsgStream &log) const
Definition
TPConverter.h:145
TrigEFBjetCnv_p2::persToTrans
virtual void persToTrans(const TrigEFBjet_p2 *persObj, TrigEFBjet *transObj, MsgStream &log)
Definition
TrigEFBjetCnv_p2.cxx:11
TrigEFBjetCnv_p2::transToPers
virtual void transToPers(const TrigEFBjet *transObj, TrigEFBjet_p2 *persObj, MsgStream &log)
Definition
TrigEFBjetCnv_p2.cxx:39
TrigEFBjetCnv_p2::m_p4PtEtaPhiMCnv
P4PtEtaPhiMCnv_p1 * m_p4PtEtaPhiMCnv
Definition
TrigEFBjetCnv_p2.h:42
TrigEFBjet_p2
Definition
TrigEFBjet_p2.h:22
TrigEFBjet_p2::m_valid
bool m_valid
Definition
TrigEFBjet_p2.h:39
TrigEFBjet_p2::m_xIP2d
float m_xIP2d
Definition
TrigEFBjet_p2.h:46
TrigEFBjet_p2::m_p4PtEtaPhiM
TPObjRef m_p4PtEtaPhiM
Definition
TrigEFBjet_p2.h:54
TrigEFBjet_p2::m_xSv
float m_xSv
Definition
TrigEFBjet_p2.h:49
TrigEFBjet_p2::m_xcomb
float m_xcomb
Definition
TrigEFBjet_p2.h:44
TrigEFBjet_p2::m_xnvtx
float m_xnvtx
Definition
TrigEFBjet_p2.h:52
TrigEFBjet_p2::m_xmvtx
float m_xmvtx
Definition
TrigEFBjet_p2.h:50
TrigEFBjet_p2::m_xChi2
float m_xChi2
Definition
TrigEFBjet_p2.h:48
TrigEFBjet_p2::m_xIP3d
float m_xIP3d
Definition
TrigEFBjet_p2.h:47
TrigEFBjet_p2::m_roiID
int m_roiID
Definition
TrigEFBjet_p2.h:41
TrigEFBjet_p2::m_xIP1d
float m_xIP1d
Definition
TrigEFBjet_p2.h:45
TrigEFBjet_p2::m_prmVtx
float m_prmVtx
Definition
TrigEFBjet_p2.h:42
TrigEFBjet_p2::m_xevtx
float m_xevtx
Definition
TrigEFBjet_p2.h:51
TrigEFBjet
Class representing a b-jet candidate created at EF.
Definition
TrigEFBjet.h:38
TrigEFBjet::roiId
int roiId() const
To retrieve identifier of the RoI (unique to each LVL1 RoI).
Definition
TrigEFBjet.cxx:66
TrigEFBjet::xIP3D
float xIP3D() const
To retrieve likelihood weight based on 2D combination of impact parameters.
Definition
TrigEFBjet.cxx:77
TrigEFBjet::xSV
float xSV() const
To retrieve likelihood weight based on secondary vertex.
Definition
TrigEFBjet.cxx:79
TrigEFBjet::validate
void validate(bool v)
To validate TrigEFBjet object.
Definition
TrigEFBjet.cxx:62
TrigEFBjet::xNVtx
float xNVtx() const
To retrieve likelihood weight based on number of tracks linked to secondary vertex.
Definition
TrigEFBjet.cxx:82
TrigEFBjet::xMVtx
float xMVtx() const
To retrieve likelihood weight based on mass of secondary vertex.
Definition
TrigEFBjet.cxx:80
TrigEFBjet::xCHI2
float xCHI2() const
To retrieve probability weight based on chi2 of track fit.
Definition
TrigEFBjet.cxx:78
TrigEFBjet::xIP1D
float xIP1D() const
To retrieve likelihood weight based on longitudinal impact parameter.
Definition
TrigEFBjet.cxx:75
TrigEFBjet::prmVtx
float prmVtx() const
To retrieve reconstructed z of primary vertex.
Definition
TrigEFBjet.cxx:68
TrigEFBjet::xIP2D
float xIP2D() const
To retrieve likelihood weight based on transverse impact parameter.
Definition
TrigEFBjet.cxx:76
TrigEFBjet::xComb
float xComb() const
To retrieve best likelihood weight (combination of IP3D and SV).
Definition
TrigEFBjet.cxx:74
TrigEFBjet::xEVtx
float xEVtx() const
To retrieve likelihood weight based on energy of secondary vertex.
Definition
TrigEFBjet.cxx:81
TrigEFBjet::isValid
bool isValid() const
To know if TrigEFBjet object is valid.
Definition
TrigEFBjet.cxx:64
Generated on
for ATLAS Offline Software by
1.17.0