ATLAS Offline Software
Loading...
Searching...
No Matches
TrigIDR4MonFlags.py File Reference

noqa: ATL902 More...

Go to the source code of this file.

Namespaces

namespace  python
namespace  python.TrigIDR4MonFlags

Functions

 python.TrigIDR4MonFlags.TrigIDR4MonFlags (inflags, signatures=None, cfgFile=None)
 python.TrigIDR4MonFlags._setCommonDefaults (node)
 python.TrigIDR4MonFlags._setElectronFlags (flags)
 python.TrigIDR4MonFlags._setMuonFlags (flags)
 python.TrigIDR4MonFlags._setTauFlags (flags)
 python.TrigIDR4MonFlags._setBjetFlags (flags)
 python.TrigIDR4MonFlags._setMuonTruthFlags (flags)
 python.TrigIDR4MonFlags._setElectronTruthFlags (flags)
 python.TrigIDR4MonFlags._setTauTruthFlags (flags)
 python.TrigIDR4MonFlags._setBjetTruthFlags (flags)
 python.TrigIDR4MonFlags._setOfflineFlags (flags)
 python.TrigIDR4MonFlags.loadPythonConfig (flags, signatures=None)
 python.TrigIDR4MonFlags.loadJsonConfig (flags, filename, signatures=None)
 python.TrigIDR4MonFlags._applyDict (node, d)
 python.TrigIDR4MonFlags._printConfig (flags, cfgFile)

Variables

list python.TrigIDR4MonFlags._ALL_SIGS = ["Electrons", "Muons", "Bjets"]
list python.TrigIDR4MonFlags._DATA_SIGS = ["Taus"]
list python.TrigIDR4MonFlags._MC_SIGS = ["Offline", "MuonTruth", "ElectronTruth", "TauTruth", "BjetTruth"]
dict python.TrigIDR4MonFlags._configs

Detailed Description

noqa: ATL902

   Flag configuration for TrigIDR4Mon.  Sets up IDTPM2 signature
   nodes with default values, optionally applies a JSON overlay,
   and prints a configuration summary.

   Typical usage in run.py:

     from TrigIDR4Monitoring.TrigIDR4MonFlags import TrigIDR4MonFlags

     # all signatures (data or MC as appropriate)
     TrigIDR4MonFlags(tflags)

     # selected signatures only
     TrigIDR4MonFlags(tflags, signatures=["Electrons", "Muons"])

     # with a JSON overlay
     TrigIDR4MonFlags(tflags, cfgFile="myconfig.json")

   JSON format (all keys optional):
     {
       "Electrons": { "DeltaR": 0.03,
                      "RefSelector": { "minPt": 2000 } },
       "Muons":     { "MatcherType": "DeltaRZ" }
     }
Author
sutt and simpson
Date
Sun 14 Sep 2026
Id
TrigIDR4MonFlags.py, v0.0 Sun 14 Sep 2026 sutt

Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration

Definition in file TrigIDR4MonFlags.py.