ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetEventCnv
InDetEventAthenaPool
src
PixelClusterContainerCnv.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 PIXELCLUSTERCONTAINERCNV_H
6
#define PIXELCLUSTERCONTAINERCNV_H
7
8
#include "
InDetPrepRawData/PixelClusterCollection.h
"
9
#include "
InDetPrepRawData/PixelClusterContainer.h
"
10
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
11
12
#include "
PixelClusterContainerCnv_p0.h
"
13
#include "
InDetEventTPCnv/PixelClusterContainerCnv_tlp1.h
"
14
#include "
InDetEventTPCnv/PixelClusterContainerCnv_p2.h
"
15
#include "
InDetEventTPCnv/PixelClusterContainerCnv_p3.h
"
16
17
class
PixelID
;
18
19
// the latest persistent representation type of DataCollection:
20
typedef
InDet::PixelClusterContainer_p3
PixelClusterContainer_PERS
;
21
typedef
T_AthenaPoolCustomCnv<InDet::PixelClusterContainer, PixelClusterContainer_PERS >
PixelClusterContainerCnvBase
;
22
27
class
PixelClusterContainerCnv
:
public
PixelClusterContainerCnvBase
28
{
29
friend
class
CnvFactory
<
PixelClusterContainerCnv
>;
30
31
// Converters need to be initialized (use ID helpers)
32
// Thus they can't be local
33
PixelClusterContainerCnv_p0
m_converter_p0
;
34
PixelClusterContainerCnv_p2
m_converter_p2
;
35
PixelClusterContainerCnv_p3
m_converter_p3
;
36
PixelClusterContainerCnv_tlp1
m_TPConverter
;
37
38
protected
:
39
public
:
40
PixelClusterContainerCnv
(ISvcLocator* svcloc);
41
protected
:
42
virtual
PixelClusterContainer_PERS
*
createPersistent
(InDet::PixelClusterContainer* transCont)
override
;
43
virtual
InDet::PixelClusterContainer*
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
PixelClusterContainer.h
PixelClusterCollection.h
PixelClusterContainerCnvBase
T_AthenaPoolCustomCnv< InDet::PixelClusterContainer, PixelClusterContainer_PERS > PixelClusterContainerCnvBase
Definition
PixelClusterContainerCnv.h:21
PixelClusterContainer_PERS
InDet::PixelClusterContainer_p3 PixelClusterContainer_PERS
Definition
PixelClusterContainerCnv.h:20
PixelClusterContainerCnv_p0.h
PixelClusterContainerCnv_p2.h
PixelClusterContainerCnv_p3.h
PixelClusterContainerCnv_tlp1.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::PixelClusterContainer_p3
Definition
PixelClusterContainer_p3.h:21
PixelClusterContainerCnv_p0
Definition
PixelClusterContainerCnv_p0.h:20
PixelClusterContainerCnv_p2
Definition
PixelClusterContainerCnv_p2.h:23
PixelClusterContainerCnv_p3
Definition
PixelClusterContainerCnv_p3.h:23
PixelClusterContainerCnv_tlp1
Definition
PixelClusterContainerCnv_tlp1.h:26
PixelClusterContainerCnv::createPersistent
virtual PixelClusterContainer_PERS * createPersistent(InDet::PixelClusterContainer *transCont) override
Definition
PixelClusterContainerCnv.cxx:71
PixelClusterContainerCnv::m_converter_p2
PixelClusterContainerCnv_p2 m_converter_p2
Definition
PixelClusterContainerCnv.h:34
PixelClusterContainerCnv::createTransient
virtual InDet::PixelClusterContainer * createTransient(const Token *token) override
Definition
PixelClusterContainerCnv.cxx:36
PixelClusterContainerCnv::initialize
virtual StatusCode initialize() override
Gaudi Service Interface method implementations:
Definition
PixelClusterContainerCnv.cxx:19
PixelClusterContainerCnv::getTopLevelTPCnv
virtual TopLevelTPCnvBase * getTopLevelTPCnv()
Definition
PixelClusterContainerCnv.h:47
PixelClusterContainerCnv::m_converter_p3
PixelClusterContainerCnv_p3 m_converter_p3
Definition
PixelClusterContainerCnv.h:35
PixelClusterContainerCnv::m_converter_p0
PixelClusterContainerCnv_p0 m_converter_p0
Definition
PixelClusterContainerCnv.h:33
PixelClusterContainerCnv::m_TPConverter
PixelClusterContainerCnv_tlp1 m_TPConverter
Definition
PixelClusterContainerCnv.h:36
PixelClusterContainerCnv::PixelClusterContainerCnv
PixelClusterContainerCnv(ISvcLocator *svcloc)
Definition
PixelClusterContainerCnv.cxx:13
PixelID
This is an Identifier helper class for the Pixel subdetector.
Definition
PixelID.h:69
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