ATLAS Offline Software
SCT_ClusterContainerCnv_p2.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_P2_H
6 #define SCT_CLUSTERCONTAINERCNV_P2_H
7 
8 // SCT_DriftCircleContainerCnv_p2, T/P separation of SCT PRD
9 // author D.Costanzo <davide.costanzo@cern.ch>
10 
12 
15 
18 
19 class SCT_ID;
20 class StoreGateSvc;
21 
22 class SCT_ClusterContainerCnv_p2 : public T_AthenaPoolTPCnvBase<InDet::SCT_ClusterContainer, InDet::SCT_ClusterContainer_p2>
23 {
24  public:
25  SCT_ClusterContainerCnv_p2() : m_sctId{nullptr}, m_SCTDetEleCollKey{"SCT_DetectorElementCollection"}, m_useDetectorElement{true}, m_isInitialized{false} {};
26 
27  virtual void transToPers(const InDet::SCT_ClusterContainer* transCont,
29  MsgStream &log) ;
30  virtual void persToTrans(const InDet::SCT_ClusterContainer_p2* persCont,
31  InDet::SCT_ClusterContainer* transCont,
32  MsgStream &log) ;
33 
35 
36  // Methods for test/SCT_ClusterContainerCnv_p2_test.cxx
37  void setIdHelper(const SCT_ID* sct_id);
38  void setUseDetectorElement(const bool useDetectorElement);
39 
40  private:
41  const SCT_ID *m_sctId;
45  StatusCode initialize(MsgStream &log);
46 
47 };
48 
49 #endif
SCT_ClusterContainerCnv_p2::initialize
StatusCode initialize(MsgStream &log)
Definition: SCT_ClusterContainerCnv_p2.cxx:208
SCT_ClusterContainerCnv_p2::setIdHelper
void setIdHelper(const SCT_ID *sct_id)
Definition: SCT_ClusterContainerCnv_p2.cxx:225
SCT_ClusterContainerCnv_p2::persToTrans
virtual void persToTrans(const InDet::SCT_ClusterContainer_p2 *persCont, InDet::SCT_ClusterContainer *transCont, MsgStream &log)
Definition: SCT_ClusterContainerCnv_p2.cxx:112
SCT_ClusterContainerCnv_p2::transToPers
virtual void transToPers(const InDet::SCT_ClusterContainer *transCont, InDet::SCT_ClusterContainer_p2 *persCont, MsgStream &log)
Definition: SCT_ClusterContainerCnv_p2.cxx:25
InDet::SCT_ClusterContainer_p2
Definition: SCT_ClusterContainer_p2.h:23
TPConverterBase
Definition: TPConverter.h:738
InDet::SCT_ClusterContainer
Trk::PrepRawDataContainer< SCT_ClusterCollection > SCT_ClusterContainer
Definition: SCT_ClusterContainer.h:27
SCT_ClusterContainerCnv_p2::m_useDetectorElement
bool m_useDetectorElement
Definition: SCT_ClusterContainerCnv_p2.h:43
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
T_AthenaPoolTPConverter.h
ReadCondHandleKey.h
SiDetectorElementCollection.h
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection >
SCT_ClusterContainerCnv_p2::createTransient
virtual InDet::SCT_ClusterContainer * createTransient(const InDet::SCT_ClusterContainer_p2 *persObj, MsgStream &log)
Definition: SCT_ClusterContainerCnv_p2.cxx:195
SCT_ID
Definition: SCT_ID.h:68
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
SCT_ClusterContainer.h
SCT_ClusterContainerCnv_p2::SCT_ClusterContainerCnv_p2
SCT_ClusterContainerCnv_p2()
Definition: SCT_ClusterContainerCnv_p2.h:25
SCT_ClusterContainerCnv_p2::m_sctId
const SCT_ID * m_sctId
Definition: SCT_ClusterContainerCnv_p2.h:41
SCT_ClusterContainerCnv_p2::m_SCTDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
Definition: SCT_ClusterContainerCnv_p2.h:42
SCT_ClusterContainerCnv_p2::setUseDetectorElement
void setUseDetectorElement(const bool useDetectorElement)
Definition: SCT_ClusterContainerCnv_p2.cxx:229
SCT_ClusterContainer_p2.h
SCT_ClusterContainerCnv_p2
Definition: SCT_ClusterContainerCnv_p2.h:23
SCT_ClusterContainerCnv_p2::m_isInitialized
bool m_isInitialized
Definition: SCT_ClusterContainerCnv_p2.h:44