ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TriggerCommon
TriggerMenuMT
python
HLT
CommonSequences
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
RejectSequence(flags, name, sequence)
Definition
RejectSequences.py:7
Generated on
for ATLAS Offline Software by
1.17.0