ATLAS Offline Software
TRT_DriftCircleContainerCnv_p2.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 /*
3  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4 */
5 
6 #ifndef TRT_DRIFTCIRCLECONTAINERCNV_P2_H
7 #define TRT_DRIFTCIRCLECONTAINERCNV_P2_H
8 
9 // TRT_DriftCircleContainerCnv_p2, T/P separation of TRT PRD
10 // author D.Costanzo <davide.costanzo@cern.ch>
11 
17 class TRT_ID;
18 class StoreGateSvc;
19 
21 public T_AthenaPoolTPCnvBase<InDet::TRT_DriftCircleContainer, InDet::TRT_DriftCircleContainer_p2>
22 {
23  public:
25  m_trtId{nullptr},
26  m_isInitialized{false},
27  m_trtDetEleContKey{"TRT_DetElementContainer"},
29  {};
30 
31  virtual void persToTrans(const InDet::TRT_DriftCircleContainer_p2* persCont,
33  MsgStream &log) ;
34  virtual void transToPers(const InDet::TRT_DriftCircleContainer* transCont,
36  MsgStream &log) ;
37 
39 
40  void setIdHelper(const TRT_ID* trt_id);
41  void setUseDetectorElement(const bool useDetectorElement);
42 
43  private:
44  const TRT_ID *m_trtId;
48  StatusCode initialize(MsgStream &log);
49 
50 
51 };
52 
53 #endif
TRT_DriftCircleContainerCnv_p2::transToPers
virtual void transToPers(const InDet::TRT_DriftCircleContainer *transCont, InDet::TRT_DriftCircleContainer_p2 *persCont, MsgStream &log)
Definition: TRT_DriftCircleContainerCnv_p2.cxx:33
InDet::TRT_DriftCircleContainer_p2
Definition: TRT_DriftCircleContainer_p2.h:21
TRT_DriftCircleContainerCnv_p2::setIdHelper
void setIdHelper(const TRT_ID *trt_id)
Definition: TRT_DriftCircleContainerCnv_p2.cxx:233
TRT_DetElementContainer.h
TPConverterBase
Definition: TPConverter.h:738
TRT_DriftCircleContainerCnv_p2::m_isInitialized
bool m_isInitialized
Definition: TRT_DriftCircleContainerCnv_p2.h:45
TRT_DriftCircleContainerCnv_p2::initialize
StatusCode initialize(MsgStream &log)
Definition: TRT_DriftCircleContainerCnv_p2.cxx:214
TRT_DriftCircleContainerCnv_p2::persToTrans
virtual void persToTrans(const InDet::TRT_DriftCircleContainer_p2 *persCont, InDet::TRT_DriftCircleContainer *transCont, MsgStream &log)
Definition: TRT_DriftCircleContainerCnv_p2.cxx:112
TRT_DriftCircleContainerCnv_p2::m_trtId
const TRT_ID * m_trtId
Definition: TRT_DriftCircleContainerCnv_p2.h:44
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
TRT_DriftCircleContainerCnv_p2
Definition: TRT_DriftCircleContainerCnv_p2.h:22
TRT_DriftCircleContainerCnv_p2::m_trtDetEleContKey
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_trtDetEleContKey
Definition: TRT_DriftCircleContainerCnv_p2.h:46
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
T_AthenaPoolTPConverter.h
TRT_DriftCircleContainerCnv_p2::createTransient
virtual InDet::TRT_DriftCircleContainer * createTransient(const InDet::TRT_DriftCircleContainer_p2 *persObj, MsgStream &log)
Definition: TRT_DriftCircleContainerCnv_p2.cxx:200
TRT_DriftCircleContainerCnv_p2::setUseDetectorElement
void setUseDetectorElement(const bool useDetectorElement)
Definition: TRT_DriftCircleContainerCnv_p2.cxx:237
ReadCondHandleKey.h
InDet::TRT_DriftCircleContainer
Trk::PrepRawDataContainer< TRT_DriftCircleCollection > TRT_DriftCircleContainer
Definition: TRT_DriftCircleContainer.h:27
TRT_DriftCircleContainer.h
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer >
TRT_ID
Definition: TRT_ID.h:84
TRT_DriftCircleContainerCnv_p2::TRT_DriftCircleContainerCnv_p2
TRT_DriftCircleContainerCnv_p2()
Definition: TRT_DriftCircleContainerCnv_p2.h:24
TRT_DriftCircleContainer_p2.h
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TRT_DriftCircleContainerCnv_p2::m_useDetectorElement
bool m_useDetectorElement
Definition: TRT_DriftCircleContainerCnv_p2.h:47