ATLAS Offline Software
Loading...
Searching...
No Matches
MMPrepDataContainerCnv_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 MMPREPDATACONTAINERCNV_p1_H
6#define MMPREPDATACONTAINERCNV_p1_H
7
11#include "GaudiKernel/ToolHandle.h"
13
14
15#include <iostream>
16
17class StoreGateSvc;
18class MmIdHelper;
19
20
21namespace Muon{
24class MMPrepDataContainerCnv_p1 : public T_AthenaPoolTPCnvBase<Muon::MMPrepDataContainer, Muon::MMPrepDataContainer_p1>
25{
26public:
28
29 virtual void persToTrans(const Muon::MMPrepDataContainer_p1* persCont,
31 MsgStream &log) ;
32 virtual void transToPers(const Muon::MMPrepDataContainer* transCont,
34 MsgStream &log) ;
35
36 virtual Muon::MMPrepDataContainer* createTransient(const Muon::MMPrepDataContainer_p1* persObj, MsgStream& log);
37
38
39private:
41 const MmIdHelper *m_MMId{nullptr};
42 ToolHandle < Trk::IEventCnvSuperTool > m_eventCnvTool{"Trk::EventCnvSuperTool/EventCnvSuperTool"};
43 bool m_isInitialized{false};
44 StatusCode initialize(MsgStream &log);
45};
46}
47
48
49#endif
50
51
TPConverterBase< TRANS, PERS > T_AthenaPoolTPCnvBase
An MMReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station con...
virtual void transToPers(const Muon::MMPrepDataContainer *transCont, Muon::MMPrepDataContainer_p1 *persCont, MsgStream &log)
ToolHandle< Trk::IEventCnvSuperTool > m_eventCnvTool
virtual Muon::MMPrepDataContainer * createTransient(const Muon::MMPrepDataContainer_p1 *persObj, MsgStream &log)
const MuonGM::MMReadoutElement * getReadOutElement(const Identifier &id) const
virtual void persToTrans(const Muon::MMPrepDataContainer_p1 *persCont, Muon::MMPrepDataContainer *transCont, MsgStream &log)
The Athena Transient Store API.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
MuonPRD_Container_p2< MMPrepData_p1 > MMPrepDataContainer_p1
MuonPrepDataContainerT< MMPrepData > MMPrepDataContainer
void initialize()