ATLAS Offline Software
Loading...
Searching...
No Matches
RpcPrepDataContainerCnv_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 RPCPREPDATACONTAINERCNV_P1_H
6#define RPCPREPDATACONTAINERCNV_P1_H
7
8//-----------------------------------------------------------------------------
9//
10// file: RpcPrepDataContainerCnv_p1.h
11//
12//-----------------------------------------------------------------------------
13
15
18#include "GaudiKernel/ToolHandle.h"
20
21class MsgStream;
22class RpcIdHelper;
23
24namespace Muon{
25 class RpcPrepDataContainerCnv_p1 : public T_AthenaPoolTPCnvBase< Muon::RpcPrepDataContainer, 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::RpcPrepDataContainer* createTransient(const Muon::MuonPRD_Container_p1* persObj, MsgStream& log);
35 private:
36 StatusCode initialize(MsgStream &log);
37
39 const RpcIdHelper *m_RpcId{nullptr};
40 ToolHandle < Trk::IEventCnvSuperTool > m_eventCnvTool{"Trk::EventCnvSuperTool/EventCnvSuperTool"};
41 bool m_isInitialized{false};
42 };
43
44}
45#endif
46
TPConverterBase< TRANS, PERS > T_AthenaPoolTPCnvBase
An RpcReadoutElement corresponds to a single RPC module; therefore typicaly a barrel muon station con...
virtual void transToPers(const TRANS *transCont, PERS *persCont, MsgStream &log)
virtual void persToTrans(const PERS *persCont, TRANS *transCont, MsgStream &log)
const MuonGM::RpcReadoutElement * getReadOutElement(const Identifier &id) const
virtual Muon::RpcPrepDataContainer * createTransient(const Muon::MuonPRD_Container_p1 *persObj, MsgStream &log)
ToolHandle< Trk::IEventCnvSuperTool > m_eventCnvTool
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
MuonPrepDataContainerT< RpcPrepData > RpcPrepDataContainer
void initialize()