ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClusterContainerCnv_p6.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_p6_H
8#define CALOTPCNV_CaloClusterContainerCnv_p6_H
9
10#include "CaloEvent/CaloClusterContainer.h"
17
19#include "AthLinks/ElementLink.h"
21
23class CaloCluster;
24
26 : public T_AthenaPoolTPCnvConstBase<CaloClusterContainer, CaloClusterContainer_p6>
27{
28public:
31
32
33 virtual
34 void persToTrans (const CaloClusterContainer_p6* pers,
36 MsgStream &log) const override;
37
38
39 virtual
40 void transToPers (const CaloClusterContainer* trans,
42 MsgStream &log) const override;
43
44
45private:
47
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:
70};
71
72
73#endif
This file contains the class definition for the ElementLinkCnv_p2 class.
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
virtual void persToTrans(const CaloClusterContainer_p6 *pers, CaloClusterContainer *trans, MsgStream &log) const override
ElementLinkCnv_p2< ElementLink< CaloShowerContainer > > m_showerElementLinkCnv
ElementLinkCnv_p2< ElementLink< CaloCellLinkContainer > >::State CellLinkState
ElementLinkCnv_p2< ElementLink< CaloShowerContainer > >::State ShowerLinkState
ElementLinkCnv_p2< ElementLink< CaloCellLinkContainer > > m_cellElementLinkCnv
virtual void transToPers(const CaloClusterContainer *trans, CaloClusterContainer_p6 *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.