ATLAS Offline Software
Loading...
Searching...
No Matches
TRT_RDO_ContainerCnv_p0.h
Go to the documentation of this file.
1// -*- c++ -*-
2/*
3 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
4*/
5
6#ifndef TRT_RDO_CONTAINERCNV_P0_H
7#define TRT_RDO_CONTAINERCNV_P0_H
8
10
13
14class TRT_ID;
15
17
18class MsgStream;
19class TRT_RDO_ContainerCnv_p0 : public T_AthenaPoolTPCnvBase<TRT_RDO_Container, TRT_RDO_Container_p0> {
21public:
22
24 virtual void persToTrans(const TRT_RDO_Container_p0*, TRT_RDO_Container*, MsgStream&) {
25 // everything is done in createTransient()
26 }
27
28 virtual void transToPers(const TRT_RDO_Container*, TRT_RDO_Container_p0*, MsgStream&){
29 throw std::runtime_error("Writing TRT RDOs in the old format is not supported");
30 }
31
32 virtual TRT_RDO_Container* createTransient(const TRT_RDO_Container_p0* persObj, MsgStream& log);
33
34 // ID helper can't be used in the constructor, need initialize()
35 void initialize(const TRT_ID *idhelper) { m_trtId = idhelper; }
36};
37
38#endif/*TRT_RDO_CONTAINERCNV_P0_H*/
An STL vector of pointers that by default owns its pointed-to elements.
DataVector< InDetRawDataCollection< TRT_LoLumRawData > > TRT_RDO_Container_p0
InDetRawDataContainer< InDetRawDataCollection< TRT_RDORawData > > TRT_RDO_Container
TPConverterBase< TRANS, PERS > T_AthenaPoolTPCnvBase
Derived DataVector<T>.
Definition DataVector.h:795
This is an Identifier helper class for the TRT subdetector.
Definition TRT_ID.h:82
virtual void persToTrans(const TRT_RDO_Container_p0 *, TRT_RDO_Container *, MsgStream &)
virtual TRT_RDO_Container * createTransient(const TRT_RDO_Container_p0 *persObj, MsgStream &log)
virtual void transToPers(const TRT_RDO_Container *, TRT_RDO_Container_p0 *, MsgStream &)
void initialize(const TRT_ID *idhelper)