ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClusterContainerCnv_p2.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_P2_H
8#define CALOTPCNV_CALOCLUSTERCONTAINERCNV_P2_H
9
10#include "CaloEvent/CaloClusterContainer.h"
14//#include "CaloTPCnv/CaloSamplingDataCnv_p1.h"
15//#include "CaloTPCnv/CaloClusterMomentStoreCnv_p1.h"
22
24#include "AthLinks/ElementLink.h"
26
28class CaloCluster;
29
31 : public T_AthenaPoolTPCnvConstBase<CaloClusterContainer, CaloClusterContainer_p2>
32{
33public:
36
37
38 virtual
39 void persToTrans (const CaloClusterContainer_p2* pers,
41 MsgStream &log) const override;
42
43
44 virtual
45 void transToPers (const CaloClusterContainer* trans,
47 MsgStream &log) const override;
48
49private:
54
55 //Conversion function for individual clusters (called in a loop over the container)
57 CaloCluster* trans,
58 ShowerLinkState& showerLinkState,
59 CellLinkState& cellLinkState,
60 MsgStream &) const;
61 void transToPers (const CaloCluster* trans,
63 ShowerLinkState& showerLinkState,
64 CellLinkState& cellLinkState,
65 MsgStream &) const;
66
67 //Sub-Converters:
74};
75
76
77#endif
This file contains the class definition for the ElementLinkCnv_p2 class.
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
ElementLinkCnv_p2< ElementLink< CaloCellLinkContainer > >::State CellLinkState
ElementLinkCnv_p2< ElementLink< CaloCellLinkContainer > > m_cellElementLinkCnv
ElementLinkCnv_p2< ElementLink< CaloShowerContainer > >::State ShowerLinkState
virtual void transToPers(const CaloClusterContainer *trans, CaloClusterContainer_p2 *pers, MsgStream &log) const override
CaloSamplingDataContainerCnv_p1 m_samplingDataContainerCnv
virtual void persToTrans(const CaloClusterContainer_p2 *pers, CaloClusterContainer *trans, MsgStream &log) const override
ElementLinkCnv_p2< ElementLink< CaloShowerContainer > > m_showerElementLinkCnv
CaloClusterMomentContainerCnv_p1 m_momentContainerCnv
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.