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