10 shifter_eg = moniAccess.monitoredChains(signatures=
"egammaMon", monLevels=[
"shifter"])
11 shifter_tp = moniAccess.monitoredChains(signatures=
"egammaMon", monLevels=[
"shifter_tp"])
12 shifter_topo = moniAccess.monitoredChains(signatures=
"egammaMon", monLevels=[
"shifter_topo"])
14 monitoring_electron =
list(
filter(
lambda x: (
'HLT_e' in x
and 'L1eEM28' not in x), shifter_eg))
16 monitoringTP_electron =
list(
filter(
lambda x: (
'L1eEM28' not in x), shifter_tp))
18 monitoring_ph =
list(
filter(
lambda x: (
'HLT_g' in x
and 'ringer' not in x), shifter_eg))
19 monitoring_ph_ringer = [
'HLT_g20_tight_ringer_L1eEM18M',
'HLT_g25_loose_ringer_L1eEM24L',
'HLT_g22_tight_ringer_L1eEM18M',
'HLT_g25_medium_ringer_L1eEM24L',
'HLT_g35_medium_ringer_L1eEM24L',
'HLT_g50_loose_ringer_L1eEM24L',
'HLT_g140_loose_ringer_L1eEM26M']
20 monitoring_photon = monitoring_ph + monitoring_ph_ringer + [
'HLT_g140_loose_L1eEM26M',
'HLT_g300_etcut_L1eEM26M']
21 monitoring_bootstrap = {
22 'HLT_g22_tight_L1eEM18M' :
'HLT_g20_tight_L1eEM18M',
23 'HLT_g25_medium_L1eEM24L' :
'HLT_g25_loose_L1eEM24L',
24 'HLT_g35_medium_L1eEM24L' :
'HLT_g25_loose_L1eEM24L',
25 'HLT_g50_loose_L1eEM24L' :
'HLT_g25_loose_L1eEM24L',
26 'HLT_g22_tight_ringer_L1eEM18M' :
'HLT_g20_tight_ringer_L1eEM18M',
27 'HLT_g25_medium_ringer_L1eEM24L' :
'HLT_g25_loose_ringer_L1eEM24L',
28 'HLT_g35_medium_ringer_L1eEM24L' :
'HLT_g25_loose_ringer_L1eEM24L',
29 'HLT_g50_loose_ringer_L1eEM24L' :
'HLT_g25_loose_ringer_L1eEM24L'
32 t0_tp = moniAccess.monitoredChains(signatures=
"egammaMon", monLevels=[
"t0_tp"])
34 validationTP_electron_DNN =
list(
filter(
lambda x: (
'_dnn' in x), t0_tp ))
35 validation_electron = [
'HLT_e25_etcut_L1eEM18M',
'HLT_e60_etcut_L1eEM26M']
36 validation_jpsi =
list(
filter(
lambda x: (
'_L1JPSI' in x), shifter_topo ))
37 validationTP_jpsiee = [
'HLT_e10_lhvloose_L1eEM9']
41 'monitoring_electron' : monitoring_electron,
42 'monitoring_photon' : monitoring_photon ,
43 'monitoring_bootstrap' : monitoring_bootstrap,
44 'monitoringTP_electron' : monitoringTP_electron + [
'HLT_e26_lhtight_L1eEM26M'],
45 'monitoring_tags' : monitoring_tags,
46 'monitoring_topo' : monitoring_topo,
49 if data_type
is DQDataType.MC:
51 mongroups[
'validation_electron'] = validation_electron
52 mongroups[
'validation_photon'] = monitoring_photon
53 mongroups[
'validation_jpsi'] = validation_jpsi
54 mongroups[
'validationTP_jpsiee'] = validationTP_jpsiee
55 mongroups[
'validationTP_electron_DNN'] = validationTP_electron_DNN
58 elif data_type
is DQDataType.HeavyIon:
59 mongroups[
'monitoring_electron_hi'] = [
'HLT_e15_etcut_ion_L1eEM15',
'HLT_e30_etcut_ion_L1eEM26',
'HLT_e15_lhloose_nogsf_ion_L1eEM15',
'HLT_e15_loose_nogsf_ion_L1eEM15']
60 mongroups[
'monitoring_electron_TP_hi'] = [
'HLT_e20_lhloose_nogsf_ion_L1eEM18',
'HLT_e20_loose_nogsf_ion_L1eEM18']
61 mongroups[
'monitoring_photon_hi'] = [
'HLT_g15_loose_ion_L1eEM12',
'HLT_g20_etcut_ion_L1eEM15',
'HLT_g50_loose_ion_L1eEM26']
62 mongroups[
'monitoring_bootstrap_hi'] = {
'HLT_g18_etcut_ion_L1eEM12' :
'HLT_g18_etcut_ion_L1eEM12'}
64 elif data_type
is DQDataType.Cosmics:
65 monitoring_electron_cosmic=[
'HLT_e5_etcut_L1eEM5']
66 monitoring_photon_cosmic=[
'HLT_g3_etcut_LArPEB_L1eEM5']
67 monitoring_bootstrap_cosmic = {
'HLT_g3_etcut_LArPEB_L1eEM5' :
'HLT_g3_etcut_LArPEB_L1eEM5'}
69 mongroups[
'monitoring_electron_cosmic'] = monitoring_electron_cosmic
70 mongroups[
'monitoring_photon_cosmic'] = monitoring_photon_cosmic
71 mongroups[
'monitoring_bootstrap_cosmic'] = monitoring_bootstrap_cosmic