ATLAS Offline Software
ForwardDetectors
ALFA
ALFA_EventCnv
ALFA_EventAthenaPool
src
ALFA_HitCollectionCnv.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_HitCollectionCnv_h
6
#define ALFA_HitCollectionCnv_h
7
8
#include "
ALFA_SimEv/ALFA_HitCollection.h
"
9
#include "
ALFA_EventTPCnv/ALFA_HitCollection_p1.h
"
10
11
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
12
13
// Gaudi
14
#include "GaudiKernel/MsgStream.h"
15
16
// typedef to the latest persistent version
17
typedef
ALFA_HitCollection_p1
ALFA_HitCollection_PERS
;
18
19
20
21
class
ALFA_HitCollectionCnv
:
public
T_AthenaPoolCustomCnv
<ALFA_HitCollection, ALFA_HitCollection_PERS>
22
{
23
friend
class
CnvFactory
<
ALFA_HitCollectionCnv
>;
24
25
protected
:
26
27
public
:
28
ALFA_HitCollectionCnv
(ISvcLocator* svcloc) :
T_AthenaPoolCustomCnv
<
ALFA_HitCollection
,
ALFA_HitCollection_PERS
>(svcloc) {}
29
protected
:
30
31
ALFA_HitCollection_PERS
*
createPersistent
(
ALFA_HitCollection
*transCont);
32
ALFA_HitCollection
*
createTransient
();
33
34
};
35
36
#endif
ALFA_HitCollectionCnv::createTransient
ALFA_HitCollection * createTransient()
Definition:
ALFA_HitCollectionCnv.cxx:18
ALFA_HitCollectionCnv::createPersistent
ALFA_HitCollection_PERS * createPersistent(ALFA_HitCollection *transCont)
Definition:
ALFA_HitCollectionCnv.cxx:10
AtlasHitsVector
Definition:
AtlasHitsVector.h:33
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_HitCollection_PERS
ALFA_HitCollection_p1 ALFA_HitCollection_PERS
Definition:
ALFA_HitCollectionCnv.h:17
ALFA_HitCollection_p1.h
ALFA_HitCollection.h
ALFA_HitCollectionCnv
Definition:
ALFA_HitCollectionCnv.h:22
ALFA_HitCollection_p1
Definition:
ALFA_HitCollection_p1.h:23
ALFA_HitCollectionCnv::ALFA_HitCollectionCnv
ALFA_HitCollectionCnv(ISvcLocator *svcloc)
Definition:
ALFA_HitCollectionCnv.h:28
Generated on Sun Dec 22 2024 21:06:47 for ATLAS Offline Software by
1.8.18