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