ATLAS Offline Software
Loading...
Searching...
No Matches
JetCnv_p6.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_p6.h
8// Header file for class JetCnv_p6
9// Author: S.Binet<binet@cern.ch>
11#ifndef JETEVENTTPCNV_JETCNV_P6_H
12#define JETEVENTTPCNV_JETCNV_P6_H
13
14// STL includes
15
16// AthenaPoolCnvSvc includes
18
19// JetEventTPCnv includes
21//#include "JetEvent/JetTagInfoBase.h"
22class JetTagInfoBase;
23//PA Tool
25
26// Forward declaration
27class MsgStream;
28class Jet;
29
30
31template <>
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_p6* persObj,
48 Jet* transObj,
49 MsgStream& msg ) const override;
50
54 virtual void transToPers( const Jet* transObj,
55 Jet_p6* persObj,
56 MsgStream& msg ) const override;
57
60 inline
61 virtual void initPrivateConverters(AthenaPoolTopLevelTPCnvBase *topCnv) override
62 {
63 m_taginfoCnv.setTopConverter(topCnv, 0);
64 m_tagAssCnv.setTopConverter(topCnv,0);
65 }
66
67 protected:
68
71 std::vector<TPObjRef>,
72 ITPConverterFor<JetTagInfoBase> > TagInfoCollectionCnv;
73
74 TagInfoCollectionCnv m_taginfoCnv;
75
78 std::vector<TPObjRef>,
79 ITPConverterFor<JetAssociationBase> > TagAssCollectionCnv;
80
81 TagAssCollectionCnv m_tagAssCnv;
82
83
84};
85
87
88#endif //> JETEVENTTPCNV_JETCNV_P6_H
TopLevelTPCnvBase AthenaPoolTopLevelTPCnvBase
JetConverterBase< Jet_p6 > JetCnv_p6
Definition JetCnv_p6.h:86
Jet_v1 Jet
Definition of the current "jet version".
TPPolyVectorCnvConst< TRANS, PERS, CONV > T_AthenaPoolTPPolyVectorCnvConst
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
This is the abstract base class for additional information to be put into the JetTag class.
MsgStream & msg
Definition testRead.cxx:32