ATLAS Offline Software
L1MuonMonConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
2 
3 
4 def L1MuonMonConfig(helper):
5 
6  from AthenaConfiguration.ComponentFactory import CompFactory
7  from MuonSelectorTools.MuonSelectorToolsConfig import MuonSelectionToolCfg
8  monAlg = helper.addAlgorithm(CompFactory.L1MuonMon,'L1MuonMonAlg',
9  MuonSelectionTool = helper.result().popToolsAndMerge(MuonSelectionToolCfg(helper.flags, MuQuality=1)))
10 
11  histGroup = helper.addGroup(monAlg, 'L1MuonMon', 'HLT/MuonMon/')
12 
13 
14  import ROOT
15  histGroup.defineHistogram('l1Thres',title='L1Muon Thresholds;L1 threshold number;Events', type='TH1F', path='L1Muon',xbins=6,xmin=1.0,xmax=7.0)
16  histGroup.defineHistogram('l1Eta',title='L1Muon Eta;#eta;Events', type='TH1F', path='L1Muon',xbins=25,xmin=-3.0,xmax=3.0)
17  histGroup.defineHistogram('l1Phi',title='L1Muon Phi;#phi;Events', type='TH1F', path='L1Muon',xbins=25,xmin=-ROOT.TMath.Pi(),xmax=ROOT.TMath.Pi())
18  histGroup.defineHistogram('l1Eta,l1Phi;L1Muon_Eta_vs_Phi',title='L1Muon Eta vs Phi;#eta;#phi;Events', type='TH2F', path='etaphi2D',xbins=108,xmin=-2.7,xmax=2.7, ybins=96,ymin=-ROOT.TMath.Pi(),ymax=ROOT.TMath.Pi())
19 
20  return
python.L1MuonMonConfig.L1MuonMonConfig
def L1MuonMonConfig(helper)
Definition: L1MuonMonConfig.py:4
python.MuonSelectorToolsConfig.MuonSelectionToolCfg
def MuonSelectionToolCfg(flags, name="MuonSelectionTool", **kwargs)
Standard configuration of the MuonSelectionTool used in reconstruction & validation jobs The snippet ...
Definition: MuonSelectorToolsConfig.py:16