ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCnv
LArAthenaPool
src
LArTTL1ContainerCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LAREVENTATHENAPOOL_LARTTL1CONTAINERCNV_H
6
#define LAREVENTATHENAPOOL_LARTTL1CONTAINERCNV_H
7
8
// AthenaPoolCnvSvc includes
9
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
10
11
// LArTPCnv includes
12
#include "
LArTPCnv/LArTTL1Container_p1.h
"
13
14
// LArRawEvent includes
15
#include "
LArRawEvent/LArTTL1Container.h
"
16
17
typedef
LArTTL1Container_p1
LArTTL1Container_PERS
;
18
19
class
LArTTL1ContainerCnv
:
public
T_AthenaPoolCustomCnv
<
20
LArTTL1Container,
21
LArTTL1Container_PERS
22
>
23
24
{
25
26
// make the factory for this converter our friend
27
friend
class
CnvFactory
<
LArTTL1ContainerCnv
>;
28
29
protected
:
30
33
public
:
34
LArTTL1ContainerCnv
(ISvcLocator* svcloc);
35
protected
:
36
39
virtual
LArTTL1Container_PERS
*
40
createPersistent
(
LArTTL1Container
* transCont );
41
44
virtual
LArTTL1Container
*
createTransient
(
const
Token
* token);
45
46
};
47
48
inline
LArTTL1ContainerCnv::LArTTL1ContainerCnv
( ISvcLocator* svcLocator ) :
49
T_AthenaPoolCustomCnv
<
LArTTL1Container
,
LArTTL1Container_PERS
>(svcLocator,
"LArTTL1ContainerCnv"
)
50
{}
51
52
#endif
//> LAREVENTATHENAPOOL_LARTTL1CONTAINERCNV_H
LArTTL1Container_PERS
LArTTL1Container_p1 LArTTL1Container_PERS
Definition
LArTTL1ContainerCnv.h:17
LArTTL1Container.h
LArTTL1Container_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
LArTTL1ContainerCnv::createPersistent
virtual LArTTL1Container_PERS * createPersistent(LArTTL1Container *transCont)
Build the persistent representation from the transient one.
Definition
LArTTL1ContainerCnv.cxx:12
LArTTL1ContainerCnv::createTransient
virtual LArTTL1Container * createTransient(const Token *token)
Build the transient representation from a persistent one.
Definition
LArTTL1ContainerCnv.cxx:20
LArTTL1ContainerCnv::LArTTL1ContainerCnv
LArTTL1ContainerCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition
LArTTL1ContainerCnv.h:48
LArTTL1Container_p1
Definition
LArTTL1Container_p1.h:12
LArTTL1Container
Container class for LArTTL1.
Definition
LArTTL1Container.h:24
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