ATLAS Offline Software
TBEventInfoCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // -------------------------------------------------------------------
6 // Modified pool converter which complies with the standards of the
7 // transient/persistent scheme.
8 // See: https://twiki.cern.ch/twiki/bin/view/Atlas/TransientPersistentSeparation#TP_converters_for_component_type
9 // Author: Iftach Sadeh (iftach.sadeh@NOSPAMTODAYcern.ch) , February 2010
10 // -------------------------------------------------------------------
11 #ifndef TBEVENTATHENAPOOL_TBEVENTINFOCNV_P1_H
12 #define TBEVENTATHENAPOOL_TBEVENTINFOCNV_P1_H
13 
15 #include "TBTPCnv/TBEventInfo_p1.h"
16 #include "TBEvent/TBEventInfo.h"
18 
19 // the latest persistent representation type of TBEventInfo:
22 
24 friend class CnvFactory<TBEventInfoCnv >;
25 protected:
26 public:
27  TBEventInfoCnv (ISvcLocator* svcloc) : TBEventInfoCnvBase(svcloc) {}
28 protected:
29  virtual TBEventInfo_PERS* createPersistent (TBEventInfo* transCont);
30  virtual TBEventInfo* createTransient ();
31 
33 };
34 #endif
35 
TBEventInfoCnv_p1.h
TBEventInfoCnv::createPersistent
virtual TBEventInfo_PERS * createPersistent(TBEventInfo *transCont)
Definition: TBEventInfoCnv.cxx:7
TBEventInfoCnv::m_TPConverter
TBEventInfoCnv_p1 m_TPConverter
Definition: TBEventInfoCnv.h:32
TBEventInfoCnv_p1
Definition: TBEventInfoCnv_p1.h:22
TBEventInfoCnv::TBEventInfoCnv
TBEventInfoCnv(ISvcLocator *svcloc)
Definition: TBEventInfoCnv.h:27
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition: T_AthenaPoolCustomCnv.h:132
TBEventInfoCnvBase
T_AthenaPoolCustomCnv< TBEventInfo, TBEventInfo_PERS > TBEventInfoCnvBase
Definition: TBEventInfoCnv.h:21
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
TBEventInfoCnv::createTransient
virtual TBEventInfo * createTransient()
Definition: TBEventInfoCnv.cxx:14
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
TBEventInfoCnv
Definition: TBEventInfoCnv.h:23
TBEventInfo_p1.h
TBEventInfo_PERS
TBEventInfo_p1 TBEventInfo_PERS
Definition: TBEventInfoCnv.h:20
TBEventInfo_p1
Definition: TBEventInfo_p1.h:15
TBEventInfo
Definition: TBEventInfo.h:27
TBEventInfo.h