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