ATLAS Offline Software
PixelClusterContainerCnv_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 PIXELCLUSTERCONTAINERCNV_P3_H
6 #define PIXELCLUSTERCONTAINERCNV_P3_H
7 
8 // PixelClusterContainerCnv_p3, T/P separation of Pixel PRD
9 // author A.Andreazza <attilio.andreazza@cern.ch>
10 
12 
15 
18 
19 class PixelID;
20 class StoreGateSvc;
21 
22 class PixelClusterContainerCnv_p3 : public T_AthenaPoolTPCnvBase<InDet::PixelClusterContainer, InDet::PixelClusterContainer_p3>
23 {
24  public:
26  m_pixelDetEleCollKey{"PixelDetectorElementCollection"},
27  m_pixelITkEleCollKey{"ITkPixelDetectorElementCollection"},
29  m_isInitialized{false} {};
30 
31  virtual void persToTrans(const InDet::PixelClusterContainer_p3* persCont,
33  MsgStream &log) ;
34  virtual void transToPers(const InDet::PixelClusterContainer* transCont,
36  MsgStream &log) ;
37 
39 
40  // Method for test/PixelClusterContainerCnv_p3_test.cxx
41  void setUseDetectorElement(const bool useDetectorElement);
42 
43  private:
44  const PixelID *m_pixId{};
49  StatusCode initialize(MsgStream &log);
50 
51 
52 };
53 
54 #endif
55 
56 
TPConverterBase
Definition: TPConverter.h:738
PixelClusterContainerCnv_p3::persToTrans
virtual void persToTrans(const InDet::PixelClusterContainer_p3 *persCont, InDet::PixelClusterContainer *transCont, MsgStream &log)
Definition: PixelClusterContainerCnv_p3.cxx:96
InDet::PixelClusterContainer
Trk::PrepRawDataContainer< PixelClusterCollection > PixelClusterContainer
Definition: InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelClusterContainer.h:28
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
PixelClusterContainerCnv_p3
Definition: PixelClusterContainerCnv_p3.h:23
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
T_AthenaPoolTPConverter.h
PixelClusterContainerCnv_p3::initialize
StatusCode initialize(MsgStream &log)
Definition: PixelClusterContainerCnv_p3.cxx:204
ReadCondHandleKey.h
PixelClusterContainerCnv_p3::PixelClusterContainerCnv_p3
PixelClusterContainerCnv_p3()
Definition: PixelClusterContainerCnv_p3.h:25
PixelClusterContainerCnv_p3::m_useDetectorElement
bool m_useDetectorElement
Definition: PixelClusterContainerCnv_p3.h:47
PixelClusterContainer.h
PixelClusterContainerCnv_p3::m_isInitialized
bool m_isInitialized
Definition: PixelClusterContainerCnv_p3.h:48
SiDetectorElementCollection.h
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection >
PixelClusterContainerCnv_p3::m_pixelDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
Definition: PixelClusterContainerCnv_p3.h:45
PixelClusterContainerCnv_p3::createTransient
virtual InDet::PixelClusterContainer * createTransient(const InDet::PixelClusterContainer_p3 *persObj, MsgStream &log)
Definition: PixelClusterContainerCnv_p3.cxx:187
PixelClusterContainer_p3.h
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
PixelClusterContainerCnv_p3::transToPers
virtual void transToPers(const InDet::PixelClusterContainer *transCont, InDet::PixelClusterContainer_p3 *persCont, MsgStream &log)
Definition: PixelClusterContainerCnv_p3.cxx:27
PixelClusterContainerCnv_p3::m_pixelITkEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelITkEleCollKey
Definition: PixelClusterContainerCnv_p3.h:46
PixelClusterContainerCnv_p3::m_pixId
const PixelID * m_pixId
Definition: PixelClusterContainerCnv_p3.h:44
InDet::PixelClusterContainer_p3
Definition: PixelClusterContainer_p3.h:21
PixelID
Definition: PixelID.h:67
PixelClusterContainerCnv_p3::setUseDetectorElement
void setUseDetectorElement(const bool useDetectorElement)
Definition: PixelClusterContainerCnv_p3.cxx:221