ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetEventTPCnv
JetEventTPCnv
JetCnv_p5.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// JetCnv_p5.h
8
// Header file for class JetCnv_p5
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef JETEVENTTPCNV_JETCNV_P5_H
12
#define JETEVENTTPCNV_JETCNV_P5_H
13
14
// STL includes
15
16
// AthenaPoolCnvSvc includes
17
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
18
19
// JetEventTPCnv includes
20
#include "
JetEventTPCnv/Jet_p5.h
"
21
#include "
JetEvent/JetTagInfoBase.h
"
22
23
//PA Tool
24
#include "
JetEventTPCnv/JetCnvProperties.h
"
25
26
// Forward declaration
27
class
MsgStream;
28
class
Jet
;
29
30
31
template
<>
32
class
JetConverterBase
<
Jet_p5
> :
public
T_AthenaPoolTPCnvConstBase
<Jet, Jet_p5> ,
JetCnvProperties
33
{
34
public
:
35
using
base_class::transToPers
;
36
using
base_class::persToTrans
;
37
38
41
JetConverterBase
() { };
42
43
47
virtual
void
persToTrans(
const
Jet_p5
* persObj,
48
Jet
* transObj,
49
MsgStream&
msg
)
const override
;
50
54
virtual
void
transToPers(
const
Jet
* transObj,
55
Jet_p5
* persObj,
56
MsgStream&
msg
)
const override
;
57
60
inline
61
virtual
void
initPrivateConverters
(
TopLevelTPCnvBase
*topCnv)
override
62
{
63
m_taginfoCnv
.setTopConverter(topCnv, 0);
64
m_tagAssCnv
.setTopConverter(topCnv,0);
65
}
66
67
protected
:
68
70
typedef
T_AthenaPoolTPPolyVectorCnvConst<std::vector<const JetTagInfoBase*>
,
71
std::vector<TPObjRef>,
72
ITPConverterFor<JetTagInfoBase>
>
TagInfoCollectionCnv
;
73
74
TagInfoCollectionCnv
m_taginfoCnv
;
75
77
typedef
T_AthenaPoolTPPolyVectorCnvConst<std::vector<const JetAssociationBase*>
,
78
std::vector<TPObjRef>,
79
ITPConverterFor<JetAssociationBase>
>
TagAssCollectionCnv
;
80
81
TagAssCollectionCnv
m_tagAssCnv
;
82
83
};
84
85
typedef
JetConverterBase<Jet_p5>
JetCnv_p5
;
86
87
#endif
//> JETEVENTTPCNV_JETCNV_P5_H
JetCnvProperties.h
JetCnv_p5
JetConverterBase< Jet_p5 > JetCnv_p5
Definition
JetCnv_p5.h:85
JetTagInfoBase.h
Jet_p5.h
T_AthenaPoolTPConverter.h
T_AthenaPoolTPPolyVectorCnvConst
TPPolyVectorCnvConst< TRANS, PERS, CONV > T_AthenaPoolTPPolyVectorCnvConst
Definition
T_AthenaPoolTPConverter.h:63
T_AthenaPoolTPCnvConstBase
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
Definition
T_AthenaPoolTPConverter.h:44
ITPConverterFor
Common base class for all TP converters, specialized for a given transient type.
Definition
TPConverter.h:37
JetCnvProperties
Definition
JetCnvProperties.h:10
JetConverterBase< Jet_p5 >::TagInfoCollectionCnv
T_AthenaPoolTPPolyVectorCnvConst< std::vector< const JetTagInfoBase * >, std::vector< TPObjRef >, ITPConverterFor< JetTagInfoBase > > TagInfoCollectionCnv
Hold onto the converter for the jet tag info objects.
Definition
JetCnv_p5.h:72
JetConverterBase< Jet_p5 >::m_tagAssCnv
TagAssCollectionCnv m_tagAssCnv
Definition
JetCnv_p5.h:81
JetConverterBase< Jet_p5 >::JetConverterBase
JetConverterBase()
Default constructor:
Definition
JetCnv_p5.h:41
JetConverterBase< Jet_p5 >::TagAssCollectionCnv
T_AthenaPoolTPPolyVectorCnvConst< std::vector< const JetAssociationBase * >, std::vector< TPObjRef >, ITPConverterFor< JetAssociationBase > > TagAssCollectionCnv
Hold onto the converter for the jet assoctiaion objects.
Definition
JetCnv_p5.h:79
JetConverterBase< Jet_p5 >::initPrivateConverters
virtual void initPrivateConverters(TopLevelTPCnvBase *topCnv) override
Init the converter so that it knows about its "parents" when it has to walk the lookup chain.
Definition
JetCnv_p5.h:61
JetConverterBase< Jet_p5 >::m_taginfoCnv
TagInfoCollectionCnv m_taginfoCnv
Definition
JetCnv_p5.h:74
JetConverterBase
Definition
JetConverterBase.h:32
Jet_p5
Definition
Jet_p5.h:31
Jet
Definition
Reconstruction/Jet/JetEvent/JetEvent/Jet.h:47
TPConverterConstBase::transToPers
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
TopLevelTPCnvBase
Base class for top-level TP converters.
Definition
TopLevelTPCnvBase.h:32
msg
MsgStream & msg
Definition
testRead.cxx:32
Generated on
for ATLAS Offline Software by
1.17.0