ATLAS Offline Software
PhysDESDM_HV.py
Go to the documentation of this file.
1 
4 from DerivationFrameworkTools.DerivationFrameworkToolsConf import DerivationFramework__xAODStringSkimmingTool as skimtool
5 from DerivationFrameworkCore.DerivationFrameworkCoreConf import DerivationFramework__DerivationKernel as kernel
6 from DerivationFrameworkTools.DerivationFrameworkToolsConf import DerivationFramework__TriggerSkimmingTool
7 from DerivationFrameworkTools.DerivationFrameworkToolsConf import DerivationFramework__PrescaleTool
8 
9 
10 from DerivationFrameworkTools.DerivationFrameworkToolsConf import DerivationFramework__FilterCombinationAND
11 from DerivationFrameworkTools.DerivationFrameworkToolsConf import DerivationFramework__FilterCombinationOR
12 
13 
14 
15 
18 
19 HVMuvtxTriggerTool = DerivationFramework__TriggerSkimmingTool( name = "HVMuvtxTriggerTool",
20  TriggerListOR = primRPVLLDESDM.HV_MuvtxTriggerFlags.TriggerNames )
21 ToolSvc += HVMuvtxTriggerTool
22 
23 
26 
27 HVMuvtxPrescaledTriggerTool = DerivationFramework__TriggerSkimmingTool( name = "HVMuvtxPrescaledTriggerTool",
28  TriggerListOR = primRPVLLDESDM.HV_prescaledMuvtxTriggerFlags.TriggerNames )
29 ToolSvc += HVMuvtxPrescaledTriggerTool
30 
31 HVMuvtxPrescaleTool = DerivationFramework__PrescaleTool(name = "HVPrescaleMuvtxTool",
32  Prescale = primRPVLLDESDM.HV_prescaledMuvtxTriggerFlags.Prescale
33  )
34 ToolSvc += HVMuvtxPrescaleTool
35 
36 HVPrescaledMuvtxSkimmingTool = DerivationFramework__FilterCombinationAND( name = "HVMuvtxSkimmingTool",
37  FilterList = [HVMuvtxPrescaledTriggerTool,
38  HVMuvtxPrescaleTool,
39  ],
40  )
41 ToolSvc += HVPrescaledMuvtxSkimmingTool
42 
43 
44 HV_MuvtxFinalFilter = DerivationFramework__FilterCombinationOR( name = "HV_MuvtxFinalFilter", FilterList=[HVMuvtxTriggerTool,HVPrescaledMuvtxSkimmingTool] )
45  # OutputLevel=DEBUG
46 
47 ToolSvc += HV_MuvtxFinalFilter
48 
49 topSequence += kernel( "RPVLL_HV_MuvtxFilterKernel",
50  SkimmingTools = [HV_MuvtxFinalFilter]
51  )
52 RPVLLfilterNames.extend(["RPVLL_HV_MuvtxFilterKernel"])
53 
54 
57 
58 HVJetMETTrigTool = DerivationFramework__TriggerSkimmingTool( name = "HVJetMETTrigTool",
59  TriggerListOR = primRPVLLDESDM.HV_JetMETFilterFlags.TriggerNames )
60 ToolSvc += HVJetMETTrigTool
61 
62 from LongLivedParticleDPDMaker.LongLivedParticleDPDMakerConf import DerivationFramework__HVJetMETFilterTool
63 
64 HVJetMETFilterTool = DerivationFramework__HVJetMETFilterTool(name = "HVJetMETFilterTool",
65  METContainerKey = "MET_Reference_AntiKt4EMTopo",
66  METTerm = "FinalClus",
67  METCut = primRPVLLDESDM.HV_JetMETFilterFlags.cutMetMin)
68 
69 #HVJetMETFilterTool = skimtool( name = "HVJetMETFilterTool",
70 # expression = 'MET_Reference_AntiKt4EMTopo["FinalClus"].met > 50.0*GeV')
71 
72 ToolSvc+=HVJetMETFilterTool
73 
74 HV_JetMETFinalFilter = DerivationFramework__FilterCombinationAND( name = "HV_JetMETFinalFilter",
75  FilterList=[HVJetMETTrigTool,HVJetMETFilterTool],
76 # OutputLevel=DEBUG
77  )
78 ToolSvc += HV_JetMETFinalFilter
79 
80 topSequence += kernel( "RPVLL_HV_JetMETFilterKernel",
81  SkimmingTools = [HV_JetMETFinalFilter]
82  )
83 RPVLLfilterNames.extend(["RPVLL_HV_JetMETFilterKernel"])
84 
85 
88 
89 HVCalRatioTriggerTool = DerivationFramework__TriggerSkimmingTool( name = "HVCalRatioTriggerTool",
90  TriggerListOR = primRPVLLDESDM.HV_CalRatioTriggerFlags.TriggerNames )
91 ToolSvc += HVCalRatioTriggerTool
92 
93 topSequence += kernel( "RPVLL_HV_CalRatioFilterKernel",
94  SkimmingTools = [HVCalRatioTriggerTool],
95  )
96 RPVLLfilterNames.extend(["RPVLL_HV_CalRatioFilterKernel"])
97 
98 
99