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