ATLAS Offline Software
CscPrepDataContainerCnv_p2.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 CscPREPDATACONTAINERCNV_P2_H
6 #define CscPREPDATACONTAINERCNV_P2_H
7 
11 #include "GaudiKernel/ToolHandle.h"
13 
14 
15 #include <iostream>
16 
17 class CscIdHelper;
18 
19 
20 namespace Muon{
23 class CscPrepDataContainerCnv_p2 : public T_AthenaPoolTPCnvBase<Muon::CscPrepDataContainer, Muon::CscPrepDataContainer_p2>
24 {
25 public:
27 
28  virtual void persToTrans(const Muon::CscPrepDataContainer_p2* persCont,
29  Muon::CscPrepDataContainer* transCont,
30  MsgStream &log) ;
31  virtual void transToPers(const Muon::CscPrepDataContainer* transCont,
33  MsgStream &log) ;
34 
36 
37 
38 private:
40  const CscIdHelper *m_CscId{nullptr};
41  ToolHandle < Trk::IEventCnvSuperTool > m_eventCnvTool{"Trk::EventCnvSuperTool/EventCnvSuperTool"};
42  bool m_isInitialized{false};
43 
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::CscPrepDataContainerCnv_p2::createTransient
virtual Muon::CscPrepDataContainer * createTransient(const Muon::CscPrepDataContainer_p2 *persObj, MsgStream &log)
Definition: CscPrepDataContainerCnv_p2.cxx:221
Muon::CscPrepDataContainerCnv_p2::persToTrans
virtual void persToTrans(const Muon::CscPrepDataContainer_p2 *persCont, Muon::CscPrepDataContainer *transCont, MsgStream &log)
Definition: CscPrepDataContainerCnv_p2.cxx:130
Muon::CscPrepDataContainerCnv_p2::CscPrepDataContainerCnv_p2
CscPrepDataContainerCnv_p2()=default
TPConverterBase
Definition: TPConverter.h:738
Muon::CscPrepDataContainerCnv_p2::m_CscId
const CscIdHelper * m_CscId
Definition: CscPrepDataContainerCnv_p2.h:40
MuonGM::CscReadoutElement
Definition: CscReadoutElement.h:56
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
IEventCnvSuperTool.h
Muon::CscPrepDataContainerCnv_p2::getReadOutElement
const MuonGM::CscReadoutElement * getReadOutElement(const Identifier &id) const
Definition: CscPrepDataContainerCnv_p2.cxx:37
MuonPRD_Container_p2.h
Muon::CscPrepDataContainerCnv_p2::m_isInitialized
bool m_isInitialized
Definition: CscPrepDataContainerCnv_p2.h:42
Muon::CscPrepDataContainerCnv_p2::initialize
StatusCode initialize(MsgStream &log)
Definition: CscPrepDataContainerCnv_p2.cxx:21
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
T_AthenaPoolTPConverter.h
CscPrepDataContainer.h
Muon::MuonPRD_Container_p2
Class to contain the Muon Prep Raw Data.
Definition: MuonPRD_Container_p2.h:26
Muon::CscPrepDataContainerCnv_p2::m_eventCnvTool
ToolHandle< Trk::IEventCnvSuperTool > m_eventCnvTool
Definition: CscPrepDataContainerCnv_p2.h:41
CscIdHelper
Definition: CscIdHelper.h:52
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
Muon::CscPrepDataContainerCnv_p2::transToPers
virtual void transToPers(const Muon::CscPrepDataContainer *transCont, Muon::CscPrepDataContainer_p2 *persCont, MsgStream &log)
Definition: CscPrepDataContainerCnv_p2.cxx:42
Muon::CscPrepDataContainerCnv_p2
Class to handle the conversion of the transient CscPrepDataContainer into its persistent representati...
Definition: CscPrepDataContainerCnv_p2.h:24
Identifier
Definition: IdentifierFieldParser.cxx:14