ATLAS Offline Software
Loading...
Searching...
No Matches
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
13
16
17class DataHeader;
18class DataHeader_p6;
20class Token;
21
26public:
28
29 DataHeader* createTransient(const DataHeader_p6* persObj, const DataHeaderForm_p6& form, const Token* dhToken) const;
30 DataHeader_p6* createPersistent(const DataHeader* transObj, DataHeaderForm_p6& form) const;
31
33 void elemToPers(const DataHeaderElement* trans, DataHeader_p6* pers, DataHeaderForm_p6& form) const;
34
37 bool persToElem(const DataHeader_p6* pers, unsigned p_idx, DataHeaderElement* trans,
38 const DataHeaderForm_p6& form,
39 bool sameForm ) const;
40
42 void insertDHRef( DataHeader_p6* pers_dh, const std::string& key, const std::string& dh_tokstr,
43 DataHeaderForm_p6& dh_form ) const;
44
45 void setSGAliasFiltering( bool doFiltering ) { m_SGAliasFiltering = doFiltering; }
46
47 bool m_SGAliasFiltering { true };
48
49private:
51};
52
53#endif
Helper for recycling objects from event to event.
Define macros for attributes used to control the static checker.
Holder for recyclable objects.
void insertDHRef(DataHeader_p6 *pers_dh, const std::string &key, const std::string &dh_tokstr, DataHeaderForm_p6 &dh_form) const
insert DH self reference as one of the DHElements. Contains the stream Key
void elemToPers(const DataHeaderElement *trans, DataHeader_p6 *pers, DataHeaderForm_p6 &form) const
convert single DH element to persistent represenation
DataHeader_p6 * createPersistent(const DataHeader *transObj, DataHeaderForm_p6 &form) const
DataHeader * createTransient(const DataHeader_p6 *persObj, const DataHeaderForm_p6 &form, const Token *dhToken) const
Athena::RecyclableDataQueue< DataHeader > m_dhQueue ATLAS_THREAD_SAFE
bool persToElem(const DataHeader_p6 *pers, unsigned p_idx, DataHeaderElement *trans, const DataHeaderForm_p6 &form, bool sameForm) const
restore single DH element from persistent represenation return false if p_idx is out of bounds for th...
void setSGAliasFiltering(bool doFiltering)
This class provides a persistent form for the TransientAddress.
Definition DataHeader.h:37
This class provides storage for the constant fields of the persistent DataHeader class.
This class provides a persistent representation for the DataHeader class.
This class provides the layout for summary information stored for data written to POOL.
Definition DataHeader.h:123
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition Token.h:21