ATLAS Offline Software
Loading...
Searching...
No Matches
CscStripPrepDataContainerCnv_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 CSCSTRIPPREPDATACONTAINERCNV_P1_H
6#define CSCSTRIPPREPDATACONTAINERCNV_P1_H
7
8//-----------------------------------------------------------------------------
9//
10// file: CscStripPrepDataContainerCnv_p1.h
11//
12//-----------------------------------------------------------------------------
13
17#include "GaudiKernel/ToolHandle.h"
19
20class MsgStream;
21class CscIdHelper;
22
23namespace Muon{
24 class CscStripPrepDataContainerCnv_p1 : public T_AthenaPoolTPCnvBase< Muon::CscStripPrepDataContainer, Muon::MuonPRD_Container_p1 >
25
26 {
27 public:
31 virtual void persToTrans(const PERS* persCont, TRANS* transCont, MsgStream &log);
32 virtual void transToPers(const TRANS* transCont, PERS* persCont, MsgStream &log);
33 virtual Muon::CscStripPrepDataContainer* createTransient(const Muon::MuonPRD_Container_p1* persObj, MsgStream& log);
34 StatusCode initialize(MsgStream &log);
35
36 private:
38 const CscIdHelper *m_cscStripId{nullptr};
39 ToolHandle < Trk::IEventCnvSuperTool > m_eventCnvTool{"Trk::EventCnvSuperTool/EventCnvSuperTool"};
40 bool m_isInitialized{false};
41 };
42
43}
44#endif
45
TPConverterBase< TRANS, PERS > T_AthenaPoolTPCnvBase
ToolHandle< Trk::IEventCnvSuperTool > m_eventCnvTool
virtual void persToTrans(const PERS *persCont, TRANS *transCont, MsgStream &log)
const MuonGM::CscReadoutElement * getReadOutElement(const Identifier &id) const
virtual Muon::CscStripPrepDataContainer * createTransient(const Muon::MuonPRD_Container_p1 *persObj, MsgStream &log)
virtual void transToPers(const TRANS *transCont, PERS *persCont, MsgStream &log)
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
MuonPrepDataContainerT< CscStripPrepData > CscStripPrepDataContainer
void initialize()