ATLAS Offline Software
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 
23 class CaloCluster;
24 
25 
26 
28  : public T_AthenaPoolTPCnvConstBase<CaloClusterContainer, CaloClusterContainer_p1>
29 {
30 public:
33 
34 
35  virtual
36  void persToTrans (const CaloClusterContainer_p1* pers,
37  CaloClusterContainer* trans,
38  MsgStream &log) const override;
39 
40 
41  virtual
42  void transToPers (const CaloClusterContainer* trans,
44  MsgStream &log) const override;
45 
46 
47 private:
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
ElementLinkCnv_p1.h
This file contains the class definition for the ElementLinkCnv_p1 class.
P4EEtaPhiMCnv_p1
Definition: P4EEtaPhiMCnv_p1.h:35
CaloClusterContainer_p1
Definition: CaloClusterContainer_p1.h:16
CaloSamplingDataCnv_p1
Definition: CaloSamplingDataCnv_p1.h:17
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
CaloClusterContainer_p1::CaloCluster_p
Definition: CaloClusterContainer_p1.h:19
CaloSamplingDataCnv_p1.h
CaloClusterContainerCnv_p1::m_caloMomentStoreCnv
CaloClusterMomentStoreCnv_p1 m_caloMomentStoreCnv
Definition: CaloClusterContainerCnv_p1.h:57
P4EEtaPhiMCnv_p1.h
CaloClusterContainerCnv_p1::m_cellElementLinkCnv
ElementLinkCnv_p1< ElementLink< CaloCellLinkContainer > > m_cellElementLinkCnv
Definition: CaloClusterContainerCnv_p1.h:59
CaloTowerSegCnv_p1.h
CaloClusterContainerCnv_p1::m_showerElementLinkCnv
ElementLinkCnv_p1< ElementLink< CaloShowerContainer > > m_showerElementLinkCnv
Definition: CaloClusterContainerCnv_p1.h:58
T_AthenaPoolTPConverter.h
CaloCluster
Principal data class for CaloCell clusters.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloCluster.h:79
CaloShowerContainer.h
ElementLinkCnv_p1
Definition: ElementLinkCnv_p1.h:27
CaloClusterContainerCnv_p1
Definition: CaloClusterContainerCnv_p1.h:29
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
CaloClusterContainerCnv_p1::m_P4EEtaPhiMCnv
P4EEtaPhiMCnv_p1 m_P4EEtaPhiMCnv
Definition: CaloClusterContainerCnv_p1.h:55
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
CaloClusterContainer_p1.h
CaloClusterContainerCnv_p1::m_caloSamplingDataCnv
CaloSamplingDataCnv_p1 m_caloSamplingDataCnv
Definition: CaloClusterContainerCnv_p1.h:56
CaloClusterContainerCnv_p1::transToPers
virtual void transToPers(const CaloClusterContainer *trans, CaloClusterContainer_p1 *pers, MsgStream &log) const override
Definition: CaloClusterContainerCnv_p1.cxx:26
TPConverterConstBase
Definition: TPConverter.h:776
CaloClusterMomentStoreCnv_p1
Definition: CaloClusterMomentStoreCnv_p1.h:17
CaloClusterContainerCnv_p1::persToTrans
virtual void persToTrans(const CaloClusterContainer_p1 *pers, CaloClusterContainer *trans, MsgStream &log) const override
Definition: CaloClusterContainerCnv_p1.cxx:10
CaloTowerSegCnv_p1
Definition: CaloTowerSegCnv_p1.h:15
CaloClusterMomentStoreCnv_p1.h
CaloClusterContainerCnv_p1::m_caloTowerSegCnv
CaloTowerSegCnv_p1 m_caloTowerSegCnv
Definition: CaloClusterContainerCnv_p1.h:54