ATLAS Offline Software
CaloClusterContainerCnv_p3.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_P3_H
8 #define CALOTPCNV_CALOCLUSTERCONTAINERCNV_P3_H
9 
10 #include "CaloEvent/CaloClusterContainer.h"
13 //#include "CaloTPCnv/CaloClusterMomentContainerCnv_p2.h"
19 
21 #include "AthLinks/ElementLink.h"
23 
25 class CaloCluster;
26 
28  : public T_AthenaPoolTPCnvConstBase<CaloClusterContainer, CaloClusterContainer_p3>
29 {
30 public:
33 
34 
35  virtual
36  void persToTrans (const CaloClusterContainer_p3* 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:
52 
53  //Conversion function for individual clusters (called in a loop over the container)
55  CaloCluster* trans,
56  ShowerLinkState& showerLinkState,
57  CellLinkState& cellLinkState,
58  MsgStream &) const;
59  void transToPers (const CaloCluster* trans,
61  ShowerLinkState& showerLinkState,
62  CellLinkState& cellLinkState,
63  MsgStream &) const;
64 
65  //Sub-Converters:
68 // CaloClusterMomentContainerCnv_p2 m_momentContainerCnv;
72 };
73 
74 
75 #endif
P4EEtaPhiMCnv_p1
Definition: P4EEtaPhiMCnv_p1.h:35
CaloClusterContainer_p3
Definition: CaloClusterContainer_p3.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_p3::m_caloTowerSegCnv
CaloTowerSegCnv_p1 m_caloTowerSegCnv
Definition: CaloClusterContainerCnv_p3.h:66
P4EEtaPhiMCnv_p1.h
CaloSamplingDataContainerCnv_p1
Definition: CaloSamplingDataContainerCnv_p1.h:15
CaloClusterContainerCnv_p3::transToPers
virtual void transToPers(const CaloClusterContainer *trans, CaloClusterContainer_p3 *pers, MsgStream &log) const override
Definition: CaloClusterContainerCnv_p3.cxx:81
ElementLinkCnv_p2
Definition: ElementLinkCnv_p2.h:55
CaloClusterContainerCnv_p3::m_samplingDataContainerCnv
CaloSamplingDataContainerCnv_p1 m_samplingDataContainerCnv
Definition: CaloClusterContainerCnv_p3.h:69
CaloTowerSegCnv_p1.h
T_AthenaPoolTPConverter.h
MuonR4::State
CalibratedSpacePoint::State State
Definition: SpacePointCalibrator.cxx:24
CaloCluster
Principal data class for CaloCell clusters.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloCluster.h:79
CaloShowerContainer.h
CaloClusterContainerCnv_p3::m_showerElementLinkCnv
ElementLinkCnv_p2< ElementLink< CaloShowerContainer > > m_showerElementLinkCnv
Definition: CaloClusterContainerCnv_p3.h:70
CaloClusterContainerCnv_p3::m_P4EEtaPhiMCnv
P4EEtaPhiMCnv_p1 m_P4EEtaPhiMCnv
Definition: CaloClusterContainerCnv_p3.h:67
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
CaloClusterContainerCnv_p3
Definition: CaloClusterContainerCnv_p3.h:29
CaloSamplingDataContainerCnv_p1.h
CaloSamplingData.h
CaloClusterContainer_p3::CaloCluster_p
Definition: CaloClusterContainer_p3.h:22
CaloClusterContainerCnv_p3::ShowerLinkState
ElementLinkCnv_p2< ElementLink< CaloShowerContainer > >::State ShowerLinkState
Definition: CaloClusterContainerCnv_p3.h:49
CaloClusterContainerCnv_p3::persToTrans
virtual void persToTrans(const CaloClusterContainer_p3 *pers, CaloClusterContainer *trans, MsgStream &log) const override
Definition: CaloClusterContainerCnv_p3.cxx:12
CaloClusterContainerCnv_p3::CellLinkState
ElementLinkCnv_p2< ElementLink< CaloCellLinkContainer > >::State CellLinkState
Definition: CaloClusterContainerCnv_p3.h:51
CaloClusterContainer_p3.h
CaloClusterContainerCnv_p3::m_cellElementLinkCnv
ElementLinkCnv_p2< ElementLink< CaloCellLinkContainer > > m_cellElementLinkCnv
Definition: CaloClusterContainerCnv_p3.h:71
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TPConverterConstBase
Definition: TPConverter.h:776
ElementLinkCnv_p2.h
This file contains the class definition for the ElementLinkCnv_p2 class.
CaloTowerSegCnv_p1
Definition: CaloTowerSegCnv_p1.h:15