ATLAS Offline Software
InnerDetector
InDetEventCnv
InDetEventAthenaPool
src
TRT_LoLumRawDataContainerCnv_p3.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRT_LOLUMRAWDATACONTAINERCNV_P3_H
6
#define TRT_LOLUMRAWDATACONTAINERCNV_P3_H
7
8
// TRT_LoLumRawDataContainerCnv_p3, T/P separation of TRT Raw data
9
// author D.Costanzo <davide.costanzo@cern.ch>
10
11
#include "
InDetRawData/TRT_RDO_Container.h
"
12
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
13
#include "
InDetEventAthenaPool/InDetRawDataContainer_p3.h
"
14
class
TRT_ID
;
15
16
17
// We do NOT use T_AthenaPoolTPCnvIDCont because we do all of the
18
// conversion in the .cxx. Same as for the LAr Raw Channels
19
// Note that this is used for a container of TRT Raw Data
20
// that containes only TRT_LoLumRawData concrete types
21
// TRT_RDO_ContainerCnv.cxx delegates the conversion to this
22
// converter if the objects are of the correct type
23
24
25
class
TRT_LoLumRawDataContainerCnv_p3
:
public
T_AthenaPoolTPCnvBase
<TRT_RDO_Container, InDetRawDataContainer_p3>
26
{
27
private
:
28
const
TRT_ID
*
m_trtId
;
29
public
:
30
TRT_LoLumRawDataContainerCnv_p3
() :
m_trtId
(0) {};
31
32
virtual
void
persToTrans
(
const
InDetRawDataContainer_p3
* persCont,
33
TRT_RDO_Container
* transCont,
34
MsgStream &
log
) ;
35
virtual
void
transToPers
(
const
TRT_RDO_Container
* transCont,
36
InDetRawDataContainer_p3
* persCont,
37
MsgStream &
log
) ;
38
virtual
TRT_RDO_Container
*
createTransient
(
const
InDetRawDataContainer_p3
* persObj, MsgStream&
log
) ;
39
40
41
// ID helper can't be used in the constructor, need initialize()
42
void
initialize
(
const
TRT_ID
*idhelper) {
m_trtId
= idhelper; }
43
44
};
45
46
#endif
InDetRawDataContainer_p3.h
TRT_LoLumRawDataContainerCnv_p3::createTransient
virtual TRT_RDO_Container * createTransient(const InDetRawDataContainer_p3 *persObj, MsgStream &log)
Definition:
TRT_LoLumRawDataContainerCnv_p3.cxx:256
TRT_RDO_Container.h
TPConverterBase
Definition:
TPConverter.h:738
InDetRawDataContainer_p3
Definition:
InDetRawDataContainer_p3.h:19
InDetRawDataContainer
Definition:
InDetRawDataContainer.h:27
TRT_LoLumRawDataContainerCnv_p3::m_trtId
const TRT_ID * m_trtId
Definition:
TRT_LoLumRawDataContainerCnv_p3.h:28
TRT_LoLumRawDataContainerCnv_p3::transToPers
virtual void transToPers(const TRT_RDO_Container *transCont, InDetRawDataContainer_p3 *persCont, MsgStream &log)
Definition:
TRT_LoLumRawDataContainerCnv_p3.cxx:13
T_AthenaPoolTPConverter.h
TRT_LoLumRawDataContainerCnv_p3
Definition:
TRT_LoLumRawDataContainerCnv_p3.h:26
TRT_LoLumRawDataContainerCnv_p3::persToTrans
virtual void persToTrans(const InDetRawDataContainer_p3 *persCont, TRT_RDO_Container *transCont, MsgStream &log)
Definition:
TRT_LoLumRawDataContainerCnv_p3.cxx:148
TRT_LoLumRawDataContainerCnv_p3::initialize
void initialize(const TRT_ID *idhelper)
Definition:
TRT_LoLumRawDataContainerCnv_p3.h:42
TRT_ID
Definition:
TRT_ID.h:84
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
TRT_LoLumRawDataContainerCnv_p3::TRT_LoLumRawDataContainerCnv_p3
TRT_LoLumRawDataContainerCnv_p3()
Definition:
TRT_LoLumRawDataContainerCnv_p3.h:30
Generated on Thu Nov 7 2024 21:30:40 for ATLAS Offline Software by
1.8.18