ATLAS Offline Software
Functions
MinBiasPostProcess Namespace Reference

Functions

def ratioOnlineOffline (inputs)
 

Function Documentation

◆ ratioOnlineOffline()

def MinBiasPostProcess.ratioOnlineOffline (   inputs)

Definition at line 3 of file MinBiasPostProcess.py.

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