ATLAS Offline Software
PixelClusterContainerCnv_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 PIXELCLUSTERCONTAINERCNV_P2_H
6 #define PIXELCLUSTERCONTAINERCNV_P2_H
7 
8 // PixelClusterContainerCnv_p2, T/P separation of Pixel PRD
9 // author D.Costanzo <davide.costanzo@cern.ch>
10 
12 
15 
18 
19 class PixelID;
20 class StoreGateSvc;
21 
22 class PixelClusterContainerCnv_p2 : public T_AthenaPoolTPCnvBase<InDet::PixelClusterContainer, InDet::PixelClusterContainer_p2>
23 {
24  public:
25  PixelClusterContainerCnv_p2() : m_pixelDetEleCollKey{"PixelDetectorElementCollection"}, m_useDetectorElement{true}, m_isInitialized{false} {};
26 
27  virtual void persToTrans(const InDet::PixelClusterContainer_p2* persCont,
29  MsgStream &log) ;
30  virtual void transToPers(const InDet::PixelClusterContainer* transCont,
32  MsgStream &log) ;
33 
35 
36  // Method for test/PixelClusterContainerCnv_p2_test.cxx
37  void setUseDetectorElement(const bool useDetectorElement);
38 
39  private:
40  const PixelID *m_pixId{};
44  StatusCode initialize(MsgStream &log);
45 
46 
47 };
48 
49 #endif
50 
51 
PixelClusterContainerCnv_p2::m_isInitialized
bool m_isInitialized
Definition: PixelClusterContainerCnv_p2.h:43
PixelClusterContainerCnv_p2::m_useDetectorElement
bool m_useDetectorElement
Definition: PixelClusterContainerCnv_p2.h:42
TPConverterBase
Definition: TPConverter.h:738
InDet::PixelClusterContainer_p2
Definition: PixelClusterContainer_p2.h:21
PixelClusterContainerCnv_p2::PixelClusterContainerCnv_p2
PixelClusterContainerCnv_p2()
Definition: PixelClusterContainerCnv_p2.h:25
InDet::PixelClusterContainer
Trk::PrepRawDataContainer< PixelClusterCollection > PixelClusterContainer
Definition: InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelClusterContainer.h:28
PixelClusterContainerCnv_p2::m_pixelDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
Definition: PixelClusterContainerCnv_p2.h:41
PixelClusterContainerCnv_p2::createTransient
virtual InDet::PixelClusterContainer * createTransient(const InDet::PixelClusterContainer_p2 *persObj, MsgStream &log)
Definition: PixelClusterContainerCnv_p2.cxx:168
PixelClusterContainerCnv_p2::transToPers
virtual void transToPers(const InDet::PixelClusterContainer *transCont, InDet::PixelClusterContainer_p2 *persCont, MsgStream &log)
Definition: PixelClusterContainerCnv_p2.cxx:26
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
PixelClusterContainerCnv_p2::setUseDetectorElement
void setUseDetectorElement(const bool useDetectorElement)
Definition: PixelClusterContainerCnv_p2.cxx:200
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
T_AthenaPoolTPConverter.h
PixelClusterContainerCnv_p2::m_pixId
const PixelID * m_pixId
Definition: PixelClusterContainerCnv_p2.h:40
PixelClusterContainerCnv_p2::persToTrans
virtual void persToTrans(const InDet::PixelClusterContainer_p2 *persCont, InDet::PixelClusterContainer *transCont, MsgStream &log)
Definition: PixelClusterContainerCnv_p2.cxx:88
ReadCondHandleKey.h
PixelClusterContainerCnv_p2::initialize
StatusCode initialize(MsgStream &log)
Definition: PixelClusterContainerCnv_p2.cxx:184
PixelClusterContainer.h
PixelClusterContainer_p2.h
SiDetectorElementCollection.h
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection >
PixelClusterContainerCnv_p2
Definition: PixelClusterContainerCnv_p2.h:23
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
PixelID
Definition: PixelID.h:67