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