ATLAS Offline Software
SCT_ClusterContainerCnv_p3.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 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 
12 
15 
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:
26  m_sctId{nullptr}, m_storeGate{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,
33  MsgStream &log) ;
34  virtual void persToTrans(const InDet::SCT_ClusterContainer_p3* persCont,
35  InDet::SCT_ClusterContainer* transCont,
36  MsgStream &log) ;
37 
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;
51  StatusCode initialize(MsgStream &log);
52 
53 };
54 
55 #endif
SCT_ClusterContainerCnv_p3::m_sctId
const SCT_ID * m_sctId
Definition: SCT_ClusterContainerCnv_p3.h:45
SCT_ClusterContainerCnv_p3::transToPers
virtual void transToPers(const InDet::SCT_ClusterContainer *transCont, InDet::SCT_ClusterContainer_p3 *persCont, MsgStream &log)
Definition: SCT_ClusterContainerCnv_p3.cxx:25
SCT_ClusterContainer_p3.h
TPConverterBase
Definition: TPConverter.h:738
InDet::SCT_ClusterContainer
Trk::PrepRawDataContainer< SCT_ClusterCollection > SCT_ClusterContainer
Definition: SCT_ClusterContainer.h:27
SCT_ClusterContainerCnv_p3::m_isInitialized
bool m_isInitialized
Definition: SCT_ClusterContainerCnv_p3.h:50
SCT_ClusterContainerCnv_p3::SCT_ClusterContainerCnv_p3
SCT_ClusterContainerCnv_p3()
Definition: SCT_ClusterContainerCnv_p3.h:25
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
T_AthenaPoolTPConverter.h
SCT_ClusterContainerCnv_p3::initialize
StatusCode initialize(MsgStream &log)
Definition: SCT_ClusterContainerCnv_p3.cxx:212
SCT_ClusterContainerCnv_p3::m_ITkStripDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_ITkStripDetEleCollKey
Definition: SCT_ClusterContainerCnv_p3.h:48
SCT_ClusterContainerCnv_p3::setUseDetectorElement
void setUseDetectorElement(const bool useDetectorElement)
Definition: SCT_ClusterContainerCnv_p3.cxx:257
SCT_ClusterContainerCnv_p3::m_useDetectorElement
bool m_useDetectorElement
Definition: SCT_ClusterContainerCnv_p3.h:49
SCT_ClusterContainerCnv_p3
Definition: SCT_ClusterContainerCnv_p3.h:23
ReadCondHandleKey.h
SCT_ClusterContainerCnv_p3::setIdHelper
void setIdHelper(const SCT_ID *sct_id)
Definition: SCT_ClusterContainerCnv_p3.cxx:253
SiDetectorElementCollection.h
SCT_ClusterContainerCnv_p3::m_SCTDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
Definition: SCT_ClusterContainerCnv_p3.h:47
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection >
SCT_ID
Definition: SCT_ID.h:68
InDet::SCT_ClusterContainer_p3
Definition: SCT_ClusterContainer_p3.h:23
SCT_ClusterContainerCnv_p3::m_storeGate
StoreGateSvc * m_storeGate
Definition: SCT_ClusterContainerCnv_p3.h:46
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
SCT_ClusterContainer.h
SCT_ClusterContainerCnv_p3::createTransient
virtual InDet::SCT_ClusterContainer * createTransient(const InDet::SCT_ClusterContainer_p3 *persObj, MsgStream &log)
Definition: SCT_ClusterContainerCnv_p3.cxx:199
SCT_ClusterContainerCnv_p3::persToTrans
virtual void persToTrans(const InDet::SCT_ClusterContainer_p3 *persCont, InDet::SCT_ClusterContainer *transCont, MsgStream &log)
Definition: SCT_ClusterContainerCnv_p3.cxx:103