ATLAS Offline Software
TgcPrepDataContainerCnv_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 TgcPREPDATACONTAINERCNV_P3_H
6 #define TgcPREPDATACONTAINERCNV_P3_H
7 
11 #include "GaudiKernel/ToolHandle.h"
13 
14 
15 #include <iostream>
16 
17 class StoreGateSvc;
18 class TgcIdHelper;
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};
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::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:62
TPConverterBase
Definition: TPConverter.h:738
Muon::TgcPrepDataContainerCnv_p3::TgcPrepDataContainerCnv_p3
TgcPrepDataContainerCnv_p3()=default
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
Muon::TgcPrepDataContainerCnv_p3::initialize
StatusCode initialize(MsgStream &log)
Definition: TgcPrepDataContainerCnv_p3.cxx:22
Muon::TgcPrepDataContainerCnv_p3::m_isInitialized
bool m_isInitialized
Definition: TgcPrepDataContainerCnv_p3.h:43
IEventCnvSuperTool.h
Muon::TgcPrepDataContainerCnv_p3::m_TgcId
const TgcIdHelper * m_TgcId
Definition: TgcPrepDataContainerCnv_p3.h:40
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
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:160
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
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:68
Muon::TgcPrepDataContainerCnv_p3::m_storeGate
StoreGateSvc * m_storeGate
Definition: TgcPrepDataContainerCnv_p3.h:41
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:42
Muon::TgcPrepDataContainerCnv_p3::createTransient
virtual Muon::TgcPrepDataContainer * createTransient(const Muon::TgcPrepDataContainer_p3 *persObj, MsgStream &log)
Definition: TgcPrepDataContainerCnv_p3.cxx:243
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20