ATLAS Offline Software
Loading...
Searching...
No Matches
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
25class CaloCluster;
26
28 : public T_AthenaPoolTPCnvConstBase<CaloClusterContainer, CaloClusterContainer_p3>
29{
30public:
33
34
35 virtual
36 void persToTrans (const CaloClusterContainer_p3* pers,
38 MsgStream &log) const override;
39
40
41 virtual
42 void transToPers (const CaloClusterContainer* trans,
44 MsgStream &log) const override;
45
46
47private:
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
This file contains the class definition for the ElementLinkCnv_p2 class.
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
virtual void persToTrans(const CaloClusterContainer_p3 *pers, CaloClusterContainer *trans, MsgStream &log) const override
ElementLinkCnv_p2< ElementLink< CaloCellLinkContainer > >::State CellLinkState
ElementLinkCnv_p2< ElementLink< CaloShowerContainer > >::State ShowerLinkState
CaloSamplingDataContainerCnv_p1 m_samplingDataContainerCnv
ElementLinkCnv_p2< ElementLink< CaloShowerContainer > > m_showerElementLinkCnv
ElementLinkCnv_p2< ElementLink< CaloCellLinkContainer > > m_cellElementLinkCnv
virtual void transToPers(const CaloClusterContainer *trans, CaloClusterContainer_p3 *pers, MsgStream &log) const override
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.