ATLAS Offline Software
ByteStreamMetadataCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
13 
15 {
16  *trans = ByteStreamMetadata (pers->m_runNumber,
17  pers->m_numEvents,
18  pers->m_maxEvents,
19  pers->m_recEnable,
20  pers->m_triggerType,
21  pers->m_detectorMask,
22  pers->m_detectorMask2,
23  pers->m_beamType,
24  pers->m_beamEnergy,
25  pers->m_guid,
26  pers->m_stream,
27  pers->m_project,
28  pers->m_lumiBlock,
29  pers->m_freeMetaDataStrings);
30 }
31 
33  pers->m_runNumber = trans->getRunNumber();
34  pers->m_numEvents = trans->getNumEvents();
35  pers->m_maxEvents = trans->getMaxEvents();
36  pers->m_recEnable = trans->getRecEnable();
37  pers->m_triggerType = trans->getTriggerType();
38  pers->m_detectorMask = trans->getDetectorMask();
39  pers->m_detectorMask2 = trans->getDetectorMask2();
40  pers->m_beamType = trans->getBeamType();
41  pers->m_beamEnergy = trans->getBeamEnergy();
42  pers->m_guid = trans->getGuid();
43  pers->m_stream = trans->getStream();
44  pers->m_project = trans->getProject();
45  pers->m_lumiBlock = trans->getLumiBlock();
47 }
ByteStreamMetadata::getDetectorMask
uint64_t getDetectorMask() const
Definition: ByteStreamMetadata.cxx:156
ByteStreamMetadataCnv_p1.h
This file contains the class definition for the ByteStreamMetadataCnv_p1 class.
ByteStreamMetadata_p1::m_detectorMask
uint64_t m_detectorMask
Definition: ByteStreamMetadata_p1.h:42
ByteStreamMetadataContainer.h
This file contains the class definition for the ByteStreamMetadataContainer class.
ByteStreamMetadata::getBeamEnergy
unsigned int getBeamEnergy() const
Definition: ByteStreamMetadata.cxx:168
ByteStreamMetadata_p1::m_lumiBlock
unsigned int m_lumiBlock
Definition: ByteStreamMetadata_p1.h:49
ByteStreamMetadata::getFreeMetaDataStrings
const std::vector< std::string > & getFreeMetaDataStrings() const
Definition: ByteStreamMetadata.cxx:188
ByteStreamMetadata
This class is the StoreGate data object for bytestream metadata.
Definition: ByteStreamMetadata.h:25
ByteStreamMetadata::getMaxEvents
unsigned int getMaxEvents() const
Definition: ByteStreamMetadata.cxx:144
ByteStreamMetadata::getStream
const std::string & getStream() const
Definition: ByteStreamMetadata.cxx:176
ByteStreamMetadata_p1::m_freeMetaDataStrings
std::vector< std::string > m_freeMetaDataStrings
Definition: ByteStreamMetadata_p1.h:50
ByteStreamMetadata_p1::m_recEnable
unsigned int m_recEnable
Definition: ByteStreamMetadata_p1.h:40
ByteStreamMetadata_p1::m_triggerType
unsigned int m_triggerType
Definition: ByteStreamMetadata_p1.h:41
ByteStreamMetadata::getBeamType
unsigned int getBeamType() const
Definition: ByteStreamMetadata.cxx:164
ByteStreamMetadataCnv_p1::transToPers
virtual void transToPers(const ByteStreamMetadata *transObj, ByteStreamMetadata_p1 *persObj, MsgStream &log)
Definition: ByteStreamMetadataCnv_p1.cxx:32
ByteStreamMetadata::getProject
const std::string & getProject() const
Definition: ByteStreamMetadata.cxx:180
ByteStreamMetadata::getLumiBlock
unsigned int getLumiBlock() const
Definition: ByteStreamMetadata.cxx:184
ByteStreamMetadata::getDetectorMask2
uint64_t getDetectorMask2() const
Definition: ByteStreamMetadata.cxx:160
ByteStreamMetadata_p1::m_beamType
unsigned int m_beamType
Definition: ByteStreamMetadata_p1.h:44
ByteStreamMetadata_p1::m_maxEvents
unsigned int m_maxEvents
Definition: ByteStreamMetadata_p1.h:39
ByteStreamMetadata_p1::m_stream
std::string m_stream
Definition: ByteStreamMetadata_p1.h:47
ByteStreamMetadata::getRecEnable
unsigned int getRecEnable() const
Definition: ByteStreamMetadata.cxx:148
ByteStreamMetadata_p1::m_runNumber
unsigned int m_runNumber
Definition: ByteStreamMetadata_p1.h:37
ByteStreamMetadataCnv_p1::persToTrans
virtual void persToTrans(const ByteStreamMetadata_p1 *persObj, ByteStreamMetadata *transObj, MsgStream &log)
Definition: ByteStreamMetadataCnv_p1.cxx:14
ByteStreamMetadata::getNumEvents
unsigned int getNumEvents() const
Definition: ByteStreamMetadata.cxx:140
ByteStreamMetadata::getGuid
const std::string & getGuid() const
Definition: ByteStreamMetadata.cxx:172
ByteStreamMetadata::getRunNumber
unsigned int getRunNumber() const
Definition: ByteStreamMetadata.cxx:136
ByteStreamMetadata_p1::m_project
std::string m_project
Definition: ByteStreamMetadata_p1.h:48
ByteStreamMetadata_p1::m_numEvents
unsigned int m_numEvents
Definition: ByteStreamMetadata_p1.h:38
ByteStreamMetadata_p1::m_beamEnergy
unsigned int m_beamEnergy
Definition: ByteStreamMetadata_p1.h:45
ByteStreamMetadata::getTriggerType
unsigned int getTriggerType() const
Definition: ByteStreamMetadata.cxx:152
ByteStreamMetadata_p1::m_detectorMask2
uint64_t m_detectorMask2
Definition: ByteStreamMetadata_p1.h:43
ByteStreamMetadata_p1
This class is the persistent representation of ByteStreamMetadata.
Definition: ByteStreamMetadata_p1.h:21
ByteStreamMetadata_p1::m_guid
std::string m_guid
Definition: ByteStreamMetadata_p1.h:46