ATLAS Offline Software
V0ContainerCnv.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: V0ContainerCnv.h
8 // author: Kirill Prokofiev <Kirill.Prokofiev@cern.ch>
9 // March 2007
10 //
11 //-----------------------------------------------------------------------------
12 #ifndef V0CONTAINER_CNV_H
13 #define V0CONTAINER_CNV_H
14 
15 
16 #include "GaudiKernel/MsgStream.h"
17 
20 
22 
24 // #include "TrkEventTPCnv/V0ContainerCnv_tlp1.h"
26 
27 
28 //-----------------------------------------------------------------------------
29 // Base class definition
30 //-----------------------------------------------------------------------------
31 // typedef Trk::V0Container_tlp1 V0Container_PERS;
33 
35 
36 //-----------------------------------------------------------------------------
37 // Converter for V0Collection object
38 //-----------------------------------------------------------------------------
40 {
41 
42  friend class CnvFactory<V0ContainerCnv>;
43 
44  protected:
45 
46 public:
47  V0ContainerCnv( ISvcLocator *svcloc );
48 protected:
49  virtual StatusCode initialize() override;
50 
51  virtual V0Container_PERS *createPersistent( V0Container *transCont) override;
52  virtual V0Container *createTransient() override;
53 
55 
56  private:
57  void updateLog();
58 
59  IMessageSvc *m_msgSvc;
60  MsgStream m_log;
61 
63 
64  };//end of class definitions
65 
66 
67 #endif //V0CONTAINER_CNV_H
V0ContainerCnv
Definition: V0ContainerCnv.h:40
V0ContainerCnv::createTransient
virtual V0Container * createTransient() override
Definition: V0ContainerCnv.cxx:82
V0Container.h
V0Container_PERS
Trk::V0Container_tlp2 V0Container_PERS
Definition: V0ContainerCnv.h:32
V0ContainerCnv::updateLog
void updateLog()
This method modifies m_log to indicate the current key being converted.
Definition: V0ContainerCnv.cxx:166
V0ContainerCnv::V0ContainerCnv
V0ContainerCnv(ISvcLocator *svcloc)
Definition: V0ContainerCnv.cxx:19
ITrkEventCnvTool.h
Trk::V0Container_tlp2
Definition: V0Container_tlp2.h:54
V0ContainerCnv_tlp2.h
AtlasDetectorID.h
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
V0Container
Definition: V0Container.h:22
V0ContainerCnv::getTopLevelTPCnv
AthenaPoolTopLevelTPCnvBase * getTopLevelTPCnv()
Definition: V0ContainerCnv.h:54
V0ContainerCnv::m_TPConverter
V0ContainerCnv_tlp2 m_TPConverter
Definition: V0ContainerCnv.h:62
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition: T_AthenaPoolCustomCnv.h:132
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
V0ContainerCnv::createPersistent
virtual V0Container_PERS * createPersistent(V0Container *transCont) override
Definition: V0ContainerCnv.cxx:47
V0ContainerCnv_tlp2
Definition: V0ContainerCnv_tlp2.h:51
V0ContainerCnv::m_log
MsgStream m_log
Definition: V0ContainerCnv.h:60
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
V0ContainerCnvBase
T_AthenaPoolCustomCnv< V0Container, V0Container_PERS > V0ContainerCnvBase
Definition: V0ContainerCnv.h:34
TopLevelTPCnvBase
Base class for top-level TP converters.
Definition: TopLevelTPCnvBase.h:32
V0ContainerCnv::m_msgSvc
IMessageSvc * m_msgSvc
Definition: V0ContainerCnv.h:59
V0ContainerCnv::initialize
virtual StatusCode initialize() override
Gaudi Service Interface method implementations:
Definition: V0ContainerCnv.cxx:28