ATLAS Offline Software
Loading...
Searching...
No Matches
RejectSequences.py
Go to the documentation of this file.
2# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3#
4from AthenaConfiguration.ComponentFactory import CompFactory
5from TriggerMenuMT.HLT.Config.MenuComponents import MenuSequence
6# Generic Rejection Algo Configuration
7def 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