ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
(
const
Token
* token);
22
};
23
24
25
#endif
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
ZdcRawChannelCollection_PERS
ZdcRawChannelCollection_p1 ZdcRawChannelCollection_PERS
Definition
ZdcRawChannelCollectionCnv.h:12
ZdcRawChannelCollection.h
ZdcRawChannelCollection_p1.h
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition
T_AthenaPoolCustomCnv.h:129
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition
Token.h:22
ZdcRawChannelCollectionCnv::createPersistent
ZdcRawChannelCollection_PERS * createPersistent(ZdcRawChannelCollection *transCont)
Definition
ZdcRawChannelCollectionCnv.cxx:11
ZdcRawChannelCollectionCnv::createTransient
ZdcRawChannelCollection * createTransient(const Token *token)
Definition
ZdcRawChannelCollectionCnv.cxx:18
ZdcRawChannelCollectionCnv::ZdcRawChannelCollectionCnv
ZdcRawChannelCollectionCnv(ISvcLocator *svcloc)
Definition
ZdcRawChannelCollectionCnv.h:17
ZdcRawChannelCollection_p1
Definition
ZdcRawChannelCollection_p1.h:19
ZdcRawChannelCollection
Definition
ZdcRawChannelCollection.h:20
Generated on
for ATLAS Offline Software by
1.17.0