ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonEventTPCnv
MuonEventTPCnv
MuonPrepRawData
TgcPrepDataContainerCnv_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 TGCPREPDATACONTAINERCNV_P1_H
6
#define TGCPREPDATACONTAINERCNV_P1_H
7
8
//-----------------------------------------------------------------------------
9
//
10
// file: TgcPrepDataContainerCnv_p1.h
11
//
12
//-----------------------------------------------------------------------------
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
15
#include "
MuonPrepRawData/TgcPrepDataContainer.h
"
16
#include "
MuonEventTPCnv/MuonPrepRawData/MuonPRD_Container_p1.h
"
17
#include "GaudiKernel/ToolHandle.h"
18
#include "
TrkEventCnvTools/IEventCnvSuperTool.h
"
19
20
21
class
MsgStream;
22
class
TgcIdHelper
;
23
24
namespace
Muon
{
25
class
TgcPrepDataContainerCnv_p1
:
public
T_AthenaPoolTPCnvBase
< Muon::TgcPrepDataContainer, Muon::MuonPRD_Container_p1 >
26
27
{
28
public
:
29
typedef
Muon::MuonPRD_Container_p1
PERS
;
30
typedef
Muon::TgcPrepDataContainer
TRANS
;
31
TgcPrepDataContainerCnv_p1
() =
default
;
32
virtual
void
persToTrans
(
const
PERS
* persCont,
TRANS
* transCont, MsgStream &log);
33
virtual
void
transToPers
(
const
TRANS
* transCont,
PERS
* persCont, MsgStream &log);
34
virtual
Muon::TgcPrepDataContainer
*
createTransient
(
const
Muon::MuonPRD_Container_p1
* persObj, MsgStream& log);
35
private
:
36
StatusCode
initialize
(MsgStream &log);
37
38
const
MuonGM::TgcReadoutElement
*
getReadOutElement
(
const
Identifier
&
id
)
const
;
39
const
TgcIdHelper
*
m_TgcId
{
nullptr
};
40
ToolHandle < Trk::IEventCnvSuperTool >
m_eventCnvTool
{
"Trk::EventCnvSuperTool/EventCnvSuperTool"
};
41
bool
m_isInitialized
{
false
};
42
43
44
};
45
46
}
47
#endif
48
IEventCnvSuperTool.h
MuonPRD_Container_p1.h
T_AthenaPoolTPConverter.h
T_AthenaPoolTPCnvBase
TPConverterBase< TRANS, PERS > T_AthenaPoolTPCnvBase
Definition
T_AthenaPoolTPConverter.h:41
TgcPrepDataContainer.h
MuonGM::TgcReadoutElement
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
Definition
MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/TgcReadoutElement.h:42
Muon::MuonPRD_Container_p1
Definition
MuonPRD_Container_p1.h:14
Muon::TgcPrepDataContainerCnv_p1::m_isInitialized
bool m_isInitialized
Definition
TgcPrepDataContainerCnv_p1.h:41
Muon::TgcPrepDataContainerCnv_p1::createTransient
virtual Muon::TgcPrepDataContainer * createTransient(const Muon::MuonPRD_Container_p1 *persObj, MsgStream &log)
Definition
TgcPrepDataContainerCnv_p1.cxx:165
Muon::TgcPrepDataContainerCnv_p1::m_eventCnvTool
ToolHandle< Trk::IEventCnvSuperTool > m_eventCnvTool
Definition
TgcPrepDataContainerCnv_p1.h:40
Muon::TgcPrepDataContainerCnv_p1::TRANS
Muon::TgcPrepDataContainer TRANS
Definition
TgcPrepDataContainerCnv_p1.h:30
Muon::TgcPrepDataContainerCnv_p1::transToPers
virtual void transToPers(const TRANS *transCont, PERS *persCont, MsgStream &log)
Definition
TgcPrepDataContainerCnv_p1.cxx:48
Muon::TgcPrepDataContainerCnv_p1::PERS
Muon::MuonPRD_Container_p1 PERS
Definition
TgcPrepDataContainerCnv_p1.h:29
Muon::TgcPrepDataContainerCnv_p1::persToTrans
virtual void persToTrans(const PERS *persCont, TRANS *transCont, MsgStream &log)
Definition
TgcPrepDataContainerCnv_p1.cxx:101
Muon::TgcPrepDataContainerCnv_p1::m_TgcId
const TgcIdHelper * m_TgcId
Definition
TgcPrepDataContainerCnv_p1.h:39
Muon::TgcPrepDataContainerCnv_p1::TgcPrepDataContainerCnv_p1
TgcPrepDataContainerCnv_p1()=default
Muon::TgcPrepDataContainerCnv_p1::getReadOutElement
const MuonGM::TgcReadoutElement * getReadOutElement(const Identifier &id) const
Definition
TgcPrepDataContainerCnv_p1.cxx:43
TgcIdHelper
Definition
TgcIdHelper.h:50
Identifier
Definition
IdentifierFieldParser.cxx:14
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
Muon::TgcPrepDataContainer
MuonPrepDataContainerT< TgcPrepData > TgcPrepDataContainer
Definition
MuonPrepDataContainer.h:96
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0