ATLAS Offline Software
Loading...
Searching...
No Matches
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
19class PixelID;
20class StoreGateSvc;
21
22class 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,
28 InDet::PixelClusterContainer* transCont,
29 MsgStream &log) ;
30 virtual void transToPers(const InDet::PixelClusterContainer* transCont,
32 MsgStream &log) ;
33
34 virtual InDet::PixelClusterContainer* createTransient(const InDet::PixelClusterContainer_p2* persObj, MsgStream& log);
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
TPConverterBase< TRANS, PERS > T_AthenaPoolTPCnvBase
virtual void persToTrans(const InDet::PixelClusterContainer_p2 *persCont, InDet::PixelClusterContainer *transCont, MsgStream &log)
virtual InDet::PixelClusterContainer * createTransient(const InDet::PixelClusterContainer_p2 *persObj, MsgStream &log)
virtual void transToPers(const InDet::PixelClusterContainer *transCont, InDet::PixelClusterContainer_p2 *persCont, MsgStream &log)
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
void setUseDetectorElement(const bool useDetectorElement)
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
The Athena Transient Store API.
void initialize()