ATLAS Offline Software
Loading...
Searching...
No Matches
TgcPrepDataContainerCnv_p3.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 TgcPREPDATACONTAINERCNV_P3_H
6#define TgcPREPDATACONTAINERCNV_P3_H
7
11#include "GaudiKernel/ToolHandle.h"
13
14
15#include <iostream>
16
17class TgcIdHelper;
18
19namespace Muon{
22class TgcPrepDataContainerCnv_p3 : public T_AthenaPoolTPCnvBase<Muon::TgcPrepDataContainer, Muon::TgcPrepDataContainer_p3>
23{
24public:
26
27 virtual void persToTrans(const Muon::TgcPrepDataContainer_p3* persCont,
29 MsgStream &log) ;
30 virtual void transToPers(const Muon::TgcPrepDataContainer* transCont,
32 MsgStream &log) ;
33
34 virtual Muon::TgcPrepDataContainer* createTransient(const Muon::TgcPrepDataContainer_p3* persObj, MsgStream& log);
35
36
37private:
39
40 const TgcIdHelper *m_TgcId{nullptr};
41 ToolHandle < Trk::IEventCnvSuperTool > m_eventCnvTool{"Trk::EventCnvSuperTool/EventCnvSuperTool"};
42 bool m_isInitialized{false};
43 StatusCode initialize(MsgStream &log);
44};
45}
46
47
48#endif
49
50
TPConverterBase< TRANS, PERS > T_AthenaPoolTPCnvBase
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
virtual void persToTrans(const Muon::TgcPrepDataContainer_p3 *persCont, Muon::TgcPrepDataContainer *transCont, MsgStream &log)
virtual void transToPers(const Muon::TgcPrepDataContainer *transCont, Muon::TgcPrepDataContainer_p3 *persCont, MsgStream &log)
const MuonGM::TgcReadoutElement * getReadOutElement(const Identifier &id) const
ToolHandle< Trk::IEventCnvSuperTool > m_eventCnvTool
virtual Muon::TgcPrepDataContainer * createTransient(const Muon::TgcPrepDataContainer_p3 *persObj, MsgStream &log)
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
MuonPRD_Container_p2< TgcPrepData_p3 > TgcPrepDataContainer_p3
MuonPrepDataContainerT< TgcPrepData > TgcPrepDataContainer
void initialize()