ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClusterContainerCnv_p1.h
Go to the documentation of this file.
1//Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef CALOATHENAPOOL_CALOCLUSTERCONTAINERCNV_P1_H
8#define CALOATHENAPOOL_CALOCLUSTERCONTAINERCNV_P1_H
9
17
20#include "AthLinks/ElementLink.h"
21
23class CaloCluster;
24
25
26
28 : public T_AthenaPoolTPCnvConstBase<CaloClusterContainer, CaloClusterContainer_p1>
29{
30public:
33
34
35 virtual
36 void persToTrans (const CaloClusterContainer_p1* pers,
38 MsgStream &log) const override;
39
40
41 virtual
42 void transToPers (const CaloClusterContainer* trans,
44 MsgStream &log) const override;
45
46
47private:
48 //Conversion function for individual clusters (called in a loop over the container)
49 void persToTrans(const CaloClusterContainer_p1::CaloCluster_p*, CaloCluster*, MsgStream &) const;
50 void transToPers(const CaloCluster*, CaloClusterContainer_p1::CaloCluster_p*, MsgStream &) const;
51
52
53 //Sub-Converters:
60};
61
62
63#endif
This file contains the class definition for the ElementLinkCnv_p1 class.
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
CaloSamplingDataCnv_p1 m_caloSamplingDataCnv
ElementLinkCnv_p1< ElementLink< CaloCellLinkContainer > > m_cellElementLinkCnv
CaloClusterMomentStoreCnv_p1 m_caloMomentStoreCnv
virtual void persToTrans(const CaloClusterContainer_p1 *pers, CaloClusterContainer *trans, MsgStream &log) const override
ElementLinkCnv_p1< ElementLink< CaloShowerContainer > > m_showerElementLinkCnv
virtual void transToPers(const CaloClusterContainer *trans, CaloClusterContainer_p1 *pers, MsgStream &log) const override
Principal data class for CaloCell clusters.
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.