ATLAS Offline Software
PixelClusterContainerCnv_p1.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_P1_H
6 #define PIXELCLUSTERCONTAINERCNV_P1_H
7 
8 //-----------------------------------------------------------------------------
9 //
10 // file: PixelClusterContainerCnv_p1.h
11 //
12 //-----------------------------------------------------------------------------
13 
15 
18 
21 
22 class PixelID;
23 
24 class StoreGateSvc;
25 class MsgStream;
26 namespace InDet{
27 class PixelClusterContainerCnv_p1 : public T_AthenaPoolTPCnvBase< InDet::PixelClusterContainer, InDet::InDetPRD_Container_p1 >
28 
29 {
30  public:
34  virtual void persToTrans(const PERS* persCont, TRANS* transCont, MsgStream &log);
35  virtual void transToPers(const TRANS* transCont, PERS* persCont, MsgStream &log);
37  void setUseDetectorElement(const bool useDetectorElement);
38  private:
39  const PixelID *m_pixId{};
40  ServiceHandle<StoreGateSvc> m_storeGate{"StoreGateSvc", "PixelClusterContainerCnv_p1"};
43  bool m_isInitialized{false};
44  StatusCode initialize(MsgStream &log);
45 };
46 
47 }
48 #endif
InDet::PixelClusterContainerCnv_p1::TRANS
InDet::PixelClusterContainer TRANS
Definition: PixelClusterContainerCnv_p1.h:32
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::PixelClusterContainerCnv_p1::createTransient
virtual InDet::PixelClusterContainer * createTransient(const InDet::InDetPRD_Container_p1 *persObj, MsgStream &log)
Definition: PixelClusterContainerCnv_p1.cxx:140
InDet::PixelClusterContainerCnv_p1::transToPers
virtual void transToPers(const TRANS *transCont, PERS *persCont, MsgStream &log)
Definition: PixelClusterContainerCnv_p1.cxx:24
TPConverterBase
Definition: TPConverter.h:738
InDet::PixelClusterContainerCnv_p1::m_storeGate
ServiceHandle< StoreGateSvc > m_storeGate
Definition: PixelClusterContainerCnv_p1.h:40
InDet::PixelClusterContainer
Trk::PrepRawDataContainer< PixelClusterCollection > PixelClusterContainer
Definition: InnerDetector/InDetRecEvent/InDetPrepRawData/InDetPrepRawData/PixelClusterContainer.h:28
InDet::PixelClusterContainerCnv_p1::m_isInitialized
bool m_isInitialized
Definition: PixelClusterContainerCnv_p1.h:43
InDet::PixelClusterContainerCnv_p1::initialize
StatusCode initialize(MsgStream &log)
Definition: PixelClusterContainerCnv_p1.cxx:157
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
InDet::PixelClusterContainerCnv_p1
Definition: PixelClusterContainerCnv_p1.h:29
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
T_AthenaPoolTPConverter.h
InDetPRD_Container_p1.h
InDet::PixelClusterContainerCnv_p1::m_pixId
const PixelID * m_pixId
Definition: PixelClusterContainerCnv_p1.h:39
InDet::PixelClusterContainerCnv_p1::PixelClusterContainerCnv_p1
PixelClusterContainerCnv_p1()=default
ReadCondHandleKey.h
PixelClusterContainer.h
SiDetectorElementCollection.h
InDet::PixelClusterContainerCnv_p1::PERS
InDet::InDetPRD_Container_p1 PERS
Definition: PixelClusterContainerCnv_p1.h:31
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection >
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
InDet::PixelClusterContainerCnv_p1::m_pixelDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
Definition: PixelClusterContainerCnv_p1.h:41
InDet::PixelClusterContainerCnv_p1::persToTrans
virtual void persToTrans(const PERS *persCont, TRANS *transCont, MsgStream &log)
Definition: PixelClusterContainerCnv_p1.cxx:72
InDet::PixelClusterContainerCnv_p1::m_useDetectorElement
bool m_useDetectorElement
Definition: PixelClusterContainerCnv_p1.h:42
PixelID
Definition: PixelID.h:67
InDet::PixelClusterContainerCnv_p1::setUseDetectorElement
void setUseDetectorElement(const bool useDetectorElement)
Definition: PixelClusterContainerCnv_p1.cxx:177
ServiceHandle< StoreGateSvc >
InDet::InDetPRD_Container_p1
Definition: InDetPRD_Container_p1.h:14