ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
(
const
Token
* token);
33
34
};
35
36
#endif
ALFA_HitCollection_PERS
ALFA_HitCollection_p1 ALFA_HitCollection_PERS
Definition
ALFA_HitCollectionCnv.h:17
ALFA_HitCollection.h
ALFA_HitCollection
AtlasHitsVector< ALFA_Hit > ALFA_HitCollection
Definition
ALFA_HitCollection.h:13
ALFA_HitCollection_p1.h
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
ALFA_HitCollectionCnv::ALFA_HitCollectionCnv
ALFA_HitCollectionCnv(ISvcLocator *svcloc)
Definition
ALFA_HitCollectionCnv.h:28
ALFA_HitCollectionCnv::createTransient
ALFA_HitCollection * createTransient(const Token *token)
Definition
ALFA_HitCollectionCnv.cxx:18
ALFA_HitCollectionCnv::createPersistent
ALFA_HitCollection_PERS * createPersistent(ALFA_HitCollection *transCont)
Definition
ALFA_HitCollectionCnv.cxx:10
ALFA_HitCollection_p1
Definition
ALFA_HitCollection_p1.h:23
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