ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetEventCnv
InDetEventAthenaPool
src
SCT_ClusterContainerCnv.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 SCT_CLUSTERCONTAINERCNV_H
6
#define SCT_CLUSTERCONTAINERCNV_H
7
8
#include "
InDetPrepRawData/SCT_ClusterCollection.h
"
9
#include "
InDetPrepRawData/SCT_ClusterContainer.h
"
10
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
11
12
#include "
SCT_ClusterContainerCnv_p0.h
"
13
#include "
InDetEventTPCnv/SCT_ClusterContainerCnv_tlp1.h
"
14
#include "
InDetEventTPCnv/SCT_ClusterContainerCnv_p3.h
"
15
#include "
InDetEventTPCnv/SCT_ClusterContainerCnv_p2.h
"
16
17
class
SCT_ID
;
18
19
// the latest persistent representation type of DataCollection:
20
typedef
InDet::SCT_ClusterContainer_p3
SCT_ClusterContainer_PERS
;
21
typedef
T_AthenaPoolCustomCnv<InDet::SCT_ClusterContainer, SCT_ClusterContainer_PERS >
SCT_ClusterContainerCnvBase
;
22
27
class
SCT_ClusterContainerCnv
:
public
SCT_ClusterContainerCnvBase
28
{
29
friend
class
CnvFactory
<
SCT_ClusterContainerCnv
>;
30
31
// Converters need to be initialized (use ID helpers)
32
// Thus they can't be local
33
SCT_ClusterContainerCnv_p0
m_converter_p0
;
34
SCT_ClusterContainerCnv_tlp1
m_TPConverter
;
35
SCT_ClusterContainerCnv_p3
m_TPConverter_p3
;
36
SCT_ClusterContainerCnv_p2
m_TPConverter_p2
;
37
38
protected
:
39
public
:
40
SCT_ClusterContainerCnv
(ISvcLocator* svcloc);
41
protected
:
42
virtual
SCT_ClusterContainer_PERS
*
createPersistent
(InDet::SCT_ClusterContainer* transCont)
override
;
43
virtual
InDet::SCT_ClusterContainer*
createTransient
(
const
Token
* token)
override
;
44
45
// Must initialize ID helpers
46
virtual
StatusCode
initialize
()
override
;
47
virtual
TopLevelTPCnvBase
*
getTopLevelTPCnv
() {
return
&
m_TPConverter
; }
48
};
49
50
51
#endif
SCT_ClusterCollection.h
SCT_ClusterContainerCnvBase
T_AthenaPoolCustomCnv< InDet::SCT_ClusterContainer, SCT_ClusterContainer_PERS > SCT_ClusterContainerCnvBase
Definition
SCT_ClusterContainerCnv.h:21
SCT_ClusterContainer_PERS
InDet::SCT_ClusterContainer_p3 SCT_ClusterContainer_PERS
Definition
SCT_ClusterContainerCnv.h:20
SCT_ClusterContainerCnv_p0.h
SCT_ClusterContainerCnv_p2.h
SCT_ClusterContainerCnv_p3.h
SCT_ClusterContainerCnv_tlp1.h
SCT_ClusterContainer.h
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
InDet::SCT_ClusterContainer_p3
Definition
SCT_ClusterContainer_p3.h:23
SCT_ClusterContainerCnv_p0
Definition
SCT_ClusterContainerCnv_p0.h:19
SCT_ClusterContainerCnv_p2
Definition
SCT_ClusterContainerCnv_p2.h:23
SCT_ClusterContainerCnv_p3
Definition
SCT_ClusterContainerCnv_p3.h:23
SCT_ClusterContainerCnv_tlp1
Definition
SCT_ClusterContainerCnv_tlp1.h:26
SCT_ClusterContainerCnv::createTransient
virtual InDet::SCT_ClusterContainer * createTransient(const Token *token) override
Definition
SCT_ClusterContainerCnv.cxx:38
SCT_ClusterContainerCnv::createPersistent
virtual SCT_ClusterContainer_PERS * createPersistent(InDet::SCT_ClusterContainer *transCont) override
Definition
SCT_ClusterContainerCnv.cxx:75
SCT_ClusterContainerCnv::m_TPConverter
SCT_ClusterContainerCnv_tlp1 m_TPConverter
Definition
SCT_ClusterContainerCnv.h:34
SCT_ClusterContainerCnv::getTopLevelTPCnv
virtual TopLevelTPCnvBase * getTopLevelTPCnv()
Definition
SCT_ClusterContainerCnv.h:47
SCT_ClusterContainerCnv::m_TPConverter_p2
SCT_ClusterContainerCnv_p2 m_TPConverter_p2
Definition
SCT_ClusterContainerCnv.h:36
SCT_ClusterContainerCnv::m_TPConverter_p3
SCT_ClusterContainerCnv_p3 m_TPConverter_p3
Definition
SCT_ClusterContainerCnv.h:35
SCT_ClusterContainerCnv::initialize
virtual StatusCode initialize() override
Gaudi Service Interface method implementations:
Definition
SCT_ClusterContainerCnv.cxx:21
SCT_ClusterContainerCnv::m_converter_p0
SCT_ClusterContainerCnv_p0 m_converter_p0
Definition
SCT_ClusterContainerCnv.h:33
SCT_ClusterContainerCnv::SCT_ClusterContainerCnv
SCT_ClusterContainerCnv(ISvcLocator *svcloc)
Definition
SCT_ClusterContainerCnv.cxx:15
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
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
TopLevelTPCnvBase
Base class for top-level TP converters.
Definition
TopLevelTPCnvBase.h:32
Generated on
for ATLAS Offline Software by
1.17.0