ATLAS Offline Software
CaloClusterContainerCnv_p4.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_p4_H
8 #define CALOTPCNV_CaloClusterContainerCnv_p4_H
9 
10 #include "CaloEvent/CaloClusterContainer.h"
17 
19 #include "AthLinks/ElementLink.h"
21 
23 class CaloCluster;
24 
26  : public T_AthenaPoolTPCnvConstBase<CaloClusterContainer, CaloClusterContainer_p4>
27 {
28 public:
31 
32 
33  virtual
34  void persToTrans (const CaloClusterContainer_p4* pers,
35  CaloClusterContainer* trans,
36  MsgStream &log) const override;
37 
38 
39  virtual
40  void transToPers (const CaloClusterContainer* trans,
42  MsgStream &log) const override;
43 
44 
45 private:
50 
51  //Conversion function for individual clusters (called in a loop over the container)
53  CaloCluster* trans,
54  ShowerLinkState& showerLinkState,
55  CellLinkState& cellLinkState,
56  MsgStream& log) const;
57  void transToPers (const CaloCluster* trans,
59  ShowerLinkState& showerLinkState,
60  CellLinkState& cellLinkState,
61  MsgStream& log) const;
62 
63  //Sub-Converters:
68 };
69 
70 
71 #endif
CaloClusterContainerCnv_p4::m_cellElementLinkCnv
ElementLinkCnv_p2< ElementLink< CaloCellLinkContainer > > m_cellElementLinkCnv
Definition: CaloClusterContainerCnv_p4.h:67
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
P4EEtaPhiMCnv_p2.h
ElementLinkCnv_p2
Definition: ElementLinkCnv_p2.h:55
CaloClusterContainer_p4::CaloCluster_p
Definition: CaloClusterContainer_p4.h:21
CaloTowerSegCnv_p1.h
T_AthenaPoolTPConverter.h
MuonR4::State
CalibratedSpacePoint::State State
Definition: SpacePointCalibrator.cxx:24
CaloClusterContainerCnv_p4::m_showerElementLinkCnv
ElementLinkCnv_p2< ElementLink< CaloShowerContainer > > m_showerElementLinkCnv
Definition: CaloClusterContainerCnv_p4.h:66
CaloCluster
Principal data class for CaloCell clusters.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloCluster.h:79
CaloShowerContainer.h
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
CaloClusterContainer_p4.h
CaloSamplingData.h
CaloClusterContainerCnv_p4::CellLinkState
ElementLinkCnv_p2< ElementLink< CaloCellLinkContainer > >::State CellLinkState
Definition: CaloClusterContainerCnv_p4.h:49
P4EEtaPhiMCnv_p2
Definition: P4EEtaPhiMCnv_p2.h:35
CaloClusterContainerCnv_p4::m_P4EEtaPhiMCnv
P4EEtaPhiMCnv_p2 m_P4EEtaPhiMCnv
Definition: CaloClusterContainerCnv_p4.h:65
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
CaloClusterContainerCnv_p4::persToTrans
virtual void persToTrans(const CaloClusterContainer_p4 *pers, CaloClusterContainer *trans, MsgStream &log) const override
Definition: CaloClusterContainerCnv_p4.cxx:28
CaloClusterContainer_p4
Definition: CaloClusterContainer_p4.h:19
CaloClusterContainerCnv_p4
Definition: CaloClusterContainerCnv_p4.h:27
CaloClusterContainerCnv_p4::transToPers
virtual void transToPers(const CaloClusterContainer *trans, CaloClusterContainer_p4 *pers, MsgStream &log) const override
Definition: CaloClusterContainerCnv_p4.cxx:277
TPConverterConstBase
Definition: TPConverter.h:776
CaloClusterContainerCnv_p4::m_caloTowerSegCnv
CaloTowerSegCnv_p1 m_caloTowerSegCnv
Definition: CaloClusterContainerCnv_p4.h:64
CaloClusterContainerCnv_p4::ShowerLinkState
ElementLinkCnv_p2< ElementLink< CaloShowerContainer > >::State ShowerLinkState
Definition: CaloClusterContainerCnv_p4.h:47
ElementLinkCnv_p2.h
This file contains the class definition for the ElementLinkCnv_p2 class.
CaloTowerSegCnv_p1
Definition: CaloTowerSegCnv_p1.h:15