ATLAS Offline Software
TestBeam
TBEventAthenaPool
src
TBHitContCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TBHitContCnv_H
6
#define TBHitContCnv_H
7
8
#include "
AthenaPoolCnvSvc/T_AthenaPoolCnv.h
"
9
#include "
TBEvent/TBHitCont.h
"
10
11
typedef
T_AthenaPoolCnv<TBHitCont>
TBHitContCnvBase
;
12
13
class
TBHitContCnv
:
public
TBHitContCnvBase
14
{
15
friend
class
CnvFactory
<
TBHitContCnv
>;
16
public
:
17
TBHitContCnv
(ISvcLocator* svcloc);
18
virtual
~TBHitContCnv
();
19
21
virtual
StatusCode
initialize
()
override
;
22
24
virtual
StatusCode
PoolToDataObject
(DataObject*& pObj,
25
const
Token
* token,
26
const
std::string&
key
)
override
;
27
};
28
29
#endif
30
31
T_AthenaPoolCnv
This templated class provides the converter to translate an object to/from its persistent POOL repres...
Definition:
T_AthenaPoolCnv.h:61
TBHitContCnv::~TBHitContCnv
virtual ~TBHitContCnv()
Definition:
TBHitContCnv.cxx:22
TBHitContCnv::PoolToDataObject
virtual StatusCode PoolToDataObject(DataObject *&pObj, const Token *token, const std::string &key) override
Extend base-class conversion method to modify when reading in.
Definition:
TBHitContCnv.cxx:38
TBHitContCnv::initialize
virtual StatusCode initialize() override
initialization
Definition:
TBHitContCnv.cxx:25
TBHitContCnvBase
T_AthenaPoolCnv< TBHitCont > TBHitContCnvBase
Definition:
TBHitContCnv.h:11
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition:
Token.h:21
TBHitContCnv::TBHitContCnv
TBHitContCnv(ISvcLocator *svcloc)
Definition:
TBHitContCnv.cxx:15
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TBHitContCnv
Definition:
TBHitContCnv.h:14
CnvFactory
Abstract factory to create the converter.
Definition:
ToyConverter.h:16
T_AthenaPoolCnv.h
his file contains the class definition for the templated T_AthenaPoolCnv class.
TBHitCont.h
mapkey::key
key
Definition:
TElectronEfficiencyCorrectionTool.cxx:37
Generated on Thu Nov 7 2024 21:27:13 for ATLAS Offline Software by
1.8.18