ATLAS Offline Software
Loading...
Searching...
No Matches
LArRawChannelContainerCnv_p2.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARTPCNV_LARRAWCHANNELCONTAINERCNV_P2_H
6#define LARTPCNV_LARRAWCHANNELCONTAINERCNV_P2_H
7
8// LArRawChannelContainerCnv_p2, T/P separation of LArRawChannel
9// author R.Seuster <seuster@cern.ch>
10
15
16// We do NOT use T_AthenaPoolTPCnvIDCont because we do all of the
17// conversion in the .cxx. In part because LArRawChannelContainer_p2
18// vecs of both collections and channels. As well the IDC
19// addCollection is better.
20class LArRawChannelContainerCnv_p2 : public T_AthenaPoolTPCnvConstBase<LArRawChannelContainer, LArRawChannelContainer_p2>
21{
22 public:
26
27 virtual void persToTrans(const LArRawChannelContainer_p2* persColl,
28 LArRawChannelContainer* transColl,
29 MsgStream &log) const override;
30 virtual void transToPers(const LArRawChannelContainer* transColl,
32 MsgStream &log) const override;
33 private:
35};
36
37#endif
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
virtual void transToPers(const LArRawChannelContainer *transColl, LArRawChannelContainer_p2 *persColl, MsgStream &log) const override
virtual void persToTrans(const LArRawChannelContainer_p2 *persColl, LArRawChannelContainer *transColl, MsgStream &log) const override
Persistent LArRawChannelContainer, version p2.
Container for LArRawChannel (IDC using LArRawChannelCollection)
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.