ATLAS Offline Software
Functions
MuonTrackMonitorAlgorithm Namespace Reference

Functions

def MuonTrackConfig (flags, **kwargs)
 

Detailed Description

Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2020 Matthias Schott - Uni Mainz

Function Documentation

◆ MuonTrackConfig()

def MuonTrackMonitorAlgorithm.MuonTrackConfig (   flags,
**  kwargs 
)

Definition at line 9 of file MuonTrackMonitorAlgorithm.py.

9 def MuonTrackConfig(flags, **kwargs):
10  from AthenaMonitoring import AthMonitorCfgHelper
11  from AthenaConfiguration.ComponentFactory import CompFactory
12 
13  helper = AthMonitorCfgHelper(flags, "MuonTrackMonitoringConfig")
14  if flags.Beam.Type != BeamType.Collisions:
15  kwargs.setdefault("PrimaryVerticesKey", "")
16  if flags.Common.isOnline or flags.Beam.Type != BeamType.Collisions:
17  kwargs.setdefault("RequireBeamSpot", False)
18 
19  muonTrackAlg = helper.addAlgorithm(CompFactory.MuonTrackMonitorAlgorithm, "MuonTrackMonitorAlg", **kwargs)
20 
21  myGroup = helper.addGroup(muonTrackAlg, "MuonTrackMonitorAlgorithm", "MuonPhysics/")
22 
23 
MuonTrackMonitorAlgorithm.MuonTrackConfig
def MuonTrackConfig(flags, **kwargs)
Definition: MuonTrackMonitorAlgorithm.py:9