ATLAS Offline Software
InnerDetector
InDetEventCnv
InDetSimEventAthenaPool
src
SiHitCollectionCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef INDETSIMEVENTATHENAPOOL_SIHITCOLLECTIONCNV_H
6
#define INDETSIMEVENTATHENAPOOL_SIHITCOLLECTIONCNV_H
7
8
#include "
InDetSimEvent/SiHitCollection.h
"
9
#include "
InDetSimEventTPCnv/InDetHits/SiHitCollection_p1.h
"
10
#include "
InDetSimEventTPCnv/InDetHits/SiHitCollectionCnv_p1.h
"
11
#include "
InDetSimEventTPCnv/InDetHits/SiHitCollection_p2.h
"
12
#include "
InDetSimEventTPCnv/InDetHits/SiHitCollectionCnv_p2.h
"
13
#include "
InDetSimEventTPCnv/InDetHits/SiHitCollection_p3.h
"
14
#include "
InDetSimEventTPCnv/InDetHits/SiHitCollectionCnv_p3.h
"
15
#include "
InDetSimEventTPCnv/InDetHits/SiHitCollection_p4.h
"
16
#include "
InDetSimEventTPCnv/InDetHits/SiHitCollectionCnv_p4.h
"
17
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
18
// Gaudi
19
#include "GaudiKernel/MsgStream.h"
20
// typedef to the latest persistent version
21
typedef
SiHitCollection_p3
SiHitCollection_PERS
;
22
typedef
SiHitCollectionCnv_p3
SiHitCollectionCnv_PERS
;
23
24
class
SiHitCollectionCnv
:
public
T_AthenaPoolCustomCnv
<SiHitCollection, SiHitCollection_PERS > {
25
friend
class
CnvFactory
<
SiHitCollectionCnv
>;
26
public
:
27
SiHitCollectionCnv
(ISvcLocator* svcloc) :
28
T_AthenaPoolCustomCnv
<
SiHitCollection
,
SiHitCollection_PERS
>( svcloc) {}
29
protected
:
30
SiHitCollection_PERS
*
createPersistent
(
SiHitCollection
* transCont);
31
SiHitCollection
*
createTransient
();
32
};
33
34
35
#endif // INDETSIMEVENTATHENAPOOL_SIHITCOLLECTIONCNV_H
SiHitCollectionCnv::SiHitCollectionCnv
SiHitCollectionCnv(ISvcLocator *svcloc)
Definition:
SiHitCollectionCnv.h:27
AtlasHitsVector
Definition:
AtlasHitsVector.h:33
SiHitCollection_p3
Definition:
SiHitCollection_p3.h:18
SiHitCollectionCnv_p4.h
SiHitCollectionCnv
Definition:
SiHitCollectionCnv.h:24
SiHitCollection_PERS
SiHitCollection_p3 SiHitCollection_PERS
Definition:
SiHitCollectionCnv.h:21
SiHitCollectionCnv_p3.h
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition:
T_AthenaPoolCustomCnv.h:132
SiHitCollection_p3.h
SiHitCollectionCnv_p1.h
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
SiHitCollectionCnv::createPersistent
SiHitCollection_PERS * createPersistent(SiHitCollection *transCont)
Definition:
SiHitCollectionCnv.cxx:14
CnvFactory
Abstract factory to create the converter.
Definition:
ToyConverter.h:16
SiHitCollectionCnv_p3
Definition:
SiHitCollectionCnv_p3.h:18
SiHitCollectionCnv_p2.h
SiHitCollection_p4.h
SiHitCollection_p2.h
SiHitCollectionCnv::createTransient
SiHitCollection * createTransient()
Definition:
SiHitCollectionCnv.cxx:22
SiHitCollectionCnv_PERS
SiHitCollectionCnv_p3 SiHitCollectionCnv_PERS
Definition:
SiHitCollectionCnv.h:22
SiHitCollection_p1.h
SiHitCollection.h
Generated on Wed Jan 8 2025 21:17:10 for ATLAS Offline Software by
1.8.18