ATLAS Offline Software
MinBiasPostProcess.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2 
3 def ratioOnlineOffline(inputs):
4  matches, (online, offline) = inputs[0]
5 
6  ratio = online.Clone()
7  ratio.Sumw2()
8  ratio.Divide(offline)
9  ratio.SetTitle(f'Track {matches["var"]} Online/Offline')
10  ratio.GetXaxis().SetTitle(f'Track {matches["var"]}')
11  ratio.GetYaxis().SetTitle('Online/Offline')
12 
13  return [ratio]
MinBiasPostProcess.ratioOnlineOffline
def ratioOnlineOffline(inputs)
Definition: MinBiasPostProcess.py:3