ATLAS Offline Software
Loading...
Searching...
No Matches
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"
23#include "EventInfo/EventType.h"
27#include "EventInfo/TagInfo.h"
28#include "AthLinks/DataLink.h"
29
31{
32public:
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
71{
72public:
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
83 std::list<PileUpEventInfo::SubEvent>::iterator i1;
84 std::list<PileUpEventInfo::SubEvent>::const_iterator i2;
85 std::pair<CLID, std::string> p;
86};
87
88template struct std::pair<CLID, std::string>;
89
90#endif // EVENTINFO_EVENTINFODICT_H
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
This file contains the class definition for the EventStreamInfo class.
This class provides general information about an event.
This class provides general information about an event.
This class provides information about an overlaid event.
This class contains the list of currently valid tags for detector description - GeoModel and IOV/Cond...
This class contains trigger related information.
static std::vector< unsigned int > runNumbers(const ::EventStreamInfo &esi)
static std::vector< std::pair< CLID, std::string > > itemList(const ::EventStreamInfo &esi)
static std::vector< EventType > eventTypes(const ::EventStreamInfo &esi)
static std::vector< std::string > processingTags(const ::EventStreamInfo &esi)
static std::vector< unsigned int > lumiBlockNumbers(const ::EventStreamInfo &esi)
static std::vector< unsigned int > bit_mask(const ::EventType &et)
std::list< PileUpEventInfo::SubEvent >::iterator i1
std::pair< CLID, std::string > p
std::list< PileUpEventInfo::SubEvent >::const_iterator i2
Extra patterns decribing particle interation process.