ATLAS Offline Software
Loading...
Searching...
No Matches
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
17class TRT_ID;
18class StoreGateSvc;
19
21public 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,
32 InDet::TRT_DriftCircleContainer* transCont,
33 MsgStream &log) ;
34 virtual void transToPers(const InDet::TRT_DriftCircleContainer* transCont,
36 MsgStream &log) ;
37
38 virtual InDet::TRT_DriftCircleContainer* createTransient(const InDet::TRT_DriftCircleContainer_p2* persObj, MsgStream& log);
39
40 void setIdHelper(const TRT_ID* trt_id);
41 void setUseDetectorElement(const bool useDetectorElement);
42
43 private:
48 StatusCode initialize(MsgStream &log);
49
50
51};
52
53#endif
TPConverterBase< TRANS, PERS > T_AthenaPoolTPCnvBase
The Athena Transient Store API.
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_trtDetEleContKey
virtual InDet::TRT_DriftCircleContainer * createTransient(const InDet::TRT_DriftCircleContainer_p2 *persObj, MsgStream &log)
virtual void transToPers(const InDet::TRT_DriftCircleContainer *transCont, InDet::TRT_DriftCircleContainer_p2 *persCont, MsgStream &log)
virtual void persToTrans(const InDet::TRT_DriftCircleContainer_p2 *persCont, InDet::TRT_DriftCircleContainer *transCont, MsgStream &log)
void setUseDetectorElement(const bool useDetectorElement)
This is an Identifier helper class for the TRT subdetector.
Definition TRT_ID.h:82
void initialize()