ATLAS Offline Software
RpcPrepDataContainerCnv_p3.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 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 StoreGateSvc;
18 class RpcIdHelper;
19 
20 namespace Muon{
23 class RpcPrepDataContainerCnv_p3 : public T_AthenaPoolTPCnvBase<Muon::RpcPrepDataContainer, Muon::RpcPrepDataContainer_p3>
24 {
25 public:
27 
28  virtual void persToTrans(const Muon::RpcPrepDataContainer_p3* persCont,
29  Muon::RpcPrepDataContainer* transCont,
30  MsgStream &log) ;
31  virtual void transToPers(const Muon::RpcPrepDataContainer* transCont,
33  MsgStream &log) ;
34 
36 
37 
38 private:
39  const MuonGM::RpcReadoutElement* getReadOutElement(const Identifier& id ) const;
40  const RpcIdHelper *m_RpcId{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 
Muon::RpcPrepDataContainerCnv_p3::m_isInitialized
bool m_isInitialized
Definition: RpcPrepDataContainerCnv_p3.h:43
Muon::RpcPrepDataContainerCnv_p3
Class to handle the conversion of the transient RpcPrepDataContainer into its persistent representati...
Definition: RpcPrepDataContainerCnv_p3.h:24
Muon::RpcPrepDataContainerCnv_p3::m_eventCnvTool
ToolHandle< Trk::IEventCnvSuperTool > m_eventCnvTool
Definition: RpcPrepDataContainerCnv_p3.h:42
Muon::MuonPrepDataContainer
Template for Muon PRD containers (which are basically collections of MuonPrepDataCollections).
Definition: MuonPrepDataContainer.h:42
TPConverterBase
Definition: TPConverter.h:738
Muon::RpcPrepDataContainerCnv_p3::m_storeGate
StoreGateSvc * m_storeGate
Definition: RpcPrepDataContainerCnv_p3.h:41
MuonGM::RpcReadoutElement
An RpcReadoutElement corresponds to a single RPC module; therefore typicaly a barrel muon station con...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/RpcReadoutElement.h:54
RpcPrepDataContainer.h
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
RpcIdHelper
Definition: RpcIdHelper.h:51
IEventCnvSuperTool.h
Muon::RpcPrepDataContainerCnv_p3::getReadOutElement
const MuonGM::RpcReadoutElement * getReadOutElement(const Identifier &id) const
Definition: RpcPrepDataContainerCnv_p3.cxx:61
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
MuonPRD_Container_p2.h
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
Muon::RpcPrepDataContainerCnv_p3::createTransient
virtual Muon::RpcPrepDataContainer * createTransient(const Muon::RpcPrepDataContainer_p3 *persObj, MsgStream &log)
Definition: RpcPrepDataContainerCnv_p3.cxx:237
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:21
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:40
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:157
Muon::RpcPrepDataContainerCnv_p3::transToPers
virtual void transToPers(const Muon::RpcPrepDataContainer *transCont, Muon::RpcPrepDataContainer_p3 *persCont, MsgStream &log)
Definition: RpcPrepDataContainerCnv_p3.cxx:66