ATLAS Offline Software
Loading...
Searching...
No Matches
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
46public:
47 V0ContainerCnv( ISvcLocator *svcloc );
48protected:
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
TopLevelTPCnvBase AthenaPoolTopLevelTPCnvBase
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
T_AthenaPoolCustomCnv< V0Container, V0Container_PERS > V0ContainerCnvBase
Trk::V0Container_tlp2 V0Container_PERS
Abstract factory to create the converter.
Compatibility for old converter classes that don't get passed the key.
V0ContainerCnv(ISvcLocator *svcloc)
AthenaPoolTopLevelTPCnvBase * getTopLevelTPCnv()
IMessageSvc * m_msgSvc
V0ContainerCnv_tlp2 m_TPConverter
virtual V0Container * createTransient() override
void updateLog()
This method modifies m_log to indicate the current key being converted.
virtual V0Container_PERS * createPersistent(V0Container *transCont) override
virtual StatusCode initialize() override
Gaudi Service Interface method implementations: