ATLAS Offline Software
ByteStreamMetadata_p1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef BYTESTREAMEVENTTPCNV_BYTESTREAMMETADATA_P1_H
6 #define BYTESTREAMEVENTTPCNV_BYTESTREAMMETADATA_P1_H
7 
14 #include <string>
15 #include <vector>
16 #include <stdint.h>
17 
22 public: // Constructor and Destructor
28  virtual ~ByteStreamMetadata_p1();
29 
30 public: // Non-static members
33 
35 friend class PoolFilePeeker;
36 
37  unsigned int m_runNumber;
38  unsigned int m_numEvents;
39  unsigned int m_maxEvents;
40  unsigned int m_recEnable;
41  unsigned int m_triggerType;
44  unsigned int m_beamType;
45  unsigned int m_beamEnergy;
46  std::string m_guid;
47  std::string m_stream;
48  std::string m_project;
49  unsigned int m_lumiBlock;
50  std::vector<std::string> m_freeMetaDataStrings;
51 };
52 
53 class ByteStreamMetadataContainer_p1 : public std::vector<ByteStreamMetadata_p1> {
54 };
55 
57  m_numEvents(0),
58  m_maxEvents(0),
59  m_recEnable(0),
60  m_triggerType(0),
61  m_detectorMask(0L),
62  m_detectorMask2(0L),
63  m_beamType(0),
64  m_beamEnergy(0),
65  m_guid(),
66  m_stream(),
67  m_project(),
68  m_lumiBlock(0),
69  m_freeMetaDataStrings() {}
70 inline ByteStreamMetadata_p1::ByteStreamMetadata_p1(const ByteStreamMetadata_p1& rhs) : m_runNumber(rhs.m_runNumber),
71  m_numEvents(rhs.m_numEvents),
72  m_maxEvents(rhs.m_maxEvents),
73  m_recEnable(rhs.m_recEnable),
74  m_triggerType(rhs.m_triggerType),
75  m_detectorMask(rhs.m_detectorMask),
76  m_detectorMask2(rhs.m_detectorMask2),
77  m_beamType(rhs.m_beamType),
78  m_beamEnergy(rhs.m_beamEnergy),
79  m_guid(rhs.m_guid),
80  m_stream(rhs.m_stream),
81  m_project(rhs.m_project),
82  m_lumiBlock(rhs.m_lumiBlock),
83  m_freeMetaDataStrings(rhs.m_freeMetaDataStrings) {}
85 
87  if (this != &rhs) {
95  m_beamType = rhs.m_beamType;
97  m_guid = rhs.m_guid;
98  m_stream = rhs.m_stream;
99  m_project = rhs.m_project;
100  m_lumiBlock = rhs.m_lumiBlock;
102  }
103  return *this;
104 }
105 
106 #endif
ByteStreamMetadataContainer_p1
Definition: ByteStreamMetadata_p1.h:53
ByteStreamMetadata_p1::m_detectorMask
uint64_t m_detectorMask
Definition: ByteStreamMetadata_p1.h:42
ByteStreamMetadata_p1::ByteStreamMetadata_p1
ByteStreamMetadata_p1()
Default Constructor.
Definition: ByteStreamMetadata_p1.h:56
PoolFilePeeker
Definition: PoolFilePeeker.cxx:29
ByteStreamMetadata_p1::m_lumiBlock
unsigned int m_lumiBlock
Definition: ByteStreamMetadata_p1.h:49
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
ByteStreamMetadataCnv_p1
This class provides the converter to customize the saving of ByteStreamMetadata_p1.
Definition: ByteStreamMetadataCnv_p1.h:23
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_p1::m_runNumber
unsigned int m_runNumber
Definition: ByteStreamMetadata_p1.h:37
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
ByteStreamMetadata_p1::~ByteStreamMetadata_p1
virtual ~ByteStreamMetadata_p1()
Destructor.
Definition: ByteStreamMetadata_p1.h:84
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_p1::m_detectorMask2
uint64_t m_detectorMask2
Definition: ByteStreamMetadata_p1.h:43
ByteStreamMetadata_p1::operator=
ByteStreamMetadata_p1 & operator=(const ByteStreamMetadata_p1 &rhs)
Overloaded Assignment Operator.
Definition: ByteStreamMetadata_p1.h:86
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