ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClusterContainerCnv_p7.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 CALOTPCNV_CaloClusterContainerCnv_p7_H
8#define CALOTPCNV_CaloClusterContainerCnv_p7_H
9
10#include "CaloEvent/CaloClusterContainer.h"
17
20#include "AthLinks/ElementLink.h"
22
24class CaloCluster;
25
27 : public T_AthenaPoolTPCnvConstBase<CaloClusterContainer, CaloClusterContainer_p7>
28{
29public:
32
33
34 virtual
35 void persToTrans (const CaloClusterContainer_p7* pers,
37 MsgStream &log) const override;
38
39
40 virtual
41 void transToPers (const CaloClusterContainer* trans,
43 MsgStream &log) const override;
44
45
46private:
48 //Conversion function for individual clusters (called in a loop over the container)
49 void persToTrans(const CaloClusterContainer_p7::CaloCluster_p*, CaloCluster*, MsgStream &) const;
50 void transToPers(const CaloCluster*, CaloClusterContainer_p7::CaloCluster_p*, MsgStream &) const;
51
52 //Sub-Converters:
58};
59
60
61#endif
This file contains the class definition for the ElementLinkCnv_p3 class.
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
virtual void persToTrans(const CaloClusterContainer_p7 *pers, CaloClusterContainer *trans, MsgStream &log) const override
virtual void transToPers(const CaloClusterContainer *trans, CaloClusterContainer_p7 *pers, MsgStream &log) const override
ElementLinkCnv_p3< ElementLink< CaloCellLinkContainer > > m_cellElementLinkCnv
ElementLinkCnv_p3< ElementLink< CaloShowerContainer > > m_showerElementLinkCnv
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.