ATLAS Offline Software
EventInfoDict.h
Go to the documentation of this file.
1 // dear emacs, this is -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5  */
6 
7 #ifndef EVENTINFO_EVENTINFODICT_H
8 # define EVENTINFO_EVENTINFODICT_H 1
9 
20 #include "EventInfo/EventID.h"
21 #include "EventInfo/EventInfo.h"
23 #include "EventInfo/EventType.h"
26 #include "EventInfo/TriggerInfo.h"
27 #include "EventInfo/TagInfo.h"
28 #include "AthLinks/DataLink.h"
29 
31 {
32 public:
33  static
34  std::vector<unsigned int>
36  return std::vector<unsigned int>(esi.getRunNumbers().begin(),
37  esi.getRunNumbers().end());
38  }
39 
40  static
41  std::vector<unsigned int>
43  return std::vector<unsigned int>(esi.getLumiBlockNumbers().begin(),
44  esi.getLumiBlockNumbers().end());
45  }
46 
47  static
48  std::vector<std::string>
50  return std::vector<std::string>(esi.getProcessingTags().begin(),
51  esi.getProcessingTags().end());
52  }
53 
54  static
55  std::vector<std::pair<CLID, std::string> >
57  return std::vector<std::pair<CLID, std::string> >
58  (esi.getItemList().begin(),
59  esi.getItemList().end());
60  }
61 
62  static
63  std::vector<EventType>
65  return std::vector<EventType>(esi.getEventTypes().begin(),
66  esi.getEventTypes().end());
67  }
68 };
69 
71 {
72 public:
73  static
74  std::vector<unsigned int>
75  bit_mask(const ::EventType& et) {
76  return std::vector<unsigned int>(et.bit_mask_begin(),
77  et.bit_mask_end());
78  }
79 };
80 
81 
84  std::list<PileUpEventInfo::SubEvent>::const_iterator i2;
85  std::pair<CLID, std::string> p;
86 };
87 
88 template struct std::pair<CLID, std::string>;
89 
90 #endif // EVENTINFO_EVENTINFODICT_H
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
PyEventType::bit_mask
static std::vector< unsigned int > bit_mask(const ::EventType &et)
Definition: EventInfoDict.h:75
PyEventStreamInfo
Definition: EventInfoDict.h:31
et
Extra patterns decribing particle interation process.
PyEventStreamInfo::runNumbers
static std::vector< unsigned int > runNumbers(const ::EventStreamInfo &esi)
Definition: EventInfoDict.h:35
PileUpEventInfo.h
This class provides information about an overlaid event. It extends EventInfo with a list of sub-evts...
PyEventStreamInfo::itemList
static std::vector< std::pair< CLID, std::string > > itemList(const ::EventStreamInfo &esi)
Definition: EventInfoDict.h:56
EventStreamInfo
Athena::TPCnvVers::Old Athena::TPCnvVers::Current EventStreamInfo
Definition: EventTPCnv.cxx:67
EventInfoInstan::i2
std::list< PileUpEventInfo::SubEvent >::const_iterator i2
Definition: EventInfoDict.h:84
TriggerInfo.h
This class contains trigger related information.
EventType.h
This class provides general information about an event. It extends EventInfo with a list of sub-evts ...
EventInfoInstan::p
std::pair< CLID, std::string > p
Definition: EventInfoDict.h:85
EventStreamInfo.h
This file contains the class definition for the EventStreamInfo class.
PyEventStreamInfo::processingTags
static std::vector< std::string > processingTags(const ::EventStreamInfo &esi)
Definition: EventInfoDict.h:49
PyEventStreamInfo::lumiBlockNumbers
static std::vector< unsigned int > lumiBlockNumbers(const ::EventStreamInfo &esi)
Definition: EventInfoDict.h:42
MergedEventInfo.h
This class provides general information about an event. It extends MergedEventInfo with a list of sub...
EventID.h
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
PyEventType
Definition: EventInfoDict.h:71
TagInfo.h
This class contains the list of currently valid tags for detector description - GeoModel and IOV/Cond...
EventInfoInstan
Definition: EventInfoDict.h:82
PyEventStreamInfo::eventTypes
static std::vector< EventType > eventTypes(const ::EventStreamInfo &esi)
Definition: EventInfoDict.h:64
EventInfoInstan::i1
std::list< PileUpEventInfo::SubEvent >::iterator i1
Definition: EventInfoDict.h:83