ATLAS Offline Software
TBTrackCnv.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_TBTRACKCNV_P1_H
12 #define TBEVENTATHENAPOOL_TBTRACKCNV_P1_H
13 
15 #include "TBTPCnv/TBTrack_p1.h"
16 #include "TBEvent/TBTrack.h"
17 #include "TBTPCnv/TBTrackCnv_p1.h"
18 
19 // the latest persistent representation type of TBTrack:
22 
23 class TBTrackCnv : public TBTrackCnvBase {
24 friend class CnvFactory<TBTrackCnv >;
25 protected:
26 public:
27  TBTrackCnv (ISvcLocator* svcloc) : TBTrackCnvBase(svcloc) {}
28 protected:
29  virtual TBTrack_PERS* createPersistent (TBTrack* transCont);
30  virtual TBTrack* createTransient ();
31 
33 };
34 #endif
35 
36 
37 
TBTrackCnv_p1.h
TBTrack_PERS
TBTrack_p1 TBTrack_PERS
Definition: TBTrackCnv.h:20
TBTrack
Definition: TBTrack.h:20
TBTrack_p1.h
TBTrackCnvBase
T_AthenaPoolCustomCnv< TBTrack, TBTrack_PERS > TBTrackCnvBase
Definition: TBTrackCnv.h:21
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition: T_AthenaPoolCustomCnv.h:132
TBTrackCnv::createPersistent
virtual TBTrack_PERS * createPersistent(TBTrack *transCont)
Definition: TBTrackCnv.cxx:7
TBTrackCnv::createTransient
virtual TBTrack * createTransient()
Definition: TBTrackCnv.cxx:14
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
TBTrack.h
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
TBTrackCnv::TBTrackCnv
TBTrackCnv(ISvcLocator *svcloc)
Definition: TBTrackCnv.h:27
TBTrack_p1
Definition: TBTrack_p1.h:15
TBTrackCnv
Definition: TBTrackCnv.h:23
TBTrackCnv::m_TPConverter
TBTrackCnv_p1 m_TPConverter
Definition: TBTrackCnv.h:32
TBTrackCnv_p1
Definition: TBTrackCnv_p1.h:22