ATLAS Offline Software
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 
24 class CaloCluster;
25 
27  : public T_AthenaPoolTPCnvConstBase<CaloClusterContainer, CaloClusterContainer_p7>
28 {
29 public:
32 
33 
34  virtual
35  void persToTrans (const CaloClusterContainer_p7* pers,
36  CaloClusterContainer* trans,
37  MsgStream &log) const override;
38 
39 
40  virtual
41  void transToPers (const CaloClusterContainer* trans,
43  MsgStream &log) const override;
44 
45 
46 private:
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
ElementLinkCnv_p3
Definition: ElementLinkCnv_p3.h:27
ElementLinkCnv_p3.h
This file contains the class definition for the ElementLinkCnv_p3 class.
CaloClusterContainer_p7::CaloCluster_p
Definition: CaloClusterContainer_p7.h:21
AthenaBarCodeCnv_p1
Definition: AthenaBarCodeCnv_p1.h:20
TPConverterConstBase::transToPers
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
CaloClusterContainer
Storable container for CaloCluster.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloClusterContainer.h:37
CaloClusterContainerCnv_p7::m_caloTowerSegCnv
CaloTowerSegCnv_p1 m_caloTowerSegCnv
Definition: CaloClusterContainerCnv_p7.h:53
CaloClusterContainer_p7
Definition: CaloClusterContainer_p7.h:19
P4EEtaPhiMCnv_p2.h
CaloClusterContainerCnv_p7::m_showerElementLinkCnv
ElementLinkCnv_p3< ElementLink< CaloShowerContainer > > m_showerElementLinkCnv
Definition: CaloClusterContainerCnv_p7.h:55
CaloTowerSegCnv_p1.h
T_AthenaPoolTPConverter.h
CaloClusterContainerCnv_p7::transToPers
virtual void transToPers(const CaloClusterContainer *trans, CaloClusterContainer_p7 *pers, MsgStream &log) const override
Definition: CaloClusterContainerCnv_p7.cxx:345
CaloClusterContainerCnv_p7::m_cellElementLinkCnv
ElementLinkCnv_p3< ElementLink< CaloCellLinkContainer > > m_cellElementLinkCnv
Definition: CaloClusterContainerCnv_p7.h:56
CaloCluster
Principal data class for CaloCell clusters.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloCluster.h:79
CaloClusterContainerCnv_p7::persToTrans
virtual void persToTrans(const CaloClusterContainer_p7 *pers, CaloClusterContainer *trans, MsgStream &log) const override
Definition: CaloClusterContainerCnv_p7.cxx:29
CaloShowerContainer.h
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
CaloClusterContainerCnv_p7::m_barcodeCnv
AthenaBarCodeCnv_p1 m_barcodeCnv
Definition: CaloClusterContainerCnv_p7.h:57
CaloClusterContainer_p7.h
CaloSamplingData.h
CaloClusterContainerCnv_p7
Definition: CaloClusterContainerCnv_p7.h:28
P4EEtaPhiMCnv_p2
Definition: P4EEtaPhiMCnv_p2.h:35
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
AthenaBarCodeCnv_p1.h
TPConverterConstBase
Definition: TPConverter.h:776
CaloClusterContainerCnv_p7::m_P4EEtaPhiMCnv
P4EEtaPhiMCnv_p2 m_P4EEtaPhiMCnv
Definition: CaloClusterContainerCnv_p7.h:54
CaloTowerSegCnv_p1
Definition: CaloTowerSegCnv_p1.h:15
CaloClusterContainerCnv_p7::CaloClusterContainerCnvTest_p7
friend class CaloClusterContainerCnvTest_p7
Definition: CaloClusterContainerCnv_p7.h:47