ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetEventCnv
InDetEventTPCnv
InDetEventTPCnv
SCT_ClusterContainerCnv_p3.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_P3_H
6
#define SCT_CLUSTERCONTAINERCNV_P3_H
7
8
// SCT_DriftCircleContainerCnv_p3, T/P separation of SCT PRD
9
// author D.Costanzo <davide.costanzo@cern.ch>
10
11
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
12
13
#include "
InDetPrepRawData/SCT_ClusterContainer.h
"
14
#include "
InDetEventTPCnv/SCT_ClusterContainer_p3.h
"
15
16
#include "
InDetReadoutGeometry/SiDetectorElementCollection.h
"
17
#include "
StoreGate/ReadCondHandleKey.h
"
18
19
class
SCT_ID
;
20
class
StoreGateSvc
;
21
22
class
SCT_ClusterContainerCnv_p3
:
public
T_AthenaPoolTPCnvBase
<InDet::SCT_ClusterContainer, InDet::SCT_ClusterContainer_p3>
23
{
24
public
:
25
SCT_ClusterContainerCnv_p3
() :
26
m_sctId
{nullptr},
27
m_SCTDetEleCollKey
{
"SCT_DetectorElementCollection"
},
28
m_ITkStripDetEleCollKey
{
"ITkStripDetectorElementCollection"
},
29
m_useDetectorElement
{true},
m_isInitialized
{false} {};
30
31
virtual
void
transToPers
(
const
InDet::SCT_ClusterContainer* transCont,
32
InDet::SCT_ClusterContainer_p3
* persCont,
33
MsgStream &log) ;
34
virtual
void
persToTrans
(
const
InDet::SCT_ClusterContainer_p3
* persCont,
35
InDet::SCT_ClusterContainer* transCont,
36
MsgStream &log) ;
37
38
virtual
InDet::SCT_ClusterContainer*
createTransient
(
const
InDet::SCT_ClusterContainer_p3
* persObj, MsgStream& log);
39
40
// Methods for test/SCT_ClusterContainerCnv_p3_test.cxx
41
void
setIdHelper
(
const
SCT_ID
* sct_id);
42
void
setUseDetectorElement
(
const
bool
useDetectorElement);
43
44
private
:
45
const
SCT_ID
*
m_sctId
;
46
SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection>
m_SCTDetEleCollKey
;
47
SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection>
m_ITkStripDetEleCollKey
;
48
bool
m_useDetectorElement
;
49
bool
m_isInitialized
;
50
StatusCode
initialize
(MsgStream &log);
51
52
};
53
54
#endif
ReadCondHandleKey.h
SCT_ClusterContainer.h
SCT_ClusterContainer_p3.h
SiDetectorElementCollection.h
T_AthenaPoolTPConverter.h
T_AthenaPoolTPCnvBase
TPConverterBase< TRANS, PERS > T_AthenaPoolTPCnvBase
Definition
T_AthenaPoolTPConverter.h:41
InDet::SCT_ClusterContainer_p3
Definition
SCT_ClusterContainer_p3.h:23
SCT_ClusterContainerCnv_p3::transToPers
virtual void transToPers(const InDet::SCT_ClusterContainer *transCont, InDet::SCT_ClusterContainer_p3 *persCont, MsgStream &log)
Definition
SCT_ClusterContainerCnv_p3.cxx:24
SCT_ClusterContainerCnv_p3::createTransient
virtual InDet::SCT_ClusterContainer * createTransient(const InDet::SCT_ClusterContainer_p3 *persObj, MsgStream &log)
Definition
SCT_ClusterContainerCnv_p3.cxx:198
SCT_ClusterContainerCnv_p3::SCT_ClusterContainerCnv_p3
SCT_ClusterContainerCnv_p3()
Definition
SCT_ClusterContainerCnv_p3.h:25
SCT_ClusterContainerCnv_p3::m_ITkStripDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_ITkStripDetEleCollKey
Definition
SCT_ClusterContainerCnv_p3.h:47
SCT_ClusterContainerCnv_p3::m_sctId
const SCT_ID * m_sctId
Definition
SCT_ClusterContainerCnv_p3.h:45
SCT_ClusterContainerCnv_p3::persToTrans
virtual void persToTrans(const InDet::SCT_ClusterContainer_p3 *persCont, InDet::SCT_ClusterContainer *transCont, MsgStream &log)
Definition
SCT_ClusterContainerCnv_p3.cxx:102
SCT_ClusterContainerCnv_p3::m_useDetectorElement
bool m_useDetectorElement
Definition
SCT_ClusterContainerCnv_p3.h:48
SCT_ClusterContainerCnv_p3::m_isInitialized
bool m_isInitialized
Definition
SCT_ClusterContainerCnv_p3.h:49
SCT_ClusterContainerCnv_p3::m_SCTDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
Definition
SCT_ClusterContainerCnv_p3.h:46
SCT_ClusterContainerCnv_p3::setIdHelper
void setIdHelper(const SCT_ID *sct_id)
Definition
SCT_ClusterContainerCnv_p3.cxx:229
SCT_ClusterContainerCnv_p3::setUseDetectorElement
void setUseDetectorElement(const bool useDetectorElement)
Definition
SCT_ClusterContainerCnv_p3.cxx:233
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
StoreGateSvc
The Athena Transient Store API.
Definition
StoreGateSvc.h:120
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0