ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
EventShapes
EventShapeAthenaPool
src
EventShapeStoreCnv.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 EVENTSHAPEATHENAPOOL_EVENTSHAPESTORECNV_H
6
#define EVENTSHAPEATHENAPOOL_EVENTSHAPESTORECNV_H
7
8
#include "
EventShapeTPCnv/EventShapeStoreCnv_p1.h
"
9
10
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
11
12
#include "
EventShapeTPCnv/EventShapeStore_p1.h
"
13
14
#include "
EventShapeEvent/EventShapeStore.h
"
15
16
#include <string>
17
#include <vector>
18
19
// the latest persistent representation type of EventShapeStore_p1
20
typedef
EventShapeStore_p1
EventShapeStore_PERS
;
21
typedef
T_AthenaPoolCustomCnv<EventShapeStore, EventShapeStore_PERS>
EventShapeStoreCnvBase
;
22
23
class
EventShapeStoreCnv
:
public
EventShapeStoreCnvBase
24
{
25
friend
class
CnvFactory
<
EventShapeStoreCnv
>;
26
27
protected
:
28
29
public
:
30
EventShapeStoreCnv
(ISvcLocator* svcloc) :
EventShapeStoreCnvBase
(svcloc) {};
31
protected
:
32
virtual
EventShapeStore_PERS
*
createPersistent
(
EventShapeStore
* transObj);
33
virtual
EventShapeStore
*
createTransient
(
const
Token
* token);
34
35
};
36
37
#endif
// EVENTSHAPEATHENAPOOL_EVENTSHAPESTORECNV_H
EventShapeStoreCnvBase
T_AthenaPoolCustomCnv< EventShapeStore, EventShapeStore_PERS > EventShapeStoreCnvBase
Definition
EventShapeStoreCnv.h:21
EventShapeStore_PERS
EventShapeStore_p1 EventShapeStore_PERS
Definition
EventShapeStoreCnv.h:20
EventShapeStoreCnv_p1.h
EventShapeStore.h
EventShapeStore_p1.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
EventShapeStoreCnv::EventShapeStoreCnv
EventShapeStoreCnv(ISvcLocator *svcloc)
Definition
EventShapeStoreCnv.h:30
EventShapeStoreCnv::createPersistent
virtual EventShapeStore_PERS * createPersistent(EventShapeStore *transObj)
Definition
EventShapeStoreCnv.cxx:10
EventShapeStoreCnv::createTransient
virtual EventShapeStore * createTransient(const Token *token)
Definition
EventShapeStoreCnv.cxx:20
EventShapeStore_p1
Definition
EventShapeStore_p1.h:11
EventShapeStore
Definition
EventShapeStore.h:15
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