ATLAS Offline Software
Database
PersistentDataModelTPCnv
PersistentDataModelTPCnv
DataHeaderCnv_p6.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 PERSISTENTDATAMODELTPCNV_DATAHEADERCNV_P6_H
6
#define PERSISTENTDATAMODELTPCNV_DATAHEADERCNV_P6_H
7
14
class
DataHeader
;
15
class
DataHeader_p6
;
16
class
DataHeaderForm_p6
;
17
class
Token
;
18
22
class
DataHeaderCnv_p6
{
23
public
:
24
DataHeaderCnv_p6
() {}
25
26
DataHeader
*
createTransient
(
const
DataHeader_p6
* persObj,
const
DataHeaderForm_p6
& form,
const
Token
* dhToken);
27
DataHeader_p6
*
createPersistent
(
const
DataHeader
* transObj,
DataHeaderForm_p6
& form);
28
30
void
elemToPers
(
const
DataHeaderElement
* trans,
DataHeader_p6
* pers,
DataHeaderForm_p6
& form);
31
34
bool
persToElem
(
const
DataHeader_p6
* pers,
unsigned
p_idx,
DataHeaderElement
* trans,
35
const
DataHeaderForm_p6
& form );
36
38
void
insertDHRef
(
DataHeader_p6
* pers_dh,
const
std::string&
key
,
const
std::string& dh_tokstr,
39
DataHeaderForm_p6
& dh_form );
40
41
void
setSGAliasFiltering
(
bool
doFiltering ) {
m_SGAliasFiltering
= doFiltering; }
42
43
bool
m_SGAliasFiltering
{
true
};
44
};
45
46
#endif
DataHeaderForm_p6
This class provides storage for the constant fields of the persistent DataHeader class.
Definition:
DataHeader_p6.h:27
DataHeaderCnv_p6::createTransient
DataHeader * createTransient(const DataHeader_p6 *persObj, const DataHeaderForm_p6 &form, const Token *dhToken)
Definition:
DataHeaderCnv_p6.cxx:61
DataHeaderCnv_p6::setSGAliasFiltering
void setSGAliasFiltering(bool doFiltering)
Definition:
DataHeaderCnv_p6.h:41
DataHeaderCnv_p6::elemToPers
void elemToPers(const DataHeaderElement *trans, DataHeader_p6 *pers, DataHeaderForm_p6 &form)
convert single DH element to persistent represenation
Definition:
DataHeaderCnv_p6.cxx:97
DataHeaderCnv_p6
This class provides the converter to customize the saving of DataHeader_p6.
Definition:
DataHeaderCnv_p6.h:22
DataHeaderCnv_p6::m_SGAliasFiltering
bool m_SGAliasFiltering
Definition:
DataHeaderCnv_p6.h:43
DataHeaderCnv_p6::persToElem
bool persToElem(const DataHeader_p6 *pers, unsigned p_idx, DataHeaderElement *trans, const DataHeaderForm_p6 &form)
restore single DH element from persistent represenation return false if p_idx is out of bounds for th...
Definition:
DataHeaderCnv_p6.cxx:18
DataHeaderCnv_p6::createPersistent
DataHeader_p6 * createPersistent(const DataHeader *transObj, DataHeaderForm_p6 &form)
Definition:
DataHeaderCnv_p6.cxx:136
DataHeaderCnv_p6::insertDHRef
void insertDHRef(DataHeader_p6 *pers_dh, const std::string &key, const std::string &dh_tokstr, DataHeaderForm_p6 &dh_form)
insert DH self reference as one of the DHElements. Contains the stream Key
Definition:
DataHeaderCnv_p6.cxx:154
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition:
Token.h:21
DataHeaderElement
This class provides a persistent form for the TransientAddress.
Definition:
DataHeader.h:36
DataHeader
This class provides the layout for summary information stored for data written to POOL.
Definition:
DataHeader.h:124
DataHeader_p6
This class provides a persistent representation for the DataHeader class.
Definition:
DataHeader_p6.h:116
DataHeaderCnv_p6::DataHeaderCnv_p6
DataHeaderCnv_p6()
Definition:
DataHeaderCnv_p6.h:24
mapkey::key
key
Definition:
TElectronEfficiencyCorrectionTool.cxx:37
Generated on Thu Nov 7 2024 21:13:09 for ATLAS Offline Software by
1.8.18