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