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