ATLAS Offline Software
RpcPrepDataContainerCnv_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 RpcPREPDATACONTAINERCNV_P3_H
6 #define RpcPREPDATACONTAINERCNV_P3_H
7 
11 #include "GaudiKernel/ToolHandle.h"
13 
14 
15 #include <iostream>
16 
17 class RpcIdHelper;
18 
19 namespace Muon{
22 class RpcPrepDataContainerCnv_p3 : public T_AthenaPoolTPCnvBase<Muon::RpcPrepDataContainer, Muon::RpcPrepDataContainer_p3>
23 {
24 public:
26 
27  virtual void persToTrans(const Muon::RpcPrepDataContainer_p3* persCont,
28  Muon::RpcPrepDataContainer* transCont,
29  MsgStream &log) ;
30  virtual void transToPers(const Muon::RpcPrepDataContainer* transCont,
32  MsgStream &log) ;
33 
35 
36 
37 private:
38  const MuonGM::RpcReadoutElement* getReadOutElement(const Identifier& id ) const;
39  const RpcIdHelper *m_RpcId{nullptr};
40  ToolHandle < Trk::IEventCnvSuperTool > m_eventCnvTool{"Trk::EventCnvSuperTool/EventCnvSuperTool"};
41  bool m_isInitialized{false};
42  StatusCode initialize(MsgStream &log);
43 };
44 }
45 
46 
47 #endif
48 
49 
Muon::RpcPrepDataContainerCnv_p3::m_isInitialized
bool m_isInitialized
Definition: RpcPrepDataContainerCnv_p3.h:41
Muon::RpcPrepDataContainerCnv_p3
Class to handle the conversion of the transient RpcPrepDataContainer into its persistent representati...
Definition: RpcPrepDataContainerCnv_p3.h:23
Muon::RpcPrepDataContainerCnv_p3::m_eventCnvTool
ToolHandle< Trk::IEventCnvSuperTool > m_eventCnvTool
Definition: RpcPrepDataContainerCnv_p3.h:40
Muon::MuonPrepDataContainer
Template for Muon PRD containers (which are basically collections of MuonPrepDataCollections).
Definition: MuonPrepDataContainer.h:42
TPConverterBase
Definition: TPConverter.h:738
MuonGM::RpcReadoutElement
An RpcReadoutElement corresponds to a single RPC module; therefore typicaly a barrel muon station con...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/RpcReadoutElement.h:55
RpcPrepDataContainer.h
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
RpcIdHelper
Definition: RpcIdHelper.h:51
IEventCnvSuperTool.h
Muon::RpcPrepDataContainerCnv_p3::getReadOutElement
const MuonGM::RpcReadoutElement * getReadOutElement(const Identifier &id) const
Definition: RpcPrepDataContainerCnv_p3.cxx:38
MuonPRD_Container_p2.h
Muon::RpcPrepDataContainerCnv_p3::createTransient
virtual Muon::RpcPrepDataContainer * createTransient(const Muon::RpcPrepDataContainer_p3 *persObj, MsgStream &log)
Definition: RpcPrepDataContainerCnv_p3.cxx:214
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
T_AthenaPoolTPConverter.h
Muon::RpcPrepDataContainerCnv_p3::initialize
StatusCode initialize(MsgStream &log)
Definition: RpcPrepDataContainerCnv_p3.cxx:22
Muon::MuonPRD_Container_p2
Class to contain the Muon Prep Raw Data.
Definition: MuonPRD_Container_p2.h:26
Muon::RpcPrepDataContainerCnv_p3::m_RpcId
const RpcIdHelper * m_RpcId
Definition: RpcPrepDataContainerCnv_p3.h:39
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
Muon::RpcPrepDataContainerCnv_p3::RpcPrepDataContainerCnv_p3
RpcPrepDataContainerCnv_p3()=default
Muon::RpcPrepDataContainerCnv_p3::persToTrans
virtual void persToTrans(const Muon::RpcPrepDataContainer_p3 *persCont, Muon::RpcPrepDataContainer *transCont, MsgStream &log)
Definition: RpcPrepDataContainerCnv_p3.cxx:134
Muon::RpcPrepDataContainerCnv_p3::transToPers
virtual void transToPers(const Muon::RpcPrepDataContainer *transCont, Muon::RpcPrepDataContainer_p3 *persCont, MsgStream &log)
Definition: RpcPrepDataContainerCnv_p3.cxx:43
Identifier
Definition: IdentifierFieldParser.cxx:14