ATLAS Offline Software
Loading...
Searching...
No Matches
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
18
19// JetEventTPCnv includes
22
23//PA Tool
25
26// Forward declaration
27class MsgStream;
28class Jet;
29
30
31template <>
33{
34 public:
37
38
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
62 {
63 m_taginfoCnv.setTopConverter(topCnv, 0);
64 m_tagAssCnv.setTopConverter(topCnv,0);
65 }
66
67 protected:
68
71 std::vector<TPObjRef>,
73
75
78 std::vector<TPObjRef>,
80
82
83};
84
86
87#endif //> JETEVENTTPCNV_JETCNV_P5_H
TopLevelTPCnvBase AthenaPoolTopLevelTPCnvBase
JetConverterBase< Jet_p5 > JetCnv_p5
Definition JetCnv_p5.h:85
TPPolyVectorCnvConst< TRANS, PERS, CONV > T_AthenaPoolTPPolyVectorCnvConst
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
Common base class for all TP converters, specialized for a given transient type.
Definition TPConverter.h:37
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
TagAssCollectionCnv m_tagAssCnv
Definition JetCnv_p5.h:81
JetConverterBase()
Default constructor:
Definition JetCnv_p5.h:41
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
virtual void initPrivateConverters(AthenaPoolTopLevelTPCnvBase *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
TagInfoCollectionCnv m_taginfoCnv
Definition JetCnv_p5.h:74
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
MsgStream & msg
Definition testRead.cxx:32