ATLAS Offline Software
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
();
34
35
};
36
37
#endif
AtlasHitsVector
Definition:
AtlasHitsVector.h:33
ALFA_ODHitCollection.h
ALFA_ODHitCollection_PERS
ALFA_ODHitCollection_p1 ALFA_ODHitCollection_PERS
Definition:
ALFA_ODHitCollectionCnv.h:19
ALFA_ODHitCollectionCnv::createPersistent
ALFA_ODHitCollection_PERS * createPersistent(ALFA_ODHitCollection *transCont)
Definition:
ALFA_ODHitCollectionCnv.cxx:10
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition:
T_AthenaPoolCustomCnv.h:132
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
ALFA_ODHitCollectionCnv
Definition:
ALFA_ODHitCollectionCnv.h:23
ALFA_ODHitCollectionCnv::createTransient
ALFA_ODHitCollection * createTransient()
Definition:
ALFA_ODHitCollectionCnv.cxx:18
ALFA_ODHitCollectionCnv::ALFA_ODHitCollectionCnv
ALFA_ODHitCollectionCnv(ISvcLocator *svcloc)
Definition:
ALFA_ODHitCollectionCnv.h:29
ALFA_ODHitCollection_p1.h
ALFA_ODHitCollection_p1
Definition:
ALFA_ODHitCollection_p1.h:17
Generated on Thu Nov 7 2024 21:09:48 for ATLAS Offline Software by
1.8.18