ATLAS Offline Software
sTgcPrepDataContainerCnv_p2.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_p2_H
6 #define sTgcPREPDATACONTAINERCNV_p2_H
7 
11 #include "GaudiKernel/ToolHandle.h"
13 
14 
15 #include <iostream>
16 
17 class sTgcIdHelper;
18 
19 
20 namespace Muon{
23 class sTgcPrepDataContainerCnv_p2 : public T_AthenaPoolTPCnvBase<Muon::sTgcPrepDataContainer, Muon::sTgcPrepDataContainer_p2>
24 {
25 public:
27 
28  virtual void persToTrans(const Muon::sTgcPrepDataContainer_p2* persCont,
29  Muon::sTgcPrepDataContainer* transCont,
30  MsgStream &log) ;
31  virtual void transToPers(const Muon::sTgcPrepDataContainer* transCont,
33  MsgStream &log) ;
34 
36 
37 
38 private:
40  const sTgcIdHelper *m_sTgcId{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::sTgcPrepDataContainerCnv_p2::sTgcPrepDataContainerCnv_p2
sTgcPrepDataContainerCnv_p2()=default
TPConverterBase
Definition: TPConverter.h:738
Muon::sTgcPrepDataContainerCnv_p2::m_isInitialized
bool m_isInitialized
Definition: sTgcPrepDataContainerCnv_p2.h:42
Muon::sTgcPrepDataContainerCnv_p2::m_eventCnvTool
ToolHandle< Trk::IEventCnvSuperTool > m_eventCnvTool
Definition: sTgcPrepDataContainerCnv_p2.h:41
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:45
sTgcPrepDataContainer.h
Muon::sTgcPrepDataContainerCnv_p2
Class to handle the conversion of the transient sTgcPrepDataContainer into its persistent representat...
Definition: sTgcPrepDataContainerCnv_p2.h:24
IEventCnvSuperTool.h
Muon::sTgcPrepDataContainerCnv_p2::m_sTgcId
const sTgcIdHelper * m_sTgcId
Definition: sTgcPrepDataContainerCnv_p2.h:40
Muon::sTgcPrepDataContainerCnv_p2::transToPers
virtual void transToPers(const Muon::sTgcPrepDataContainer *transCont, Muon::sTgcPrepDataContainer_p2 *persCont, MsgStream &log)
Definition: sTgcPrepDataContainerCnv_p2.cxx:45
MuonPRD_Container_p2.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
T_AthenaPoolTPConverter.h
Muon::sTgcPrepDataContainerCnv_p2::initialize
StatusCode initialize(MsgStream &log)
Definition: sTgcPrepDataContainerCnv_p2.cxx:23
MuonGM::sTgcReadoutElement
An sTgcReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station c...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/sTgcReadoutElement.h:30
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_p2::getReadOutElement
const MuonGM::sTgcReadoutElement * getReadOutElement(const Identifier &id) const
Definition: sTgcPrepDataContainerCnv_p2.cxx:39
Muon::sTgcPrepDataContainerCnv_p2::persToTrans
virtual void persToTrans(const Muon::sTgcPrepDataContainer_p2 *persCont, Muon::sTgcPrepDataContainer *transCont, MsgStream &log)
Definition: sTgcPrepDataContainerCnv_p2.cxx:149
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
Muon::sTgcPrepDataContainerCnv_p2::createTransient
virtual Muon::sTgcPrepDataContainer * createTransient(const Muon::sTgcPrepDataContainer_p2 *persObj, MsgStream &log)
Definition: sTgcPrepDataContainerCnv_p2.cxx:245
Identifier
Definition: IdentifierFieldParser.cxx:14