ATLAS Offline Software
Database
CoolLumiUtilities
python
LumiChannelDefsRun1.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
2
3
# Simple utility class to provide channel number - name mappings
4
class
LumiChannelDefs
:
5
6
# Define here to give class scope
7
names = dict()
8
9
# Mapping of channel numbers to channel names
10
names[0] =
'ATLAS Preferred'
11
names[1] =
'LHC Lumi'
12
names[5] =
'CMS Lumi'
13
names[17] =
'ATLAS Preferred BGRP7'
14
15
names[101] =
'Onl Lucid Evt AND'
16
names[102] =
'Onl Lucid Evt OR'
17
names[103] =
'Onl Lucid Hit OR'
18
names[104] =
'Onl Lucid Hit AND'
19
names[105] =
'Onl Lucid Evt A'
20
names[106] =
'Onl Lucid Evt C'
21
22
names[111] =
'Onl LucidFib Evt AND'
23
names[112] =
'Onl LucidFib Evt OR'
24
names[113] =
'Onl LucidFib Hit OR'
25
names[114] =
'Onl LucidFib Hit AND'
26
names[115] =
'Onl LucidFib Evt A'
27
names[116] =
'Onl LucidFib Evt C'
28
29
# Offline versions of online numbers
30
names[151] =
'Lucid Evt AND'
31
names[152] =
'Lucid Evt OR'
32
names[153] =
'Lucid Hit OR'
33
names[154] =
'Lucid Hit AND'
34
names[155] =
'Lucid Evt A'
35
names[156] =
'Lucid Evt C'
36
37
names[161] =
'LucidFib Evt AND'
38
names[162] =
'LucidFib Evt OR'
39
names[163] =
'LucidFib Hit OR'
40
names[164] =
'LucidFib Hit AND'
41
names[165] =
'LucidFib Evt A'
42
names[166] =
'LucidFib Evt C'
43
44
names[201] =
'Onl BCMH Evt OR'
45
names[202] =
'Onl BCMH Evt AND'
46
names[203] =
'Onl BCMH XORA'
47
names[204] =
'Onl BCMH XORC'
48
names[205] =
'Onl BCMH ORA'
49
names[206] =
'Onl BCMH ORC'
50
names[207] =
'Onl BCMH AND25'
51
52
names[211] =
'Onl BCMV Evt OR'
53
names[212] =
'Onl BCMV Evt AND'
54
names[213] =
'Onl BCMV XORA'
55
names[214] =
'Onl BCMV XORC'
56
names[216] =
'Onl BCMV ORC'
57
names[217] =
'Onl BCMV AND25'
58
59
names[221] =
'Onl BCMT Evt OR'
60
names[222] =
'Onl BCMT Evt AND'
61
names[226] =
'Onl BCMT ORC'
62
63
names[251] =
'BCMH Evt OR'
64
names[252] =
'BCMH Evt AND'
65
names[253] =
'BCMH XORC'
66
names[254] =
'BCMH XORA'
67
names[255] =
'BCMH ORA'
68
names[256] =
'BCMH ORC'
69
names[257] =
'BCMH AND25'
70
71
names[261] =
'BCMV Evt OR'
72
names[262] =
'BCMV Evt AND'
73
names[263] =
'BCMV XORC'
74
names[264] =
'BCMV XORA'
75
names[266] =
'BCMV ORC'
76
names[267] =
'BCMV AND25'
77
78
names[271] =
'BCMT Evt OR'
79
names[272] =
'BCMT Evt AND'
80
names[276] =
'BCMT ORC'
81
82
names[301] =
'Onl MBTS Evt OR'
83
names[302] =
'Onl MBTS Evt AND'
84
names[303] =
'Onl MBTS Hit OR'
85
86
names[351] =
'MBTS Evt OR'
87
names[352] =
'MBTS Evt AND'
88
names[353] =
'MBTS Hit OR'
89
90
names[401] =
'Onl ZDC Evt AND'
91
names[402] =
'Onl ZDC Evt ORA'
92
names[403] =
'Onl ZDC Evt ORC'
93
94
names[411] =
'Onl ZDCL Evt AND'
95
names[412] =
'Onl ZDCL Evt OR'
96
names[413] =
'Onl ZDCL Evt ORA'
97
names[414] =
'Onl ZDCL Evt ORC'
98
99
names[451] =
'ZDC Evt AND'
100
names[452] =
'ZDC Evt ORA'
101
names[453] =
'ZDC Evt ORC'
102
103
names[461] =
'ZDCL Evt AND'
104
names[462] =
'ZDCL Evt OR'
105
names[463] =
'ZDCL Evt ORA'
106
names[464] =
'ZDCL Evt ORC'
107
108
names[501] =
'FCAL_A'
109
names[502] =
'FCAL_C'
110
111
names[521] =
'RPC'
112
113
names[902] =
'Vtx Count'
114
115
names[1001] =
'Onl BCM11H Evt OR'
116
names[1002] =
'Onl BCM11H Evt AND'
117
names[1004] =
'Onl BCM11H Evt XORC'
118
119
names[1011] =
'Onl BCM11V Evt OR'
120
names[1012] =
'Onl BCM11V Evt AND'
121
names[1014] =
'Onl BCM11V Evt XORC'
122
123
names[1051] =
'BCM11H Evt OR'
124
names[1052] =
'BCM11H Evt AND'
125
names[1054] =
'BCM11H Evt XORC'
126
127
names[1061] =
'BCM11V Evt OR'
128
names[1062] =
'BCM11V Evt AND'
129
names[1064] =
'BCM11V Evt XORC'
130
131
# Sorted list of valid channel numbers
132
numbers =
sorted
(names.keys())
133
134
def
name
(self, chan):
135
return
self.
names
.
get
(chan,
'Unknown'
)
python.LumiChannelDefsRun1.LumiChannelDefs.names
names
Definition:
LumiChannelDefsRun1.py:7
python.LumiChannelDefsRun1.LumiChannelDefs
Definition:
LumiChannelDefsRun1.py:4
DerivationFramework::TriggerMatchingUtils::sorted
std::vector< typename T::value_type > sorted(T begin, T end)
Helper function to create a sorted vector from an unsorted one.
get
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Definition:
hcg.cxx:127
python.LumiChannelDefsRun1.LumiChannelDefs.name
def name(self, chan)
Definition:
LumiChannelDefsRun1.py:134
Generated on Thu Nov 7 2024 21:20:18 for ATLAS Offline Software by
1.8.18