ATLAS Offline Software
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.
20 class 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,
31  LArRawChannelContainer_p2* persColl,
32  MsgStream &log) const override;
33  private:
35 };
36 
37 #endif
TPConverterConstBase::transToPers
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
LArRawChannelCnv_p1.h
LArRawChannelContainerCnv_p2::LArRawChannelContainerCnv_p2
LArRawChannelContainerCnv_p2()
Definition: LArRawChannelContainerCnv_p2.h:23
LArRawChannelContainerCnv_p2::m_larRawChannelCnv_p1
LArRawChannelCnv_p1 m_larRawChannelCnv_p1
Definition: LArRawChannelContainerCnv_p2.h:34
T_AthenaPoolTPConverter.h
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
LArRawChannelContainerCnv_p2::transToPers
virtual void transToPers(const LArRawChannelContainer *transColl, LArRawChannelContainer_p2 *persColl, MsgStream &log) const override
Definition: LArRawChannelContainerCnv_p2.cxx:18
LArRawChannelContainerCnv_p2::persToTrans
virtual void persToTrans(const LArRawChannelContainer_p2 *persColl, LArRawChannelContainer *transColl, MsgStream &log) const override
Definition: LArRawChannelContainerCnv_p2.cxx:77
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
LArRawChannelCnv_p1
Definition: LArRawChannelCnv_p1.h:18
LArRawChannelContainer_p2.h
LArRawChannelContainer_p2
Persistent LArRawChannelContainer, version p2.
Definition: LArRawChannelContainer_p2.h:20
TPConverterConstBase
Definition: TPConverter.h:776
LArRawChannelContainerCnv_p2
Definition: LArRawChannelContainerCnv_p2.h:21
LArRawChannelContainer.h
LArRawChannelContainer
Container for LArRawChannel (IDC using LArRawChannelCollection)
Definition: LArRawChannelContainer.h:26