ATLAS Offline Software
RejectSequences.py
Go to the documentation of this file.
1 #
2 # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 #
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 from TriggerMenuMT.HLT.Config.MenuComponents import MenuSequence
6 # Generic Rejection Algo Configuration
7 def RejectSequence(flags, name, sequence):
8  TargetHypoAlg = CompFactory.TrigStreamerHypoAlg(name)
9 
10  sequence.addHypoAlgo(TargetHypoAlg)
11 
12  # Reject every event
13  def getRejectingHypoTool(flags, chainDict):
14  return CompFactory.TrigStreamerHypoTool(chainDict['chainName'],Pass=False)
15 
16  return MenuSequence(flags,sequence,HypoToolGen=getRejectingHypoTool)
17 
python.HLT.CommonSequences.RejectSequences.RejectSequence
def RejectSequence(flags, name, sequence)
Definition: RejectSequences.py:7