10 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
11 from AthenaConfiguration.ComponentFactory
import CompFactory
12 from AthenaConfiguration.Enums
import MetadataCategory
17 """Configure the derivation framework driving algorithm (kernel) for HIPTrigger"""
25 if not flags.Input.isMC:
26 hip_trigger =
'(HLT_g0_hiptrt_L1eEM26M || HLT_g0_hiptrt_L1eEM28M)'
28 from DerivationFrameworkTools.DerivationFrameworkToolsConfig
import xAODStringSkimmingToolCfg
30 name =
"DESDM_EXOTHIP_SkimmingTool",
31 expression = hip_trigger))
32 skimmingTools.append(skimmingTool)
34 EXOTHIPKernel = CompFactory.DerivationFramework.DerivationKernel(name, SkimmingTools = skimmingTools)
35 acc.addEventAlgo( EXOTHIPKernel )
41 """Main config fragment for DESDM_EXOTHIP"""
50 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
51 from xAODMetaDataCnv.InfileMetaDataConfig
import SetupMetaDataForStreamCfg
53 container_items = [
'xAOD::EventInfo#*',
'xAOD::EventAuxInfo#*',
55 'xAOD::TrigNavigation#TrigNavigation',
'xAOD::TrigNavigationAuxInfo#TrigNavigationAux.',
56 'xAOD::TrigDecision#xTrigDecision',
'xAOD::TrigDecisionAuxInfo#xTrigDecisionAux.',
57 'xAOD::TrigConfKeys#TrigConfKeys',
58 'xAOD::TrigRNNOutputContainer#HLT_TrigTRTHTCounts',
'xAOD::TrigRNNOutputAuxContainer#HLT_TrigTRTHTCountsAux.',
59 'xAOD::TrigRNNOutputContainer#HLT_TrigRingerNeuralFex',
'xAOD::TrigRNNOutputAuxContainer#HLT_TrigRingerNeuralFexAux.',
60 'xAOD::CaloClusterContainer#egammaClusters',
'xAOD::CaloClusterAuxContainer#egammaClustersAux.',
61 'xAOD::CaloClusterContainer#CaloCalTopoClusters',
'xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.',
62 'xAOD::CaloClusterContainer#InDetTrackParticlesAssociatedClusters',
'xAOD::CaloClusterAuxContainer#InDetTrackParticlesAssociatedClustersAux.',
63 'xAOD::CaloClusterContainer#LArClusterEM',
'xAOD::CaloClusterAuxContainer#LArClusterEMAux.',
64 'xAOD::CaloClusterContainer#LArClusterEM7_11Nocorr',
'xAOD::CaloClusterAuxContainer#LArClusterEM7_11NocorrAux.',
65 'xAOD::CaloClusterContainer#egammaTopoSeededClusters',
'xAOD::CaloClusterAuxContainer#egammaTopoSeededClustersAux.',
67 'CaloCellContainer#AllCalo',
68 'CaloClusterCellLinkContainer#InDetTrackParticlesAssociatedClusters_links',
69 'CaloClusterCellLinkContainer#LArClusterEM7_11Nocorr_links',
70 'CaloClusterCellLinkContainer#LArClusterEM_links',
71 'CaloClusterCellLinkContainer#CaloCalTopoClusters_links',
72 'CaloClusterCellLinkContainer#egammaClusters_links',
73 'CaloClusterCellLinkContainer#egammaTopoSeededClusters_links',
75 'InDet::TRT_DriftCircleContainer#TRT_DriftCircles',
76 'LArDigitContainer#LArDigitContainer_EMClust',
77 'LArDigitContainer#LArDigitContainer_Thinned',
79 'xAOD::VertexContainer#PrimaryVertices',
'xAOD::VertexAuxContainer#PrimaryVerticesAux.-vxTrackAtVertex.-MvfFitInfo.-isInitialized.-VTAV',
80 'xAOD::PhotonContainer#Photons',
'xAOD::PhotonAuxContainer#PhotonsAux.'
83 container_items += [
'xAOD::TruthParticleContainer#*',
'xAOD::TruthParticleAuxContainer#TruthParticlesAux.-caloExtension',
84 'xAOD::TruthVertexContainer#*',
'xAOD::TruthVertexAuxContainer#*',
85 'xAOD::TruthEventContainer#*',
'xAOD::TruthEventAuxContainer#*']
87 acc.merge(
OutputStreamCfg( flags,
'DESDM_EXOTHIP', ItemList=container_items, AcceptAlgs=[
"DESDM_EXOTHIPKernel"]) )
92 AcceptAlgs=[
"DESDM_EXOTHIPKernel"],
94 MetadataCategory.ByteStreamMetaData,
95 MetadataCategory.CutFlowMetaData,
96 MetadataCategory.LumiBlockMetaData,
97 MetadataCategory.TriggerMenuMetaData,