ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloCnv
CaloTPCnv
CaloTPCnv
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"
11
#include "
CaloEvent/CaloSamplingData.h
"
12
#include "
AthenaKernel/ITPCnvBase.h
"
13
#include "
CaloTPCnv/CaloTowerSegCnv_p1.h
"
14
//#include "CaloTPCnv/CaloSamplingDataCnv_p1.h"
15
//#include "CaloTPCnv/CaloClusterMomentStoreCnv_p1.h"
16
#include "
CaloTPCnv/CaloClusterMomentContainerCnv_p1.h
"
17
#include "
CaloTPCnv/CaloSamplingDataContainerCnv_p1.h
"
18
#include "
EventCommonTPCnv/P4EEtaPhiMCnv_p1.h
"
19
#include "
CaloEvent/CaloShowerContainer.h
"
20
#include "
CaloEvent/CaloCellLinkContainer.h
"
21
#include "
CaloTPCnv/CaloClusterContainer_p2.h
"
22
23
#include "
DataModelAthenaPool/ElementLinkCnv_p2.h
"
24
#include "AthLinks/ElementLink.h"
25
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
26
27
class
CaloClusterContainer
;
28
class
CaloCluster
;
29
30
class
CaloClusterContainerCnv_p2
31
:
public
T_AthenaPoolTPCnvConstBase
<CaloClusterContainer, CaloClusterContainer_p2>
32
{
33
public
:
34
using
base_class::transToPers
;
35
using
base_class::persToTrans
;
36
37
38
virtual
39
void
persToTrans
(
const
CaloClusterContainer_p2
* pers,
40
CaloClusterContainer
* trans,
41
MsgStream &log)
const override
;
42
43
44
virtual
45
void
transToPers
(
const
CaloClusterContainer
* trans,
46
CaloClusterContainer_p2
* pers,
47
MsgStream &log)
const override
;
48
49
private
:
50
typedef
ElementLinkCnv_p2<ElementLink<CaloShowerContainer>
>::State
51
ShowerLinkState
;
52
typedef
ElementLinkCnv_p2<ElementLink<CaloCellLinkContainer>
>::State
53
CellLinkState
;
54
55
//Conversion function for individual clusters (called in a loop over the container)
56
void
persToTrans
(
const
CaloClusterContainer_p2::CaloCluster_p
* pers,
57
CaloCluster
* trans,
58
ShowerLinkState
& showerLinkState,
59
CellLinkState
& cellLinkState,
60
MsgStream &)
const
;
61
void
transToPers
(
const
CaloCluster
* trans,
62
CaloClusterContainer_p2::CaloCluster_p
* pers,
63
ShowerLinkState
& showerLinkState,
64
CellLinkState
& cellLinkState,
65
MsgStream &)
const
;
66
67
//Sub-Converters:
68
CaloTowerSegCnv_p1
m_caloTowerSegCnv
;
69
P4EEtaPhiMCnv_p1
m_P4EEtaPhiMCnv
;
70
CaloClusterMomentContainerCnv_p1
m_momentContainerCnv
;
71
CaloSamplingDataContainerCnv_p1
m_samplingDataContainerCnv
;
72
ElementLinkCnv_p2<ElementLink<CaloShowerContainer>
>
m_showerElementLinkCnv
;
73
ElementLinkCnv_p2<ElementLink<CaloCellLinkContainer>
>
m_cellElementLinkCnv
;
74
};
75
76
77
#endif
CaloCellLinkContainer.h
CaloClusterContainer_p2.h
CaloClusterMomentContainerCnv_p1.h
CaloSamplingDataContainerCnv_p1.h
CaloSamplingData.h
CaloShowerContainer.h
CaloTowerSegCnv_p1.h
ElementLinkCnv_p2.h
This file contains the class definition for the ElementLinkCnv_p2 class.
ITPCnvBase.h
P4EEtaPhiMCnv_p1.h
T_AthenaPoolTPConverter.h
T_AthenaPoolTPCnvConstBase
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
Definition
T_AthenaPoolTPConverter.h:44
CaloClusterContainerCnv_p2
Definition
CaloClusterContainerCnv_p2.h:32
CaloClusterContainerCnv_p2::CellLinkState
ElementLinkCnv_p2< ElementLink< CaloCellLinkContainer > >::State CellLinkState
Definition
CaloClusterContainerCnv_p2.h:53
CaloClusterContainerCnv_p2::m_cellElementLinkCnv
ElementLinkCnv_p2< ElementLink< CaloCellLinkContainer > > m_cellElementLinkCnv
Definition
CaloClusterContainerCnv_p2.h:73
CaloClusterContainerCnv_p2::m_P4EEtaPhiMCnv
P4EEtaPhiMCnv_p1 m_P4EEtaPhiMCnv
Definition
CaloClusterContainerCnv_p2.h:69
CaloClusterContainerCnv_p2::ShowerLinkState
ElementLinkCnv_p2< ElementLink< CaloShowerContainer > >::State ShowerLinkState
Definition
CaloClusterContainerCnv_p2.h:51
CaloClusterContainerCnv_p2::transToPers
virtual void transToPers(const CaloClusterContainer *trans, CaloClusterContainer_p2 *pers, MsgStream &log) const override
Definition
CaloClusterContainerCnv_p2.cxx:70
CaloClusterContainerCnv_p2::m_samplingDataContainerCnv
CaloSamplingDataContainerCnv_p1 m_samplingDataContainerCnv
Definition
CaloClusterContainerCnv_p2.h:71
CaloClusterContainerCnv_p2::persToTrans
virtual void persToTrans(const CaloClusterContainer_p2 *pers, CaloClusterContainer *trans, MsgStream &log) const override
Definition
CaloClusterContainerCnv_p2.cxx:12
CaloClusterContainerCnv_p2::m_showerElementLinkCnv
ElementLinkCnv_p2< ElementLink< CaloShowerContainer > > m_showerElementLinkCnv
Definition
CaloClusterContainerCnv_p2.h:72
CaloClusterContainerCnv_p2::m_caloTowerSegCnv
CaloTowerSegCnv_p1 m_caloTowerSegCnv
Definition
CaloClusterContainerCnv_p2.h:68
CaloClusterContainerCnv_p2::m_momentContainerCnv
CaloClusterMomentContainerCnv_p1 m_momentContainerCnv
Definition
CaloClusterContainerCnv_p2.h:70
CaloClusterContainer_p2
Definition
CaloClusterContainer_p2.h:20
CaloClusterContainer
Storable container for CaloCluster.
Definition
Calorimeter/CaloEvent/CaloEvent/CaloClusterContainer.h:37
CaloClusterMomentContainerCnv_p1
Definition
CaloClusterMomentContainerCnv_p1.h:17
CaloCluster
Principal data class for CaloCell clusters.
Definition
Calorimeter/CaloEvent/CaloEvent/CaloCluster.h:79
CaloSamplingDataContainerCnv_p1
Definition
CaloSamplingDataContainerCnv_p1.h:15
CaloTowerSegCnv_p1
Definition
CaloTowerSegCnv_p1.h:15
ElementLinkCnv_p2
Definition
ElementLinkCnv_p2.h:55
P4EEtaPhiMCnv_p1
Definition
P4EEtaPhiMCnv_p1.h:35
TPConverterConstBase::transToPers
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
CaloClusterContainer_p2::CaloCluster_p
Definition
CaloClusterContainer_p2.h:27
Generated on
for ATLAS Offline Software by
1.17.0