ATLAS Offline Software
Loading...
Searching...
No Matches
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
22class PixelID;
23
24class StoreGateSvc;
25class MsgStream;
26namespace InDet{
27class PixelClusterContainerCnv_p1 : public T_AthenaPoolTPCnvBase< InDet::PixelClusterContainer, InDet::InDetPRD_Container_p1 >
28
29{
30 public:
32 typedef InDet::PixelClusterContainer TRANS;
34 virtual void persToTrans(const PERS* persCont, TRANS* transCont, MsgStream &log);
35 virtual void transToPers(const TRANS* transCont, PERS* persCont, MsgStream &log);
36 virtual InDet::PixelClusterContainer* createTransient(const InDet::InDetPRD_Container_p1* persObj, 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
TPConverterBase< TRANS, PERS > T_AthenaPoolTPCnvBase
virtual void transToPers(const TRANS *transCont, PERS *persCont, MsgStream &log)
virtual InDet::PixelClusterContainer * createTransient(const InDet::InDetPRD_Container_p1 *persObj, MsgStream &log)
void setUseDetectorElement(const bool useDetectorElement)
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
virtual void persToTrans(const PERS *persCont, TRANS *transCont, MsgStream &log)
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
The Athena Transient Store API.
Primary Vertex Finder.
void initialize()