ATLAS Offline Software
Database
CoolLumiUtilities
python
LumiChannelDefs.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] =
'Lucid Evt AND'
16
names[102] =
'Lucid Evt OR'
17
names[103] =
'Lucid Hit OR'
18
names[104] =
'Lucid Hit AND'
19
names[105] =
'Lucid Evt A'
20
names[106] =
'Lucid Evt C'
21
22
names[111] =
'LucidBis Evt AND'
23
names[112] =
'LucidBis Evt OR'
24
names[113] =
'LucidBis Hit OR'
25
names[114] =
'LucidBis Hit AND'
26
names[115] =
'LucidBis Evt A'
27
names[116] =
'LucidBis Evt C'
28
29
names[121] =
'LucidMod Evt AND'
30
names[122] =
'LucidMod Evt OR'
31
names[123] =
'LucidMod Hit OR'
32
names[124] =
'LucidMod Hit AND'
33
names[125] =
'LucidMod Evt A'
34
names[126] =
'LucidMod Evt C'
35
36
names[131] =
'LucidBis A1'
37
names[132] =
'LucidBis A5'
38
names[133] =
'LucidBis A9'
39
names[134] =
'LucidBis A13'
40
names[135] =
'LucidBis C1'
41
names[136] =
'LucidBis C5'
42
names[137] =
'LucidBis C9'
43
names[138] =
'LucidBis C13'
44
45
# Lucid Charge algorithms
46
names[151] =
'Lucid Charge A'
47
names[152] =
'Lucid Charge C'
48
names[153] =
'LucidBis Charge A'
49
names[154] =
'LucidBis Charge C'
50
names[155] =
'LucidFib Charge A'
51
names[156] =
'LucidFib Charge C'
52
53
# BCM
54
names[201] =
'BCMH Evt OR'
55
names[202] =
'BCMH Evt AND'
56
names[205] =
'BCMH ORA'
57
names[206] =
'BCMH ORC'
58
59
names[211] =
'BCMV Evt OR'
60
names[212] =
'BCMV Evt AND'
61
names[215] =
'BCMV ORA'
62
names[216] =
'BCMV ORC'
63
64
names[221] =
'BCMT Evt OR'
65
names[222] =
'BCMT Evt AND'
66
names[225] =
'BCMT ORA'
67
names[226] =
'BCMT ORC'
68
69
names[231] =
'BCMH Early Evt OR'
70
names[235] =
'BCMH Early Evt A'
71
names[236] =
'BCMH Early Evt C'
72
73
names[241] =
'BCMV Early Evt OR'
74
names[245] =
'BCMV Early Evt A'
75
names[246] =
'BCMV Early Evt C'
76
77
# MBTS
78
names[301] =
'MBTS Evt OR'
79
names[302] =
'MBTS Evt AND'
80
names[303] =
'MBTS2'
81
82
names[501] =
'FCAL_A'
83
names[502] =
'FCAL_C'
84
85
86
# Sorted list of valid channel numbers
87
numbers =
sorted
(names.keys())
88
89
def
name
(self, chan):
90
return
self.
names
.
get
(chan,
'Unknown'
)
python.LumiChannelDefs.LumiChannelDefs.name
def name(self, chan)
Definition:
LumiChannelDefs.py:89
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.
python.LumiChannelDefs.LumiChannelDefs
Definition:
LumiChannelDefs.py:4
python.LumiChannelDefs.LumiChannelDefs.names
names
Definition:
LumiChannelDefs.py:7
get
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Definition:
hcg.cxx:127
Generated on Mon Jan 6 2025 21:14:01 for ATLAS Offline Software by
1.8.18