ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigEvent
TrigSteeringEventAthenaPool
src
Lvl1ResultCnv.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
/**********************************************************************************
6
* @Project: Trigger
7
* @Package: TrigEventAthenaPool
8
* @class : Lvl1ResultCnv
9
*
10
* @brief The converter for TrigEventAthenaPool/Lvl1Result_pX. It calls the
11
* converters for specific persistent data formats (for now only Lvl1Result_p1).
12
*
13
* @author Andrew Hamilton <Andrew.Hamilton@cern.ch> - U. of Geneva, Switzerland
14
* @author Francesca Bucci <f.bucci@cern.ch> - U. of Geneva, Switzerland
15
*
16
* File and Version Information:
17
* $Id: Lvl1ResultCnv.h 782328 2016-11-04 10:56:17Z krasznaa $
18
**********************************************************************************/
19
20
#ifndef TrigEventAthenaPool_Lvl1ResultCnv_H
21
#define TrigEventAthenaPool_Lvl1ResultCnv_H
22
23
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
24
#include "
TrigSteeringEvent/Lvl1Result.h
"
25
namespace
LVL1CTP
{
26
class
Lvl1Result_p2
;
27
}
28
29
// the latest persistent representation type of Lvl1Result:
30
typedef
LVL1CTP::Lvl1Result_p2
Lvl1Result_PERS
;
31
32
typedef
T_AthenaPoolCustomCnv<LVL1CTP::Lvl1Result, Lvl1Result_PERS >
Lvl1ResultCnvBase
;
33
34
class
MsgStream;
35
36
struct
Lvl1ResultCnv_impl
;
37
class
Lvl1ResultCnv
:
public
Lvl1ResultCnvBase
{
38
39
friend
class
CnvFactory
<
Lvl1ResultCnv
>;
40
41
public
:
42
Lvl1ResultCnv
(ISvcLocator* svcloc);
43
~Lvl1ResultCnv
();
44
45
protected
:
46
47
virtual
Lvl1Result_PERS
*
createPersistent
(
LVL1CTP::Lvl1Result
* transCont);
48
49
virtual
LVL1CTP::Lvl1Result
*
createTransient
(
const
Token
* token);
50
51
private
:
52
53
Lvl1ResultCnv_impl
*
m_impl
;
54
55
};
56
57
#endif
Lvl1Result_PERS
LVL1CTP::Lvl1Result_p2 Lvl1Result_PERS
Definition
Lvl1ResultCnv.h:30
Lvl1ResultCnvBase
T_AthenaPoolCustomCnv< LVL1CTP::Lvl1Result, Lvl1Result_PERS > Lvl1ResultCnvBase
Definition
Lvl1ResultCnv.h:32
Lvl1Result.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
LVL1CTP::Lvl1Result_p2
Definition
Lvl1Result_p2.h:33
LVL1CTP::Lvl1Result
Definition
Lvl1Result.h:30
Lvl1ResultCnv::~Lvl1ResultCnv
~Lvl1ResultCnv()
Definition
Lvl1ResultCnv.cxx:25
Lvl1ResultCnv::m_impl
Lvl1ResultCnv_impl * m_impl
Definition
Lvl1ResultCnv.h:53
Lvl1ResultCnv::createTransient
virtual LVL1CTP::Lvl1Result * createTransient(const Token *token)
Definition
Lvl1ResultCnv.cxx:41
Lvl1ResultCnv::createPersistent
virtual Lvl1Result_PERS * createPersistent(LVL1CTP::Lvl1Result *transCont)
Definition
Lvl1ResultCnv.cxx:31
Lvl1ResultCnv::Lvl1ResultCnv
Lvl1ResultCnv(ISvcLocator *svcloc)
Definition
Lvl1ResultCnv.cxx:19
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
LVL1CTP
Definition
Lvl1ResultAccessTool.h:20
Lvl1ResultCnv_impl
Definition
Lvl1ResultCnv.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0