ATLAS Offline Software
MVFVxContainerCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //-----------------------------------------------------------------------------
6 //
7 // file: MVFVertexContainerCnv.h
8 // author: Kirill Prokofiev <Kirill.Prokofiev@cern.ch>
9 //
10 //-----------------------------------------------------------------------------
11 
12 #ifndef MVFVXCONTAINER_CNV_H
13 #define MVFVXCONTAINER_CNV_H
14 
15 #include "GaudiKernel/MsgStream.h"
16 
20 
22 
24 
25 
26 //-----------------------------------------------------------------------------
27 // Base class definition
28 //-----------------------------------------------------------------------------
30 
32 
34 
35 {
36 
37  friend class CnvFactory<MVFVxContainerCnv>;
38 
39  protected:
40 
41 public:
42  MVFVxContainerCnv( ISvcLocator *svcloc );
43 protected:
44 
45  virtual StatusCode initialize() override;
46 
47  virtual MVFVxContainer_PERS *createPersistent( MVFVxContainer *transCont) override;
48 
49  virtual MVFVxContainer *createTransient() override;
50 
52 
53  virtual AthenaPoolCnvTPExtension* clone() override { return new MVFVxContainerCnv(0); }
54 
55  virtual void readObjectFromPool( const std::string& token) override;
56 
57  private:
59 
60 };//end of class definitions
61 
62 #endif // MVFVXCONTAINER_CNV_H
Trk::MVFVxContainer_tlp1
Definition: MVFVxContainer_tlp1.h:18
MVFVxContainerCnv::getTopLevelTPCnv
virtual AthenaPoolTopLevelTPCnvBase * getTopLevelTPCnv() override
Return the top level TP converter (which is always used for writing)
Definition: MVFVxContainerCnv.h:51
MVFVxContainer_PERS
Trk::MVFVxContainer_tlp1 MVFVxContainer_PERS
Definition: MVFVxContainerCnv.h:29
MVFVxContainerCnv::m_TPConverter
MVFVxContainerCnv_tlp1 m_TPConverter
Definition: MVFVxContainerCnv.h:58
MVFVxContainer
Definition: MVFVxContainer.h:31
MVFVxContainerCnv::initialize
virtual StatusCode initialize() override
Definition: MVFVxContainerCnv.cxx:29
AthenaPoolCnvTPExtension
Definition: AthenaPoolCnvTPExtension.h:15
MVFVxContainerCnv_tlp1
Definition: MVFVxContainerCnv_tlp1.h:21
ITrkEventCnvTool.h
AtlasDetectorID.h
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
MVFVxContainer.h
MVFVxContainerCnv::createTransient
virtual MVFVxContainer * createTransient() override
Definition: MVFVxContainerCnv.cxx:57
T_AthenaPoolExtendingCnv.h
his file contains the class definition for the templated T_AthenaPoolExtendingCnv class.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
MVFVxContainerCnv::readObjectFromPool
virtual void readObjectFromPool(const std::string &token) override
Read the persistent object from POOL.
Definition: MVFVxContainerCnv.cxx:84
MVFVxContainerCnv::MVFVxContainerCnv
MVFVxContainerCnv(ISvcLocator *svcloc)
Definition: MVFVxContainerCnv.cxx:20
MVFVxContainerCnv
Definition: MVFVxContainerCnv.h:35
TopLevelTPCnvBase
Base class for top-level TP converters.
Definition: TopLevelTPCnvBase.h:32
MVFVxContainerCnv::clone
virtual AthenaPoolCnvTPExtension * clone() override
Definition: MVFVxContainerCnv.h:53
MVFVxContainerCnv::createPersistent
virtual MVFVxContainer_PERS * createPersistent(MVFVxContainer *transCont) override
Definition: MVFVxContainerCnv.cxx:49
MVFVxContainerCnvBase
T_AthenaPoolExtendingCnv< MVFVxContainer, MVFVxContainer_PERS > MVFVxContainerCnvBase
Definition: MVFVxContainerCnv.h:31
MVFVxContainerCnv_tlp1.h
T_AthenaPoolExtendingCnv
This templated class extends T_AthenaPoolCustomCnv to provide additional/chaged functionality for Ath...
Definition: T_AthenaPoolCustomCnv.h:24