ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigEvent
TrigEventAthenaPool
src
TrigVertexCollectionCnv.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 : TrigVertexCollectionCnv
9
*
10
* @brief transient persistent converter for TrigVertexCollection
11
*
12
* @author Andrew Hamilton <Andrew.Hamilton@cern.ch> - U. Geneva
13
* @author Francesca Bucci <F.Bucci@cern.ch> - U. Geneva
14
*
15
* File and Version Information:
16
* $Id: TrigVertexCollectionCnv.h,v 1.2 2009-02-23 18:59:20 ssnyder Exp $
17
**********************************************************************************/
18
#ifndef TRIGEVENTATHENAPOOL_TRIGVERTEXCOLLECTION_CNV_H
19
#define TRIGEVENTATHENAPOOL_TRIGVERTEXCOLLECTION_CNV_H
20
21
22
class
MsgStream;
23
24
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
25
#include "
TrigInDetEvent/TrigVertexCollection.h
"
26
class
TrigVertexCollection_tlp2
;
27
class
TrigVertexCollectionCnv_tlp2
;
28
29
//-----------------------------------------------------------------------------
30
// typedefs
31
//-----------------------------------------------------------------------------
32
typedef
TrigVertexCollection_tlp2
TrigVertexCollection_PERS
;
33
34
typedef
T_AthenaPoolCustomCnv<TrigVertexCollection, TrigVertexCollection_PERS>
TrigVertexCollectionCnvBase
;
35
36
class
MsgStream;
37
38
//-----------------------------------------------------------------------------
39
// Converter for TrigVertexCollection object
40
//-----------------------------------------------------------------------------
41
42
class
TrigVertexCollectionCnv
:
public
TrigVertexCollectionCnvBase
43
{
44
45
friend
class
CnvFactory
<
TrigVertexCollectionCnv
>;
46
47
public
:
48
TrigVertexCollectionCnv
( ISvcLocator *svcloc );
49
~TrigVertexCollectionCnv
();
50
51
protected
:
52
virtual
TrigVertexCollection_PERS
*
createPersistent
(
TrigVertexCollection
*transObj);
53
virtual
TrigVertexCollection
*
createTransient
(
const
Token
* token);
54
55
private
:
56
57
IMessageSvc *
m_msgSvc
;
58
MsgStream
m_log
;
59
60
TrigVertexCollectionCnv_tlp2
*
m_TPConverter
;
61
62
};
//end of class definitions
63
64
65
#endif
//TRIGVERTEXCOLLECTION_CNV_H
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
TrigVertexCollection_PERS
TrigVertexCollection_tlp2 TrigVertexCollection_PERS
Definition
TrigVertexCollectionCnv.h:32
TrigVertexCollectionCnvBase
T_AthenaPoolCustomCnv< TrigVertexCollection, TrigVertexCollection_PERS > TrigVertexCollectionCnvBase
Definition
TrigVertexCollectionCnv.h:34
TrigVertexCollection.h
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
TrigVertexCollectionCnv_tlp2
Definition
TrigVertexCollectionCnv_tlp2.h:26
TrigVertexCollectionCnv::createPersistent
virtual TrigVertexCollection_PERS * createPersistent(TrigVertexCollection *transObj)
Definition
TrigVertexCollectionCnv.cxx:25
TrigVertexCollectionCnv::~TrigVertexCollectionCnv
~TrigVertexCollectionCnv()
Definition
TrigVertexCollectionCnv.cxx:19
TrigVertexCollectionCnv::m_log
MsgStream m_log
Definition
TrigVertexCollectionCnv.h:58
TrigVertexCollectionCnv::m_TPConverter
TrigVertexCollectionCnv_tlp2 * m_TPConverter
Definition
TrigVertexCollectionCnv.h:60
TrigVertexCollectionCnv::m_msgSvc
IMessageSvc * m_msgSvc
Definition
TrigVertexCollectionCnv.h:57
TrigVertexCollectionCnv::TrigVertexCollectionCnv
TrigVertexCollectionCnv(ISvcLocator *svcloc)
Definition
TrigVertexCollectionCnv.cxx:12
TrigVertexCollectionCnv::createTransient
virtual TrigVertexCollection * createTransient(const Token *token)
Definition
TrigVertexCollectionCnv.cxx:39
TrigVertexCollection_tlp2
Definition
TrigVertexCollection_tlp2.h:23
TrigVertexCollection
Definition
TrigVertexCollection.h:13
Generated on
for ATLAS Offline Software by
1.17.0