ATLAS Offline Software
Loading...
Searching...
No Matches
Reconstruction
Jet
JetEventAthenaPool
src
JetCollectionCnv.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// JetCollectionCnv.h
8
// Header file for class JetCollectionCnv
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef RECATHENAPOOL_JETCOLLECTIONCNV_H
12
#define RECATHENAPOOL_JETCOLLECTIONCNV_H
13
14
// STL includes
15
16
// AthenaPoolCnvSvc includes
17
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
18
19
// JetEventTPCnv includes
20
#include "
JetEventTPCnv/JetCollection_p1.h
"
21
#include "
JetEventTPCnv/JetCollection_p2.h
"
22
#include "
JetEventTPCnv/JetCollection_p3.h
"
23
#include "
JetEventTPCnv/JetCollection_p4.h
"
24
#include "
JetEventTPCnv/JetCollection_tlp2.h
"
25
#include "
JetEventTPCnv/JetCollection_tlp5.h
"
26
#include "
JetEventTPCnv/JetCollection_tlp6.h
"
27
#include "
JetEventTPCnv/JetCollectionCnv_tlp2.h
"
28
#include "
JetEventTPCnv/JetCollectionCnv_tlp5.h
"
29
#include "
JetEventTPCnv/JetCollectionCnv_tlp6.h
"
30
#include "
JetEventTPCnv/JetCollectionCnv_p1.h
"
31
#include "
JetEventTPCnv/JetCollectionCnv_p2.h
"
32
#include "
JetEventTPCnv/JetCollectionCnv_p3.h
"
33
#include "
JetEventTPCnv/ParticleJetContainerCnv_p1.h
"
34
35
36
37
// JetEvent includes
38
#include "
JetEvent/JetCollection.h
"
39
40
41
// Forward declaration
42
43
// the latest persistent representation type of DataCollection:
44
typedef
JetCollection_tlp6
JetCollection_PERS
;
45
46
typedef
T_AthenaPoolCustomCnv
<
47
JetCollection
,
48
JetCollection_PERS
49
>
JetCollectionCnvBase
;
50
60
61
class
JetCollectionCnv
:
public
JetCollectionCnvBase
,
62
public
AthenaPoolCnvTPExtension
63
{
64
65
// make the factory for this converter our friend
66
friend
class
CnvFactory
<
JetCollectionCnv
>;
67
69
// Protected methods:
71
protected
:
72
75
public
:
76
JetCollectionCnv
(ISvcLocator* svcloc);
77
protected
:
78
81
virtual
JetCollection_PERS
*
82
createPersistent
(
JetCollection
* transCont );
83
86
virtual
JetCollection
*
createTransient
();
87
91
StatusCode
initialize
(
void
);
92
96
inline
AthenaPoolTopLevelTPCnvBase
*
getTopLevelTPCnv
(
void
);
97
98
private
:
101
JetCollectionCnv_tlp6
m_TPConverter
;
102
105
IMessageSvc *
m_msgSvc
;
106
MsgStream
m_log
;
107
108
// Converters to be allocated once only
109
JetCollectionCnv_tlp5
m_tlp5_cnv
;
110
JetCollectionCnv_tlp2
m_tlp2_cnv
;
111
JetCollectionCnv_p1
m_p1_cnv
;
112
JetCollectionCnv_p2
m_p2_cnv
;
113
JetCollectionCnv_p3
m_p3_cnv
;
114
ParticleJetContainerCnv_p1
m_pjp1_cnv
;
115
116
};
117
121
122
AthenaPoolTopLevelTPCnvBase
*
JetCollectionCnv::getTopLevelTPCnv
(
void
)
123
{
124
return
&
m_TPConverter
;
125
}
126
127
#endif
//> RECATHENAPOOL_JETCOLLECTIONCNV_H
AthenaPoolTopLevelTPCnvBase
TopLevelTPCnvBase AthenaPoolTopLevelTPCnvBase
Definition
AthenaPoolTopLevelTPCnvBase.h:9
JetCollection_PERS
JetCollection_tlp6 JetCollection_PERS
Definition
JetCollectionCnv.h:44
JetCollectionCnvBase
T_AthenaPoolCustomCnv< JetCollection, JetCollection_PERS > JetCollectionCnvBase
Definition
JetCollectionCnv.h:49
JetCollectionCnv_p1.h
JetCollectionCnv_p2.h
JetCollectionCnv_p3.h
JetCollectionCnv_tlp2.h
JetCollectionCnv_tlp5.h
JetCollectionCnv_tlp6.h
JetCollection.h
JetCollection_p1.h
JetCollection_p2.h
JetCollection_p3.h
JetCollection_p4.h
JetCollection_tlp2.h
JetCollection_tlp5.h
JetCollection_tlp6.h
ParticleJetContainerCnv_p1.h
ParticleJetContainerCnv_p1
T_AthenaPoolTPCnvVectorConst< JetCollection, ParticleJetContainer_p1, ParticleJetCnv_p1 > ParticleJetContainerCnv_p1
Definition
ParticleJetContainerCnv_p1.h:32
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
AthenaPoolCnvTPExtension::AthenaPoolCnvTPExtension
AthenaPoolCnvTPExtension()
Definition
AthenaPoolCnvTPExtension.h:17
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
JetCollectionCnv_p1
Definition
JetCollectionCnv_p1.h:36
JetCollectionCnv_p2
Definition
JetCollectionCnv_p2.h:36
JetCollectionCnv_p3
Definition
JetCollectionCnv_p3.h:36
JetCollectionCnv_tlp2
Top level converter for jet collections.
Definition
JetCollectionCnv_tlp2.h:20
JetCollectionCnv_tlp5
Top level converter for jet collections.
Definition
JetCollectionCnv_tlp5.h:20
JetCollectionCnv_tlp6
Top level converter for jet collections.
Definition
JetCollectionCnv_tlp6.h:20
JetCollectionCnv::m_p3_cnv
JetCollectionCnv_p3 m_p3_cnv
Definition
JetCollectionCnv.h:113
JetCollectionCnv::m_p1_cnv
JetCollectionCnv_p1 m_p1_cnv
Definition
JetCollectionCnv.h:111
JetCollectionCnv::m_tlp5_cnv
JetCollectionCnv_tlp5 m_tlp5_cnv
Definition
JetCollectionCnv.h:109
JetCollectionCnv::JetCollectionCnv
JetCollectionCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition
JetCollectionCnv.cxx:23
JetCollectionCnv::m_tlp2_cnv
JetCollectionCnv_tlp2 m_tlp2_cnv
Definition
JetCollectionCnv.h:110
JetCollectionCnv::m_msgSvc
IMessageSvc * m_msgSvc
Log file output for the translators.
Definition
JetCollectionCnv.h:105
JetCollectionCnv::getTopLevelTPCnv
AthenaPoolTopLevelTPCnvBase * getTopLevelTPCnv(void)
Return our top level converter.
Definition
JetCollectionCnv.h:122
JetCollectionCnv::m_log
MsgStream m_log
Definition
JetCollectionCnv.h:106
JetCollectionCnv::m_p2_cnv
JetCollectionCnv_p2 m_p2_cnv
Definition
JetCollectionCnv.h:112
JetCollectionCnv::createTransient
virtual JetCollection * createTransient()
Build the transient representation from a persistent one.
Definition
JetCollectionCnv.cxx:48
JetCollectionCnv::m_pjp1_cnv
ParticleJetContainerCnv_p1 m_pjp1_cnv
Definition
JetCollectionCnv.h:114
JetCollectionCnv::m_TPConverter
JetCollectionCnv_tlp6 m_TPConverter
The master translator.
Definition
JetCollectionCnv.h:101
JetCollectionCnv::initialize
StatusCode initialize(void)
Connect up the sub-converters that we use to do the actual work.
Definition
JetCollectionCnv.cxx:128
JetCollectionCnv::createPersistent
virtual JetCollection_PERS * createPersistent(JetCollection *transCont)
Build the persistent representation from the transient one.
Definition
JetCollectionCnv.cxx:36
JetCollection_tlp6
Top level container that will store all the various jet objects that are getting stored.
Definition
JetCollection_tlp6.h:20
JetCollection
Definition
JetCollection.h:30
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition
T_AthenaPoolCustomCnv.h:132
Generated on
for ATLAS Offline Software by
1.14.0