ATLAS Offline Software
CscPrepDataContainerCnv_p1.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_P1_H
6 #define CSCPREPDATACONTAINERCNV_P1_H
7 
8 //-----------------------------------------------------------------------------
9 //
10 // file: CscPrepDataContainerCnv_p1.h
11 //
12 //-----------------------------------------------------------------------------
13 
15 
18 #include "GaudiKernel/ToolHandle.h"
20 
21 
22 class MsgStream;
23 class CscIdHelper;
24 
25 namespace Muon{
26  class CscPrepDataContainerCnv_p1 : public T_AthenaPoolTPCnvBase< Muon::CscPrepDataContainer, Muon::MuonPRD_Container_p1 >
27 
28  {
29  public:
33  virtual void persToTrans(const PERS* persCont, TRANS* transCont, MsgStream &log);
34  virtual void transToPers(const TRANS* transCont, PERS* persCont, MsgStream &log);
35  virtual Muon::CscPrepDataContainer* createTransient(const Muon::MuonPRD_Container_p1* persObj, MsgStream& log);
36  private:
37  StatusCode initialize(MsgStream &log);
38 
40  const CscIdHelper *m_cscId{nullptr};
41  ToolHandle < Trk::IEventCnvSuperTool > m_eventCnvTool{"Trk::EventCnvSuperTool/EventCnvSuperTool"};
42  bool m_isInitialized{false};
43  };
44 
45 }
46 #endif
47 
Muon::MuonPrepDataContainer
Template for Muon PRD containers (which are basically collections of MuonPrepDataCollections).
Definition: MuonPrepDataContainer.h:42
Muon::CscPrepDataContainerCnv_p1
Definition: CscPrepDataContainerCnv_p1.h:28
Muon::CscPrepDataContainerCnv_p1::CscPrepDataContainerCnv_p1
CscPrepDataContainerCnv_p1()=default
Muon::CscPrepDataContainerCnv_p1::TRANS
Muon::CscPrepDataContainer TRANS
Definition: CscPrepDataContainerCnv_p1.h:31
Muon::CscPrepDataContainerCnv_p1::m_cscId
const CscIdHelper * m_cscId
Definition: CscPrepDataContainerCnv_p1.h:40
TPConverterBase
Definition: TPConverter.h:738
MuonGM::CscReadoutElement
Definition: CscReadoutElement.h:56
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:45
Muon::CscPrepDataContainerCnv_p1::m_eventCnvTool
ToolHandle< Trk::IEventCnvSuperTool > m_eventCnvTool
Definition: CscPrepDataContainerCnv_p1.h:41
MuonPRD_Container_p1.h
IEventCnvSuperTool.h
Muon::CscPrepDataContainerCnv_p1::m_isInitialized
bool m_isInitialized
Definition: CscPrepDataContainerCnv_p1.h:42
Muon::CscPrepDataContainerCnv_p1::createTransient
virtual Muon::CscPrepDataContainer * createTransient(const Muon::MuonPRD_Container_p1 *persObj, MsgStream &log)
Definition: CscPrepDataContainerCnv_p1.cxx:167
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
T_AthenaPoolTPConverter.h
Muon::CscPrepDataContainerCnv_p1::persToTrans
virtual void persToTrans(const PERS *persCont, TRANS *transCont, MsgStream &log)
Definition: CscPrepDataContainerCnv_p1.cxx:103
CscPrepDataContainer.h
CscIdHelper
Definition: CscIdHelper.h:52
Muon::CscPrepDataContainerCnv_p1::PERS
Muon::MuonPRD_Container_p1 PERS
Definition: CscPrepDataContainerCnv_p1.h:30
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
Muon::MuonPRD_Container_p1
Definition: MuonPRD_Container_p1.h:14
Muon::CscPrepDataContainerCnv_p1::getReadOutElement
const MuonGM::CscReadoutElement * getReadOutElement(const Identifier &id) const
Definition: CscPrepDataContainerCnv_p1.cxx:44
Muon::CscPrepDataContainerCnv_p1::transToPers
virtual void transToPers(const TRANS *transCont, PERS *persCont, MsgStream &log)
Definition: CscPrepDataContainerCnv_p1.cxx:49
Muon::CscPrepDataContainerCnv_p1::initialize
StatusCode initialize(MsgStream &log)
Definition: CscPrepDataContainerCnv_p1.cxx:28
Identifier
Definition: IdentifierFieldParser.cxx:14