ATLAS Offline Software
ForwardDetectors
LUCID
LUCID_Cnv
LUCID_EventAthenaPool
src
LUCID_SimHitCollectionCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LUCID_SimHitCollectionCnv_H
6
#define LUCID_SimHitCollectionCnv_H
7
8
#include "
LUCID_SimEvent/LUCID_SimHitCollection.h
"
9
#include "
LUCID_EventTPCnv/LUCID_SimHitCollection_p2.h
"
10
#include "
LUCID_EventTPCnv/LUCID_SimHitCollectionCnv_p2.h
"
11
12
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
13
14
#include "GaudiKernel/MsgStream.h"
15
// typedef to the latest persistent vesion
16
typedef
LUCID_SimHitCollection_p2
LUCID_SimHitCollection_PERS
;
17
typedef
LUCID_SimHitCollectionCnv_p2
LUCID_SimHitCollectionCnv_PERS
;
18
19
typedef
T_AthenaPoolCustomCnv < LUCID_SimHitCollection, LUCID_SimHitCollection_PERS >
LUCID_SimHitCollectionCnvBase
;
20
21
class
LUCID_SimHitCollectionCnv
:
public
LUCID_SimHitCollectionCnvBase
{
22
23
friend
class
CnvFactory
<
LUCID_SimHitCollectionCnv
>;
24
public
:
25
LUCID_SimHitCollectionCnv
(ISvcLocator* svcloc):
LUCID_SimHitCollectionCnvBase
(svcloc) {}
26
protected
:
27
28
virtual
LUCID_SimHitCollection_PERS
*
createPersistent
(
LUCID_SimHitCollection
* transCont);
29
virtual
LUCID_SimHitCollection
*
createTransient
();
30
};
31
32
#endif
LUCID_SimHitCollectionCnv::createPersistent
virtual LUCID_SimHitCollection_PERS * createPersistent(LUCID_SimHitCollection *transCont)
Definition:
LUCID_SimHitCollectionCnv.cxx:14
AtlasHitsVector
Definition:
AtlasHitsVector.h:33
LUCID_SimHitCollectionCnv::LUCID_SimHitCollectionCnv
LUCID_SimHitCollectionCnv(ISvcLocator *svcloc)
Definition:
LUCID_SimHitCollectionCnv.h:25
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.
T_AtlasHitsVectorCnv
Definition:
TPConverter.h:1234
CnvFactory
Abstract factory to create the converter.
Definition:
ToyConverter.h:16
LUCID_SimHitCollection.h
LUCID_SimHitCollectionCnv_p2.h
LUCID_SimHitCollectionCnv
Definition:
LUCID_SimHitCollectionCnv.h:21
LUCID_SimHitCollection_p2
Definition:
LUCID_SimHitCollection_p2.h:13
LUCID_SimHitCollectionCnv::createTransient
virtual LUCID_SimHitCollection * createTransient()
Definition:
LUCID_SimHitCollectionCnv.cxx:23
LUCID_SimHitCollection_PERS
LUCID_SimHitCollection_p2 LUCID_SimHitCollection_PERS
Definition:
LUCID_SimHitCollectionCnv.h:16
LUCID_SimHitCollectionCnv_PERS
LUCID_SimHitCollectionCnv_p2 LUCID_SimHitCollectionCnv_PERS
Definition:
LUCID_SimHitCollectionCnv.h:17
LUCID_SimHitCollection_p2.h
LUCID_SimHitCollectionCnvBase
T_AthenaPoolCustomCnv< LUCID_SimHitCollection, LUCID_SimHitCollection_PERS > LUCID_SimHitCollectionCnvBase
Definition:
LUCID_SimHitCollectionCnv.h:19
Generated on Thu Nov 7 2024 21:20:17 for ATLAS Offline Software by
1.8.18