Skiming.
13 """Configure the example skimming tool"""
14 from TrigDecisionTool.TrigDecisionToolConfig
import TrigDecisionToolCfg
18 ExtraData += [
'xAOD::VertexContainer/PrimaryVertices']
19 ExtraData += [
'xAOD::JetContainer/AntiKt4EMTopoJets']
20 ExtraData += [
'xAOD::JetContainer/AntiKt4LCTopoJets']
21 ExtraData += [
'xAOD::JetContainer/AntiKt4EMPFlowJets']
22 ExtraData += [
'xAOD::JetContainer/AntiKt4HIJets']
23 ExtraData += [
'xAOD::JetContainer/AntiKt4HITrackJets']
24 ExtraData += [
'xAOD::JetContainer/AntiKt10LCTopoJets']
26 acc.addSequence(
seqAND(
"HION12Sequence") )
27 acc.getSequence(
"HION12Sequence").ExtraDataForDynamicConsumers = ExtraData
28 acc.getSequence(
"HION12Sequence").ProcessDynamicDataDependencies =
True
31 from DerivationFrameworkHI
import ListTriggers
33 objectSelection =
'(count(PrimaryVertices.z < 1000) < 10)'
34 nJetCuts = ListTriggers.HION12nJetCuts2018()
35 MB_triggers = ListTriggers.HION12MBtriggers2018()
36 triggers = ListTriggers.HION12triggers2018()
38 expression =
'( (' +
' || '.
join(triggers+MB_triggers) +
') && '+objectSelection+
' && ' +
'(' +
' || '.
join(nJetCuts) +
')' +
')'
41 acc.addPublicTool(CompFactory.DerivationFramework.xAODStringSkimmingTool(name =
"HION12StringSkimmingTool",
42 expression = expression,
43 TrigDecisionTool=tdt),