ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecAthenaPool
src
MissingEtTruthCnv.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_MISSINGETTRUTHCNV_H
6
#define RECATHENAPOOL_MISSINGETTRUTHCNV_H
7
/********************************************************************
8
NAME: MissingEtTruthCnv.h
9
PACKAGE: offline/Reconstruction/RecAthenaPool
10
PURPOSE: Header file for class MissingEtTruthCnv
11
********************************************************************/
12
13
#include "
MissingETEvent/MissingEtTruth.h
"
14
15
// AthenaPoolCnvSvc includes
16
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
17
18
// RecTPCnv includes
19
// #include "RecTPCnv/MissingEtTruth_p1.h"// not needed here
20
// #include "RecTPCnv/MissingEtTruth_p2.h" // not needed here
21
#include "
RecTPCnv/MissingEtTruth_p3.h
"
22
23
24
// the latest persistent representation type of DataCollection:
25
typedef
MissingEtTruth_p3
MissingEtTruth_PERS
;
26
27
class
MissingEtTruthCnv
:
public
T_AthenaPoolCustomCnv
<
28
MissingEtTruth,
29
MissingEtTruth_PERS
30
>
31
32
{
33
34
// make the factory for this converter our friend
35
friend
class
CnvFactory
<
MissingEtTruthCnv
>;
36
38
// Protected methods:
40
protected
:
41
44
public
:
45
MissingEtTruthCnv
(ISvcLocator* svcloc);
46
protected
:
47
50
virtual
MissingEtTruth_PERS
*
51
createPersistent
(
MissingEtTruth
* transCont );
52
55
virtual
MissingEtTruth
*
createTransient
(
const
Token
* token);
56
57
};
58
62
63
inline
MissingEtTruthCnv::MissingEtTruthCnv
( ISvcLocator* svcLocator ) :
64
T_AthenaPoolCustomCnv
<
MissingEtTruth
,
MissingEtTruth_PERS
>(svcLocator)
65
{}
66
67
#endif
//> RECATHENAPOOL_MISSINGETTRUTHCNV_H
MissingEtTruth_PERS
MissingEtTruth_p3 MissingEtTruth_PERS
Definition
MissingEtTruthCnv.h:25
MissingEtTruth.h
MissingEtTruth_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
MissingEtTruthCnv::createPersistent
virtual MissingEtTruth_PERS * createPersistent(MissingEtTruth *transCont)
Build the persistent representation from the transient one.
Definition
MissingEtTruthCnv.cxx:24
MissingEtTruthCnv::createTransient
virtual MissingEtTruth * createTransient(const Token *token)
Build the transient representation from a persistent one.
Definition
MissingEtTruthCnv.cxx:35
MissingEtTruthCnv::MissingEtTruthCnv
MissingEtTruthCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition
MissingEtTruthCnv.h:63
MissingEtTruth_p3
Definition
MissingEtTruth_p3.h:19
MissingEtTruth
Definition
MissingEtTruth.h:28
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