ATLAS Offline Software
EventStreamInfo_p1.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_P1_H
6 #define EVENTTPCNV_EVENTSTREAMINFO_P1_H
7 
15 
16 #include <string>
17 #include <set>
18 
23 public: // Constructor and Destructor
29  virtual ~EventStreamInfo_p1();
30 
31 public: // Non-static members
34 
35 friend class EventStreamInfoCnv_p1;
36 
37 public:
38  unsigned int m_numberOfEvents; // Number of Events
39  std::set<unsigned int> m_runNumbers; // Run#
40  std::set<unsigned int> m_lumiBlockNumbers; // LumiBlock#
41  std::set<std::string> m_processingTags; // ProcessingTags
42  std::set<std::pair<unsigned int, std::string> > m_itemList; // ItemList
43  std::set<EventType_p1> m_eventTypes; // EventTypes
44 };
45 
46 inline EventStreamInfo_p1::EventStreamInfo_p1() : m_numberOfEvents(0),
47  m_runNumbers(),
48  m_lumiBlockNumbers(),
49  m_processingTags(),
50  m_itemList(),
51  m_eventTypes() {}
52 inline EventStreamInfo_p1::EventStreamInfo_p1(const EventStreamInfo_p1& rhs) : m_numberOfEvents(rhs.m_numberOfEvents),
53  m_runNumbers(rhs.m_runNumbers),
54  m_lumiBlockNumbers(rhs.m_lumiBlockNumbers),
55  m_processingTags(rhs.m_processingTags),
56  m_itemList(rhs.m_itemList),
57  m_eventTypes(rhs.m_eventTypes) {}
59 
61  if (this != &rhs) {
66  m_itemList = rhs.m_itemList;
68  }
69  return *this;
70 }
71 
72 #endif
EventStreamInfo_p1::m_eventTypes
std::set< EventType_p1 > m_eventTypes
Definition: EventStreamInfo_p1.h:43
EventType_p1.h
EventStreamInfo_p1::m_processingTags
std::set< std::string > m_processingTags
Definition: EventStreamInfo_p1.h:41
EventStreamInfo_p1
This class is the persistent representation of EventStreamInfo.
Definition: EventStreamInfo_p1.h:22
EventStreamInfo_p1::m_itemList
std::set< std::pair< unsigned int, std::string > > m_itemList
Definition: EventStreamInfo_p1.h:42
EventStreamInfoCnv_p1
This class provides the converter to customize the saving of EventStreamInfo_p1.
Definition: EventStreamInfoCnv_p1.h:23
EventStreamInfo_p1::EventStreamInfo_p1
EventStreamInfo_p1()
Default Constructor.
Definition: EventStreamInfo_p1.h:46
EventStreamInfo_p1::operator=
EventStreamInfo_p1 & operator=(const EventStreamInfo_p1 &rhs)
Overloaded Assignment Operator.
Definition: EventStreamInfo_p1.h:60
EventStreamInfo_p1::m_numberOfEvents
unsigned int m_numberOfEvents
Definition: EventStreamInfo_p1.h:38
EventStreamInfo_p1::m_runNumbers
std::set< unsigned int > m_runNumbers
Definition: EventStreamInfo_p1.h:39
EventStreamInfo_p1::~EventStreamInfo_p1
virtual ~EventStreamInfo_p1()
Destructor.
Definition: EventStreamInfo_p1.h:58
EventStreamInfo_p1::m_lumiBlockNumbers
std::set< unsigned int > m_lumiBlockNumbers
Definition: EventStreamInfo_p1.h:40