ATLAS Offline Software
EventStreamInfo_p3.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef EVENTTPCNV_EVENTSTREAMINFO_P3_H
6 #define EVENTTPCNV_EVENTSTREAMINFO_P3_H
7 
15 
16 #include <string>
17 #include <vector>
18 
23 public: // Constructor and Destructor
29  virtual ~EventStreamInfo_p3();
30 
31 public: // Non-static members
34 
35 friend class EventStreamInfoCnv_p3;
36 friend class PoolFilePeeker;
37 
38 
39 public:
40  unsigned int m_numberOfEvents; // Number of Events
41  std::vector<unsigned int> m_runNumbers; // Run#
42  std::vector<unsigned int> m_lumiBlockNumbers; // LumiBlock#
43  std::vector<std::string> m_processingTags; // ProcessingTags
44  std::vector<std::pair<unsigned int, std::string> > m_itemList; // ItemList
45  std::vector<EventType_p3> m_eventTypes; // EventTypes
46 };
47 
48 inline EventStreamInfo_p3::EventStreamInfo_p3() : m_numberOfEvents(0),
49  m_runNumbers(),
50  m_lumiBlockNumbers(),
51  m_processingTags(),
52  m_itemList(),
53  m_eventTypes() {}
54 inline EventStreamInfo_p3::EventStreamInfo_p3(const EventStreamInfo_p3& rhs) : m_numberOfEvents(rhs.m_numberOfEvents),
55  m_runNumbers(rhs.m_runNumbers),
56  m_lumiBlockNumbers(rhs.m_lumiBlockNumbers),
57  m_processingTags(rhs.m_processingTags),
58  m_itemList(rhs.m_itemList),
59  m_eventTypes(rhs.m_eventTypes) {}
61 
63  if (this != &rhs) {
68  m_itemList = rhs.m_itemList;
70  }
71  return *this;
72 }
73 
74 #endif
EventStreamInfo_p3::m_itemList
std::vector< std::pair< unsigned int, std::string > > m_itemList
Definition: EventStreamInfo_p3.h:44
EventStreamInfo_p3::m_lumiBlockNumbers
std::vector< unsigned int > m_lumiBlockNumbers
Definition: EventStreamInfo_p3.h:42
PoolFilePeeker
Definition: PoolFilePeeker.cxx:29
EventStreamInfo_p3
This class is the persistent representation of EventStreamInfo.
Definition: EventStreamInfo_p3.h:22
EventStreamInfoCnv_p3
This class provides the converter to customize the saving of EventStreamInfo_p3.
Definition: EventStreamInfoCnv_p3.h:23
EventStreamInfo_p3::operator=
EventStreamInfo_p3 & operator=(const EventStreamInfo_p3 &rhs)
Overloaded Assignment Operator.
Definition: EventStreamInfo_p3.h:62
EventStreamInfo_p3::EventStreamInfo_p3
EventStreamInfo_p3()
Default Constructor.
Definition: EventStreamInfo_p3.h:48
EventStreamInfo_p3::m_eventTypes
std::vector< EventType_p3 > m_eventTypes
Definition: EventStreamInfo_p3.h:45
EventType_p3.h
EventStreamInfo_p3::m_runNumbers
std::vector< unsigned int > m_runNumbers
Definition: EventStreamInfo_p3.h:41
EventStreamInfo_p3::~EventStreamInfo_p3
virtual ~EventStreamInfo_p3()
Destructor.
Definition: EventStreamInfo_p3.h:60
EventStreamInfo_p3::m_processingTags
std::vector< std::string > m_processingTags
Definition: EventStreamInfo_p3.h:43
EventStreamInfo_p3::m_numberOfEvents
unsigned int m_numberOfEvents
Definition: EventStreamInfo_p3.h:40