ATLAS Offline Software
Reconstruction
RecAthenaPool
src
MissingEtCaloCnv.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
#ifndef RECATHENAPOOL_MISSINGETCALOCNV_H
6
#define RECATHENAPOOL_MISSINGETCALOCNV_H
7
/********************************************************************
8
NAME: MissingEtCaloCnv.h
9
PURPOSE: Header file for class MissingEtCaloCnv
10
********************************************************************/
11
12
#include "
MissingETEvent/MissingEtCalo.h
"
13
14
// AthenaPoolCnvSvc includes
15
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
16
17
// RecTPCnv includes
18
#include "
RecTPCnv/MissingEtCalo_p3.h
"
19
20
// Forward declaration
21
22
// the latest persistent representation type of DataCollection:
23
typedef
MissingEtCalo_p3
MissingEtCalo_PERS
;
24
25
class
MissingEtCaloCnv
:
public
T_AthenaPoolCustomCnv
< MissingEtCalo, MissingEtCalo_PERS > {
26
27
// make the factory for this converter our friend
28
friend
class
CnvFactory
<
MissingEtCaloCnv
>;
29
30
protected
:
31
34
public
:
35
MissingEtCaloCnv
(ISvcLocator* svcloc);
36
protected
:
37
40
virtual
MissingEtCalo_PERS
*
41
createPersistent
(
MissingEtCalo
* transCont );
42
45
virtual
MissingEtCalo
*
createTransient
();
46
47
};
48
49
50
inline
MissingEtCaloCnv::MissingEtCaloCnv
( ISvcLocator* svcLocator ) :
51
T_AthenaPoolCustomCnv
<
MissingEtCalo
,
MissingEtCalo_PERS
>(svcLocator)
52
{}
53
54
#endif //> RECATHENAPOOL_MISSINGETCALOCNV_H
MissingEtCaloCnv::MissingEtCaloCnv
MissingEtCaloCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition:
MissingEtCaloCnv.h:50
MissingEtCalo
Definition:
MissingEtCalo.h:27
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition:
T_AthenaPoolCustomCnv.h:132
MissingEtCalo.h
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
CnvFactory
Abstract factory to create the converter.
Definition:
ToyConverter.h:16
MissingEtCalo_p3
Definition:
MissingEtCalo_p3.h:19
MissingEtCalo_PERS
MissingEtCalo_p3 MissingEtCalo_PERS
Definition:
MissingEtCaloCnv.h:23
MissingEtCaloCnv::createPersistent
virtual MissingEtCalo_PERS * createPersistent(MissingEtCalo *transCont)
Build the persistent representation from the transient one.
Definition:
MissingEtCaloCnv.cxx:22
MissingEtCaloCnv::createTransient
virtual MissingEtCalo * createTransient()
Build the transient representation from a persistent one.
Definition:
MissingEtCaloCnv.cxx:33
MissingEtCalo_p3.h
MissingEtCaloCnv
Definition:
MissingEtCaloCnv.h:25
Generated on Sun Dec 22 2024 21:14:30 for ATLAS Offline Software by
1.8.18