ATLAS Offline Software
sTgcPrepDataContainerCnv_p1.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 sTgcPREPDATACONTAINERCNV_p1_H
6 #define sTgcPREPDATACONTAINERCNV_p1_H
7 
11 #include "GaudiKernel/ToolHandle.h"
13 
14 
15 #include <iostream>
16 
17 class StoreGateSvc;
18 class sTgcIdHelper;
19 
20 
21 namespace Muon{
24 class sTgcPrepDataContainerCnv_p1 : public T_AthenaPoolTPCnvBase<Muon::sTgcPrepDataContainer, Muon::sTgcPrepDataContainer_p1>
25 {
26 public:
28 
29  virtual void persToTrans(const Muon::sTgcPrepDataContainer_p1* persCont,
30  Muon::sTgcPrepDataContainer* transCont,
31  MsgStream &log) ;
32  virtual void transToPers(const Muon::sTgcPrepDataContainer* transCont,
34  MsgStream &log) ;
35 
37 
38 
39 private:
41  const sTgcIdHelper *m_sTgcId{nullptr};
43  ToolHandle < Trk::IEventCnvSuperTool > m_eventCnvTool{"Trk::EventCnvSuperTool/EventCnvSuperTool"};
44  bool m_isInitialized{false};
45  StatusCode initialize(MsgStream &log);
46 };
47 }
48 
49 
50 #endif
51 
52 
Muon::MuonPrepDataContainer
Template for Muon PRD containers (which are basically collections of MuonPrepDataCollections).
Definition: MuonPrepDataContainer.h:42
Muon::sTgcPrepDataContainerCnv_p1
Class to handle the conversion of the transient sTgcPrepDataContainer into its persistent representat...
Definition: sTgcPrepDataContainerCnv_p1.h:25
Muon::sTgcPrepDataContainerCnv_p1::m_isInitialized
bool m_isInitialized
Definition: sTgcPrepDataContainerCnv_p1.h:44
Muon::sTgcPrepDataContainerCnv_p1::transToPers
virtual void transToPers(const Muon::sTgcPrepDataContainer *transCont, Muon::sTgcPrepDataContainer_p1 *persCont, MsgStream &log)
Definition: sTgcPrepDataContainerCnv_p1.cxx:68
TPConverterBase
Definition: TPConverter.h:738
Muon::sTgcPrepDataContainerCnv_p1::m_sTgcId
const sTgcIdHelper * m_sTgcId
Definition: sTgcPrepDataContainerCnv_p1.h:41
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
sTgcPrepDataContainer.h
Muon::sTgcPrepDataContainerCnv_p1::m_eventCnvTool
ToolHandle< Trk::IEventCnvSuperTool > m_eventCnvTool
Definition: sTgcPrepDataContainerCnv_p1.h:43
Muon::sTgcPrepDataContainerCnv_p1::getReadOutElement
const MuonGM::sTgcReadoutElement * getReadOutElement(const Identifier &id) const
Definition: sTgcPrepDataContainerCnv_p1.cxx:62
IEventCnvSuperTool.h
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
MuonPRD_Container_p2.h
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
MuonGM::sTgcReadoutElement
An sTgcReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station c...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/sTgcReadoutElement.h:28
Muon::sTgcPrepDataContainerCnv_p1::createTransient
virtual Muon::sTgcPrepDataContainer * createTransient(const Muon::sTgcPrepDataContainer_p1 *persObj, MsgStream &log)
Definition: sTgcPrepDataContainerCnv_p1.cxx:268
Muon::sTgcPrepDataContainerCnv_p1::initialize
StatusCode initialize(MsgStream &log)
Definition: sTgcPrepDataContainerCnv_p1.cxx:22
Muon::MuonPRD_Container_p2
Class to contain the Muon Prep Raw Data.
Definition: MuonPRD_Container_p2.h:26
sTgcIdHelper
Definition: sTgcIdHelper.h:55
Muon::sTgcPrepDataContainerCnv_p1::sTgcPrepDataContainerCnv_p1
sTgcPrepDataContainerCnv_p1()=default
Muon::sTgcPrepDataContainerCnv_p1::m_storeGate
StoreGateSvc * m_storeGate
Definition: sTgcPrepDataContainerCnv_p1.h:42
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
Muon::sTgcPrepDataContainerCnv_p1::persToTrans
virtual void persToTrans(const Muon::sTgcPrepDataContainer_p1 *persCont, Muon::sTgcPrepDataContainer *transCont, MsgStream &log)
Definition: sTgcPrepDataContainerCnv_p1.cxx:172