ATLAS Offline Software
JetCollectionCnv.h
Go to the documentation of this file.
1 
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
18 
19 // JetEventTPCnv includes
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:
45 
46 typedef T_AthenaPoolCustomCnv<
50 
60 
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 
97 
98 private:
102 
105  IMessageSvc *m_msgSvc;
106  MsgStream m_log;
107 
108  // Converters to be allocated once only
115 
116 };
117 
121 
123 {
124  return &m_TPConverter;
125 }
126 
127 #endif //> RECATHENAPOOL_JETCOLLECTIONCNV_H
JetCollectionCnv::m_p1_cnv
JetCollectionCnv_p1 m_p1_cnv
Definition: JetCollectionCnv.h:111
JetCollectionCnv_tlp2
Top level converter for jet collections.
Definition: JetCollectionCnv_tlp2.h:20
JetCollectionCnv_tlp2.h
JetCollection_p2.h
JetCollectionCnv_p1
Definition: JetCollectionCnv_p1.h:36
JetCollectionCnv_p1.h
TPCnvVectorConst
Definition: TPConverter.h:1271
JetCollectionCnv_p3.h
JetCollection_tlp2.h
JetCollectionCnv::m_pjp1_cnv
ParticleJetContainerCnv_p1 m_pjp1_cnv
Definition: JetCollectionCnv.h:114
JetCollectionCnv_p2.h
AthenaPoolCnvTPExtension
Definition: AthenaPoolCnvTPExtension.h:15
JetCollectionCnv_tlp6
Top level converter for jet collections.
Definition: JetCollectionCnv_tlp6.h:20
JetCollection_p4.h
JetCollectionCnv::m_msgSvc
IMessageSvc * m_msgSvc
Log file output for the translators.
Definition: JetCollectionCnv.h:105
JetCollectionCnv_tlp5.h
JetCollectionCnv::m_tlp5_cnv
JetCollectionCnv_tlp5 m_tlp5_cnv
Definition: JetCollectionCnv.h:109
JetCollectionCnv::m_p3_cnv
JetCollectionCnv_p3 m_p3_cnv
Definition: JetCollectionCnv.h:113
JetCollectionCnv_p2
Definition: JetCollectionCnv_p2.h:36
JetCollection_p3.h
JetCollectionCnvBase
T_AthenaPoolCustomCnv< JetCollection, JetCollection_PERS > JetCollectionCnvBase
Definition: JetCollectionCnv.h:49
JetCollectionCnv_tlp5
Top level converter for jet collections.
Definition: JetCollectionCnv_tlp5.h:20
JetCollectionCnv::createTransient
virtual JetCollection * createTransient()
Build the transient representation from a persistent one.
Definition: JetCollectionCnv.cxx:48
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition: T_AthenaPoolCustomCnv.h:132
JetCollection.h
ParticleJetContainerCnv_p1.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
JetCollectionCnv
Converter reponsible for reading in the top level object (tlp1) and sending the data off to the real ...
Definition: JetCollectionCnv.h:63
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
JetCollection_PERS
JetCollection_tlp6 JetCollection_PERS
Definition: JetCollectionCnv.h:44
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
JetCollectionCnv::m_TPConverter
JetCollectionCnv_tlp6 m_TPConverter
The master translator.
Definition: JetCollectionCnv.h:101
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
TopLevelTPCnvBase
Base class for top-level TP converters.
Definition: TopLevelTPCnvBase.h:32
JetCollectionCnv::getTopLevelTPCnv
AthenaPoolTopLevelTPCnvBase * getTopLevelTPCnv(void)
Return our top level converter.
Definition: JetCollectionCnv.h:122
JetCollection_tlp6
Top level container that will store all the various jet objects that are getting stored.
Definition: JetCollection_tlp6.h:20
JetCollection
Container for Jets
Definition: JetCollection.h:30
JetCollection_tlp6.h
JetCollectionCnv::initialize
StatusCode initialize(void)
Connect up the sub-converters that we use to do the actual work.
Definition: JetCollectionCnv.cxx:128
JetCollection_tlp5.h
JetCollectionCnv::m_log
MsgStream m_log
Definition: JetCollectionCnv.h:106
JetCollectionCnv_p3
Definition: JetCollectionCnv_p3.h:36
JetCollection_p1.h
JetCollectionCnv_tlp6.h
JetCollection
JetCollection
Definition: JetEventTPCnv.cxx:52
JetCollectionCnv::createPersistent
virtual JetCollection_PERS * createPersistent(JetCollection *transCont)
Build the persistent representation from the transient one.
Definition: JetCollectionCnv.cxx:36
JetCollectionCnv::m_p2_cnv
JetCollectionCnv_p2 m_p2_cnv
Definition: JetCollectionCnv.h:112