ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecAthenaPool
src
MuonCaloEnergiesCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// removal candidate - together will all MuonCaloEnergies* things.
6
7
#ifndef RECATHENAPOOL_MUONCALOENERGIES_CNV_H
8
#define RECATHENAPOOL_MUONCALOENERGIES_CNV_H
9
10
11
#include "
AthenaPoolCnvSvc/T_AthenaPoolExtendingCnv.h
"
12
13
#include "
RecTPCnv/MuonCaloEnergyContainerCnv_tlp1.h
"
14
15
#include "
MuonCaloEnergies.h
"
16
17
18
//-----------------------------------------------------------------------------
19
// Base class definition
20
//-----------------------------------------------------------------------------
21
typedef
MuonCaloEnergyContainer_tlp1
MuonCaloEnergies_PERS
;
22
23
typedef
T_AthenaPoolExtendingCnv<TPCnv::MuonCaloEnergies, MuonCaloEnergies_PERS>
MuonCaloEnergiesCnvBase
;
24
25
//-----------------------------------------------------------------------------
26
// Converter for TrackCollection object
27
//-----------------------------------------------------------------------------
28
class
MuonCaloEnergiesCnv
:
public
MuonCaloEnergiesCnvBase
29
{
30
friend
class
CnvFactory
<
MuonCaloEnergiesCnv
>;
31
32
protected
:
33
public
:
34
MuonCaloEnergiesCnv
( ISvcLocator *svcloc );
35
protected
:
36
37
virtual
StatusCode
initialize
();
38
39
virtual
TopLevelTPCnvBase
*
getTopLevelTPCnv
() {
return
&
m_TPConverter
; }
40
41
virtual
void
readObjectFromPool
(
const
Token
* );
42
43
virtual
AthenaPoolCnvTPExtension
*
clone
() {
return
new
MuonCaloEnergiesCnv
(0); }
44
45
private
:
46
MuonCaloEnergyContainerCnv_tlp1
m_TPConverter
;
47
};
48
49
#endif
50
51
MuonCaloEnergies_PERS
MuonCaloEnergyContainer_tlp1 MuonCaloEnergies_PERS
Definition
MuonCaloEnergiesCnv.h:21
MuonCaloEnergiesCnvBase
T_AthenaPoolExtendingCnv< TPCnv::MuonCaloEnergies, MuonCaloEnergies_PERS > MuonCaloEnergiesCnvBase
Definition
MuonCaloEnergiesCnv.h:23
MuonCaloEnergies.h
MuonCaloEnergyContainerCnv_tlp1.h
T_AthenaPoolExtendingCnv.h
his file contains the class definition for the templated T_AthenaPoolExtendingCnv class.
AthenaPoolCnvTPExtension::AthenaPoolCnvTPExtension
AthenaPoolCnvTPExtension()
Definition
AthenaPoolCnvTPExtension.h:17
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
MuonCaloEnergiesCnv::MuonCaloEnergiesCnv
MuonCaloEnergiesCnv(ISvcLocator *svcloc)
Definition
MuonCaloEnergiesCnv.cxx:13
MuonCaloEnergiesCnv::clone
virtual AthenaPoolCnvTPExtension * clone()
Clone this Athena Converter.
Definition
MuonCaloEnergiesCnv.h:43
MuonCaloEnergiesCnv::readObjectFromPool
virtual void readObjectFromPool(const Token *)
Read the persistent object from POOL.
Definition
MuonCaloEnergiesCnv.cxx:31
MuonCaloEnergiesCnv::m_TPConverter
MuonCaloEnergyContainerCnv_tlp1 m_TPConverter
Definition
MuonCaloEnergiesCnv.h:46
MuonCaloEnergiesCnv::initialize
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
Definition
MuonCaloEnergiesCnv.cxx:19
MuonCaloEnergiesCnv::getTopLevelTPCnv
virtual TopLevelTPCnvBase * getTopLevelTPCnv()
Return the top level TP converter (which is always used for writing).
Definition
MuonCaloEnergiesCnv.h:39
MuonCaloEnergyContainerCnv_tlp1
Definition
MuonCaloEnergyContainerCnv_tlp1.h:23
MuonCaloEnergyContainer_tlp1
Definition
MuonCaloEnergyContainer_tlp1.h:20
T_AthenaPoolExtendingCnv< TPCnv::MuonCaloEnergies, MuonCaloEnergies_PERS >::T_AthenaPoolExtendingCnv
T_AthenaPoolExtendingCnv(ISvcLocator *svcloc)
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition
Token.h:22
TopLevelTPCnvBase
Base class for top-level TP converters.
Definition
TopLevelTPCnvBase.h:32
Generated on
for ATLAS Offline Software by
1.17.0