ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonEventTPCnv
MuonEventTPCnv
MuonPrepRawData
TgcPrepDataContainerCnv_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 TgcPREPDATACONTAINERCNV_P2_H
6
#define TgcPREPDATACONTAINERCNV_P2_H
7
8
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
9
#include "
MuonPrepRawData/TgcPrepDataContainer.h
"
10
#include "
MuonEventTPCnv/MuonPrepRawData/MuonPRD_Container_p2.h
"
11
#include "GaudiKernel/ToolHandle.h"
12
#include "
TrkEventCnvTools/IEventCnvSuperTool.h
"
13
14
#include <iostream>
15
16
class
TgcIdHelper
;
17
18
19
namespace
Muon
{
22
class
TgcPrepDataContainerCnv_p2
:
public
T_AthenaPoolTPCnvBase
<Muon::TgcPrepDataContainer, Muon::TgcPrepDataContainer_p2>
23
{
24
public
:
25
TgcPrepDataContainerCnv_p2
() =
default
;
26
27
virtual
void
persToTrans
(
const
Muon::TgcPrepDataContainer_p2
* persCont,
28
Muon::TgcPrepDataContainer
* transCont,
29
MsgStream &log) ;
30
virtual
void
transToPers
(
const
Muon::TgcPrepDataContainer
* transCont,
31
Muon::TgcPrepDataContainer_p2
* persCont,
32
MsgStream &log) ;
33
34
virtual
Muon::TgcPrepDataContainer
*
createTransient
(
const
Muon::TgcPrepDataContainer_p2
* persObj, MsgStream& log);
35
36
37
private
:
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
StatusCode
initialize
(MsgStream &log);
43
};
44
}
45
46
47
#endif
48
49
IEventCnvSuperTool.h
MuonPRD_Container_p2.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::TgcPrepDataContainerCnv_p2::m_isInitialized
bool m_isInitialized
Definition
TgcPrepDataContainerCnv_p2.h:41
Muon::TgcPrepDataContainerCnv_p2::getReadOutElement
const MuonGM::TgcReadoutElement * getReadOutElement(const Identifier &id) const
Definition
TgcPrepDataContainerCnv_p2.cxx:38
Muon::TgcPrepDataContainerCnv_p2::transToPers
virtual void transToPers(const Muon::TgcPrepDataContainer *transCont, Muon::TgcPrepDataContainer_p2 *persCont, MsgStream &log)
Definition
TgcPrepDataContainerCnv_p2.cxx:43
Muon::TgcPrepDataContainerCnv_p2::TgcPrepDataContainerCnv_p2
TgcPrepDataContainerCnv_p2()=default
Muon::TgcPrepDataContainerCnv_p2::m_eventCnvTool
ToolHandle< Trk::IEventCnvSuperTool > m_eventCnvTool
Definition
TgcPrepDataContainerCnv_p2.h:40
Muon::TgcPrepDataContainerCnv_p2::persToTrans
virtual void persToTrans(const Muon::TgcPrepDataContainer_p2 *persCont, Muon::TgcPrepDataContainer *transCont, MsgStream &log)
Definition
TgcPrepDataContainerCnv_p2.cxx:136
Muon::TgcPrepDataContainerCnv_p2::m_TgcId
const TgcIdHelper * m_TgcId
Definition
TgcPrepDataContainerCnv_p2.h:39
Muon::TgcPrepDataContainerCnv_p2::createTransient
virtual Muon::TgcPrepDataContainer * createTransient(const Muon::TgcPrepDataContainer_p2 *persObj, MsgStream &log)
Definition
TgcPrepDataContainerCnv_p2.cxx:218
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
Muon::TgcPrepDataContainer_p2
MuonPRD_Container_p2< TgcPrepData_p2 > TgcPrepDataContainer_p2
Definition
MuonPRD_Container_p2.h:39
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0