ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaExamples
AthExThinning
src
AthExDecayCnv.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// AthExDecayCnv.h
8
// Header file for class AthExDecayCnv
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef ATHEXTHINNING_AthExDECAYCNV_H
12
#define ATHEXTHINNING_AthExDECAYCNV_H
13
14
// STL includes
15
16
17
// AthenaPoolCnvSvc includes
18
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
19
20
// AthExThinning includes
21
#include "
AthExThinning/AthExDecay.h
"
22
#include "
AthExThinning/AthExDecay_p1.h
"
23
24
// Forward declaration
25
26
// the latest persistent representation type of DataCollection:
27
typedef
AthExDecay_p1
AthExDecay_PERS
;
28
29
class
AthExDecayCnv
:
public
T_AthenaPoolCustomCnv
<
30
AthExDecay,
31
AthExDecay_PERS
32
>
33
34
{
35
36
// make the factory for this converter our friend
37
friend
class
CnvFactory
<
AthExDecayCnv
>;
38
40
// Protected methods:
42
protected
:
43
46
public
:
47
AthExDecayCnv
(ISvcLocator* svcloc);
48
protected
:
49
52
virtual
AthExDecay_PERS
*
53
createPersistent
(
AthExDecay
* transCont );
54
57
virtual
AthExDecay
*
createTransient
(
const
Token
* token);
58
60
// Protected data:
62
protected
:
63
};
64
68
69
#endif
//> ATHEXTHINNING_AthExDECAYCNV_H
70
AthExDecay_PERS
AthExDecay_p1 AthExDecay_PERS
Definition
AthExDecayCnv.h:27
AthExDecay.h
AthExDecay_p1.h
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
AthExDecayCnv::createPersistent
virtual AthExDecay_PERS * createPersistent(AthExDecay *transCont)
Build the persistent representation from the transient one.
Definition
AthExDecayCnv.cxx:48
AthExDecayCnv::createTransient
virtual AthExDecay * createTransient(const Token *token)
Build the transient representation from a persistent one.
Definition
AthExDecayCnv.cxx:59
AthExDecayCnv::AthExDecayCnv
AthExDecayCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition
AthExDecayCnv.cxx:36
AthExDecay_p1
Definition
AthExDecay_p1.h:24
AthExDecay
Definition
AthExDecay.h:28
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
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