ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
HighGranularityTimingDetector
HGTD_EventCnv
HGTD_EventAthenaPool
src
HGTD_ClusterContainerCnv.h
Go to the documentation of this file.
1
9
10
#ifndef HGTD_CLUSTERCONTAINERCNV_H
11
#define HGTD_CLUSTERCONTAINERCNV_H
12
13
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
14
#include "GaudiKernel/MsgStream.h"
15
#include "
HGTD_PrepRawData/HGTD_ClusterCollection.h
"
16
#include "
HGTD_PrepRawData/HGTD_ClusterContainer.h
"
17
18
#include "
HGTD_EventTPCnv/HGTD_ClusterContainerCnv_p1.h
"
19
20
// the latest persistent representation type of DataCollection:
21
typedef
HGTD_ClusterContainer_p1
HGTD_ClusterContainer_PERS
;
22
typedef
T_AthenaPoolCustomCnv
<
HGTD_ClusterContainer
,
23
HGTD_ClusterContainer_PERS
>
24
HGTD_ClusterContainerCnvBase
;
25
30
31
class
HGTD_ClusterContainerCnv
:
public
HGTD_ClusterContainerCnvBase
{
32
friend
class
CnvFactory
<
HGTD_ClusterContainerCnv
>;
33
34
// Converters need to be initialized (use ID helpers)
35
// Thus they can't be local
36
37
public
:
38
HGTD_ClusterContainerCnv
(ISvcLocator* svcloc);
39
protected
:
40
virtual
HGTD_ClusterContainer_PERS
*
41
createPersistent
(
HGTD_ClusterContainer
* transCont)
override
;
42
virtual
HGTD_ClusterContainer
*
createTransient
(
const
Token
* token)
override
;
43
44
private
:
45
HGTD_ClusterContainerCnv_p1
m_converter_p1
;
46
};
47
48
#endif
// HGTD_CLUSTERCONTAINERCNV_H
HGTD_ClusterCollection.h
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration.
HGTD_ClusterContainerCnvBase
T_AthenaPoolCustomCnv< HGTD_ClusterContainer, HGTD_ClusterContainer_PERS > HGTD_ClusterContainerCnvBase
Definition
HGTD_ClusterContainerCnv.h:24
HGTD_ClusterContainer_PERS
HGTD_ClusterContainer_p1 HGTD_ClusterContainer_PERS
Definition
HGTD_ClusterContainerCnv.h:21
HGTD_ClusterContainerCnv_p1.h
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration.
HGTD_ClusterContainer.h
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration.
HGTD_ClusterContainer
Trk::PrepRawDataContainer< HGTD_ClusterCollection > HGTD_ClusterContainer
Definition
HGTD_ClusterContainer.h:20
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
HGTD_ClusterContainerCnv_p1
Definition
HGTD_ClusterContainerCnv_p1.h:27
HGTD_ClusterContainerCnv::createTransient
virtual HGTD_ClusterContainer * createTransient(const Token *token) override
Definition
HGTD_ClusterContainerCnv.cxx:20
HGTD_ClusterContainerCnv::createPersistent
virtual HGTD_ClusterContainer_PERS * createPersistent(HGTD_ClusterContainer *transCont) override
Definition
HGTD_ClusterContainerCnv.cxx:39
HGTD_ClusterContainerCnv::m_converter_p1
HGTD_ClusterContainerCnv_p1 m_converter_p1
Definition
HGTD_ClusterContainerCnv.h:45
HGTD_ClusterContainerCnv::HGTD_ClusterContainerCnv
HGTD_ClusterContainerCnv(ISvcLocator *svcloc)
Definition
HGTD_ClusterContainerCnv.cxx:17
HGTD_ClusterContainer_p1
Definition
HGTD_ClusterContainer_p1.h:20
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