ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
(
const
Token
* token);
46
47
};
48
49
50
inline
MissingEtCaloCnv::MissingEtCaloCnv
( ISvcLocator* svcLocator ) :
51
T_AthenaPoolCustomCnv
<
MissingEtCalo
,
MissingEtCalo_PERS
>(svcLocator)
52
{}
53
54
#endif
//> RECATHENAPOOL_MISSINGETCALOCNV_H
MissingEtCalo_PERS
MissingEtCalo_p3 MissingEtCalo_PERS
Definition
MissingEtCaloCnv.h:23
MissingEtCalo.h
MissingEtCalo_p3.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
MissingEtCaloCnv::createTransient
virtual MissingEtCalo * createTransient(const Token *token)
Build the transient representation from a persistent one.
Definition
MissingEtCaloCnv.cxx:33
MissingEtCaloCnv::createPersistent
virtual MissingEtCalo_PERS * createPersistent(MissingEtCalo *transCont)
Build the persistent representation from the transient one.
Definition
MissingEtCaloCnv.cxx:22
MissingEtCaloCnv::MissingEtCaloCnv
MissingEtCaloCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition
MissingEtCaloCnv.h:50
MissingEtCalo_p3
Definition
MissingEtCalo_p3.h:19
MissingEtCalo
Definition
MissingEtCalo.h:27
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition
T_AthenaPoolCustomCnv.h:129
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition
Token.h:22
Generated on
for ATLAS Offline Software by
1.17.0