ATLAS Offline Software
Loading...
Searching...
No Matches
TBTrackInfoCnv.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_TBTRACKINFOCNV_P1_H
12#define TBEVENTATHENAPOOL_TBTRACKINFOCNV_P1_H
13
16#include "TBEvent/TBTrackInfo.h"
18
19// the latest persistent representation type of TBTrackInfo:
22
24friend class CnvFactory<TBTrackInfoCnv >;
25protected:
26public:
27 TBTrackInfoCnv (ISvcLocator* svcloc) : TBTrackInfoCnvBase(svcloc) {}
28protected:
29 virtual TBTrackInfo_PERS* createPersistent (TBTrackInfo* transCont);
30 virtual TBTrackInfo* createTransient ();
31
33};
34#endif
35
T_AthenaPoolCustomCnv< TBTrackInfo, TBTrackInfo_PERS > TBTrackInfoCnvBase
TBTrackInfo_p1 TBTrackInfo_PERS
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
Abstract factory to create the converter.
TBTrackInfoCnv_p1 m_TPConverter
TBTrackInfoCnv(ISvcLocator *svcloc)
virtual TBTrackInfo * createTransient()
virtual TBTrackInfo_PERS * createPersistent(TBTrackInfo *transCont)
Compatibility for old converter classes that don't get passed the key.