ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ALFA
ALFA_EventCnv
ALFA_EventAthenaPool
src
ALFA_ODHitCollectionCnv.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 ALFA_ODHitCollectionCnv_h
6
#define ALFA_ODHitCollectionCnv_h
7
8
#include "
ALFA_SimEv/ALFA_ODHitCollection.h
"
9
#include "
ALFA_EventTPCnv/ALFA_ODHitCollection_p1.h
"
10
11
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
12
13
14
// Gaudi
15
#include "GaudiKernel/MsgStream.h"
16
17
// typedef to the latest persistent version
18
19
typedef
ALFA_ODHitCollection_p1
ALFA_ODHitCollection_PERS
;
20
21
22
class
ALFA_ODHitCollectionCnv
:
public
T_AthenaPoolCustomCnv
<ALFA_ODHitCollection, ALFA_ODHitCollection_PERS>
23
{
24
friend
class
CnvFactory
<
ALFA_ODHitCollectionCnv
>;
25
26
protected
:
27
28
public
:
29
ALFA_ODHitCollectionCnv
(ISvcLocator* svcloc) :
T_AthenaPoolCustomCnv
<
ALFA_ODHitCollection
,
ALFA_ODHitCollection_PERS
>(svcloc) {}
30
protected
:
31
32
ALFA_ODHitCollection_PERS
*
createPersistent
(
ALFA_ODHitCollection
*transCont);
33
ALFA_ODHitCollection
*
createTransient
(
const
Token
* token);
34
35
};
36
37
#endif
ALFA_ODHitCollection_PERS
ALFA_ODHitCollection_p1 ALFA_ODHitCollection_PERS
Definition
ALFA_ODHitCollectionCnv.h:19
ALFA_ODHitCollection.h
ALFA_ODHitCollection
AtlasHitsVector< ALFA_ODHit > ALFA_ODHitCollection
Definition
ALFA_ODHitCollection.h:13
ALFA_ODHitCollection_p1.h
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
ALFA_ODHitCollectionCnv::createTransient
ALFA_ODHitCollection * createTransient(const Token *token)
Definition
ALFA_ODHitCollectionCnv.cxx:18
ALFA_ODHitCollectionCnv::ALFA_ODHitCollectionCnv
ALFA_ODHitCollectionCnv(ISvcLocator *svcloc)
Definition
ALFA_ODHitCollectionCnv.h:29
ALFA_ODHitCollectionCnv::createPersistent
ALFA_ODHitCollection_PERS * createPersistent(ALFA_ODHitCollection *transCont)
Definition
ALFA_ODHitCollectionCnv.cxx:10
ALFA_ODHitCollection_p1
Definition
ALFA_ODHitCollection_p1.h:17
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
Generated on
for ATLAS Offline Software by
1.17.0