ATLAS Offline Software
Loading...
Searching...
No Matches
TBTDCCnv.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_TBTDCCNV_P1_H
12#define TBEVENTATHENAPOOL_TBTDCCNV_P1_H
13
15#include "TBTPCnv/TBTDC_p1.h"
16#include "TBEvent/TBTDC.h"
17#include "TBTPCnv/TBTDCCnv_p1.h"
18
19// the latest persistent representation type of TBTDC:
22
23class TBTDCCnv : public TBTDCCnvBase {
24friend class CnvFactory<TBTDCCnv >;
25protected:
26public:
27 TBTDCCnv (ISvcLocator* svcloc) : TBTDCCnvBase(svcloc) {}
28protected:
29 virtual TBTDC_PERS* createPersistent (TBTDC* transCont);
30 virtual TBTDC* createTransient ();
31
33};
34#endif
35
TBTDC_p1 TBTDC_PERS
Definition TBTDCCnv.h:20
T_AthenaPoolCustomCnv< TBTDC, TBTDC_PERS > TBTDCCnvBase
Definition TBTDCCnv.h:21
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
Abstract factory to create the converter.
TBTDCCnv(ISvcLocator *svcloc)
Definition TBTDCCnv.h:27
virtual TBTDC_PERS * createPersistent(TBTDC *transCont)
Definition TBTDCCnv.cxx:7
TBTDCCnv_p1 m_TPConverter
Definition TBTDCCnv.h:32
virtual TBTDC * createTransient()
Definition TBTDCCnv.cxx:14
Definition TBTDC.h:17
Compatibility for old converter classes that don't get passed the key.