ATLAS Offline Software
Loading...
Searching...
No Matches
TRT_LoLumRawDataContainerCnv_p2.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRT_LOLUMRAWDATACONTAINERCNV_P2_H
6#define TRT_LOLUMRAWDATACONTAINERCNV_P2_H
7
8// TRT_LoLumRawDataContainerCnv_p2, T/P separation of TRT Raw data
9// author D.Costanzo <davide.costanzo@cern.ch>
10
14class 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
25class TRT_LoLumRawDataContainerCnv_p2 : public T_AthenaPoolTPCnvBase<TRT_RDO_Container, InDetRawDataContainer_p2>
26{
27private:
29public:
31
32 virtual void persToTrans(const InDetRawDataContainer_p2* persCont,
33 TRT_RDO_Container* transCont,
34 MsgStream &log) ;
35 virtual void transToPers(const TRT_RDO_Container* transCont,
37 MsgStream &log) ;
38 virtual TRT_RDO_Container* createTransient(const InDetRawDataContainer_p2* 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< InDetRawDataCollection< TRT_RDORawData > > TRT_RDO_Container
TPConverterBase< TRANS, PERS > T_AthenaPoolTPCnvBase
This is an Identifier helper class for the TRT subdetector.
Definition TRT_ID.h:82
virtual void transToPers(const TRT_RDO_Container *transCont, InDetRawDataContainer_p2 *persCont, MsgStream &log)
virtual void persToTrans(const InDetRawDataContainer_p2 *persCont, TRT_RDO_Container *transCont, MsgStream &log)
virtual TRT_RDO_Container * createTransient(const InDetRawDataContainer_p2 *persObj, MsgStream &log)