ATLAS Offline Software
ForwardDetectors
ZDC
ZdcCnv
ZdcEventAthenaPool
src
ZdcDigitsCollectionCnv.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
#ifndef ZDCDIGITSCOLLECTIONCNV
6
#define ZDCDIGITSCOLLECTIONCNV
7
8
#include "
ZdcEvent/ZdcDigitsCollection.h
"
9
#include "
ZdcEventTPCnv/ZdcDigitsCollection_p1.h
"
10
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
11
// typedef to the latest persistent version
12
typedef
ZdcDigitsCollection_p1
ZdcDigitsCollection_PERS
;
13
14
typedef
T_AthenaPoolCustomCnv<ZdcDigitsCollection, ZdcDigitsCollection_PERS >
ZdcDigitsCollectionCnvBase
;
15
16
class
ZdcDigitsCollectionCnv
:
public
ZdcDigitsCollectionCnvBase
{
17
friend
class
CnvFactory
<
ZdcDigitsCollectionCnv
>;
18
protected
:
19
public
:
20
ZdcDigitsCollectionCnv
(ISvcLocator* svcloc) :
ZdcDigitsCollectionCnvBase
( svcloc) {}
21
protected
:
22
virtual
ZdcDigitsCollection_PERS
*
createPersistent
(
ZdcDigitsCollection
* transCont);
23
virtual
ZdcDigitsCollection
*
createTransient
();
24
};
25
26
27
#endif
ZdcDigitsCollectionCnv::createTransient
virtual ZdcDigitsCollection * createTransient()
Definition:
ZdcDigitsCollectionCnv.cxx:20
ZdcDigitsCollection.h
ZdcDigitsCollection_p1
Definition:
ZdcDigitsCollection_p1.h:19
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition:
T_AthenaPoolCustomCnv.h:132
ZdcDigitsCollection_PERS
ZdcDigitsCollection_p1 ZdcDigitsCollection_PERS
Definition:
ZdcDigitsCollectionCnv.h:12
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
ZdcDigitsCollectionCnvBase
T_AthenaPoolCustomCnv< ZdcDigitsCollection, ZdcDigitsCollection_PERS > ZdcDigitsCollectionCnvBase
Definition:
ZdcDigitsCollectionCnv.h:14
CnvFactory
Abstract factory to create the converter.
Definition:
ToyConverter.h:16
ZdcDigitsCollectionCnv
Definition:
ZdcDigitsCollectionCnv.h:16
ZdcDigitsCollection
Definition:
ZdcDigitsCollection.h:20
ZdcDigitsCollectionCnv::createPersistent
virtual ZdcDigitsCollection_PERS * createPersistent(ZdcDigitsCollection *transCont)
Definition:
ZdcDigitsCollectionCnv.cxx:10
ZdcDigitsCollection_p1.h
ZdcDigitsCollectionCnv::ZdcDigitsCollectionCnv
ZdcDigitsCollectionCnv(ISvcLocator *svcloc)
Definition:
ZdcDigitsCollectionCnv.h:20
Generated on Thu Nov 7 2024 21:32:19 for ATLAS Offline Software by
1.8.18