ATLAS Offline Software
HVFlags.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaCommon.JobProperties import JobProperty
4 from AthenaCommon.JobProperties import jobproperties
5 
6 import AthenaCommon.SystemOfUnits as Units
7 
8 primRPVLLDESDM=jobproperties.PrimaryDPDFlags_RPVLLStream
9 
10 
11 from LongLivedParticleDPDMaker.RPVLLTriggers import RPVLLTriggers
12 apitriggers = RPVLLTriggers()
13 from LongLivedParticleDPDMaker.RPVLLTriggers import rpvllTrig
14 
15 
16 class HV_MuvtxTriggerFlags(JobProperty):
17  statusOn = True
18  allowedTypes = ['bool']
19  StoredValue = True
20  TriggerNames = [
21  "HLT_j30_muvtx",
22  #"HLT_j30_muvtx_noiso", #Move to prescaled filter
23  #"HLT_j30_muvtx_L1MU6_EMPTY",
24  #"HLT_j30_muvtx_L1MU4_UNPAIRED_ISO",
25  #EMPTY and UNPAIRED_ISO triggers are currently in physics_Late, and thus not part of DRAW_RPVLL
26  ]
27  if rpvllTrig.doRPVLLTriggerAPI:
28  TriggerNames += apitriggers.getHVMuvtxTriggers()
29 primRPVLLDESDM.add_JobProperty(HV_MuvtxTriggerFlags)
30 
31 class HV_prescaledMuvtxTriggerFlags(JobProperty):
32  statusOn = True
33  allowedTypes = ['bool']
34  StoredValue = True
35  TriggerNames = [
36  "HLT_j30_muvtx_noiso",
37  ]
38  if rpvllTrig.doRPVLLTriggerAPI:
39  TriggerNames += apitriggers.getHVprescaledMuvtxTriggers()
40  Prescale = 1
41 primRPVLLDESDM.add_JobProperty(HV_prescaledMuvtxTriggerFlags)
42 
43 class HV_JetMETFilterFlags(JobProperty):
44  statusOn = True
45  allowedTypes = ['bool']
46  StoredValue = True
47  TriggerNames = [
48  # "HLT_j80_xe80",
49  "HLT_j120_xe80"
50  ]
51  cutMetMin = 120.0*Units.GeV # MET cut, currently placed on MET_Reference_AntiKt4TopoEM
52 primRPVLLDESDM.add_JobProperty(HV_JetMETFilterFlags)
53 
54 class HV_CalRatioTriggerFlags(JobProperty):
55  statusOn = True
56  allowedTypes = ['bool']
57  StoredValue = True
58  TriggerNames = [
59  "HLT_j30_jes_cleanLLP_PS_llp_L1TAU60",
60  "HLT_j30_jes_cleanLLP_PS_llp_noiso_L1TAU60",
61  "HLT_j30_jes_cleanLLP_PS_llp_L1LLP-NOMATCH", #L1Topo triggers are not running yet but should be "soon"
62  "HLT_j30_jes_cleanLLP_PS_llp_noiso_L1LLP-NOMATCH",
63  "HLT_j30_jes_cleanLLP_PS_llp_L1TAU100", #will replace L1TAU60 soon
64  "HLT_j30_jes_cleanLLP_PS_llp_noiso_L1TAU100",
65  "HLT_j30_jes_cleanLLP_PS_llp_L1LLP-RO", #new L1Topo item; rate should be small
66  "HLT_j30_jes_cleanLLP_PS_llp_noiso_L1LLP-RO",
67  #"HLT_j30_jes_cleanLLP_PS_llp_L1TAU8_EMPTY",
68  #"HLT_j30_jes_cleanLLP_PS_llp_noiso_L1TAU8_EMPTY",
69  #"HLT_j30_jes_cleanLLP_PS_llp_L1TAU8_UNPAIRED_ISO",
70  #"HLT_j30_jes_cleanLLP_PS_llp_noiso_L1TAU8_UNPAIRED_ISO"
71  #EMPTY and UNPAIRED_ISO triggers are currently in physics_Late, and thus not part of DRAW_RPVLL
72  ]
73  if rpvllTrig.doRPVLLTriggerAPI:
74  TriggerNames += apitriggers.getHVCalRatioTriggers()
75 
76 primRPVLLDESDM.add_JobProperty(HV_CalRatioTriggerFlags)
SystemOfUnits
python.HVFlags.HV_JetMETFilterFlags
Definition: HVFlags.py:43
python.HVFlags.HV_CalRatioTriggerFlags
Definition: HVFlags.py:54
python.HVFlags.HV_prescaledMuvtxTriggerFlags
Definition: HVFlags.py:31
python.HVFlags.HV_MuvtxTriggerFlags
Definition: HVFlags.py:16