ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
EventInfo
EventInfo
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
18
19
20
#include "
EventInfo/EventID.h
"
21
#include "EventInfo/EventInfo.h"
22
#include "
EventInfo/EventStreamInfo.h
"
23
#include "
EventInfo/EventType.h
"
24
#include "
EventInfo/MergedEventInfo.h
"
25
#include "
EventInfo/PileUpEventInfo.h
"
26
#include "
EventInfo/TriggerInfo.h
"
27
#include "
EventInfo/TagInfo.h
"
28
#include "AthLinks/DataLink.h"
29
30
class
PyEventStreamInfo
31
{
32
public
:
33
static
34
std::vector<unsigned int>
35
runNumbers
(const ::EventStreamInfo& esi) {
36
return
std::vector<unsigned int>(esi.getRunNumbers().begin(),
37
esi.getRunNumbers().end());
38
}
39
40
static
41
std::vector<unsigned int>
42
lumiBlockNumbers
(const ::EventStreamInfo& esi) {
43
return
std::vector<unsigned int>(esi.getLumiBlockNumbers().begin(),
44
esi.getLumiBlockNumbers().end());
45
}
46
47
static
48
std::vector<std::string>
49
processingTags
(const ::EventStreamInfo& esi) {
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> >
56
itemList
(const ::EventStreamInfo& esi) {
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>
64
eventTypes
(const ::EventStreamInfo& esi) {
65
return
std::vector<EventType>(esi.getEventTypes().begin(),
66
esi.getEventTypes().end());
67
}
68
};
69
70
class
PyEventType
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
82
struct
EventInfoInstan
{
83
std::list<PileUpEventInfo::SubEvent>::iterator
i1
;
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
EventID.h
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
EventStreamInfo.h
This file contains the class definition for the EventStreamInfo class.
EventType.h
This class provides general information about an event.
MergedEventInfo.h
This class provides general information about an event.
PileUpEventInfo.h
This class provides information about an overlaid event.
TagInfo.h
This class contains the list of currently valid tags for detector description - GeoModel and IOV/Cond...
TriggerInfo.h
This class contains trigger related information.
PyEventStreamInfo
Definition
EventInfoDict.h:31
PyEventStreamInfo::runNumbers
static std::vector< unsigned int > runNumbers(const ::EventStreamInfo &esi)
Definition
EventInfoDict.h:35
PyEventStreamInfo::itemList
static std::vector< std::pair< CLID, std::string > > itemList(const ::EventStreamInfo &esi)
Definition
EventInfoDict.h:56
PyEventStreamInfo::eventTypes
static std::vector< EventType > eventTypes(const ::EventStreamInfo &esi)
Definition
EventInfoDict.h:64
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
PyEventType
Definition
EventInfoDict.h:71
PyEventType::bit_mask
static std::vector< unsigned int > bit_mask(const ::EventType &et)
Definition
EventInfoDict.h:75
EventInfoInstan
Definition
EventInfoDict.h:82
EventInfoInstan::i1
std::list< PileUpEventInfo::SubEvent >::iterator i1
Definition
EventInfoDict.h:83
EventInfoInstan::p
std::pair< CLID, std::string > p
Definition
EventInfoDict.h:85
EventInfoInstan::i2
std::list< PileUpEventInfo::SubEvent >::const_iterator i2
Definition
EventInfoDict.h:84
et
Extra patterns decribing particle interation process.
Generated on
for ATLAS Offline Software by
1.17.0