ATLAS Offline Software
Loading...
Searching...
No Matches
compareDistribs.py
Go to the documentation of this file.
1# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
2
3
4# External dependencies
5import ROOT
6import sys
7import os.path
8
9inFileList = sys.argv[1:]
10if len(inFileList)<2:
11 print ("Need more than one input file")
12 exit(2)
13
14
15from JetValidation.D3PDHistoBuildLib import HistoComparatorFromFiles
16
17comp = HistoComparatorFromFiles(*inFileList)
18
19
20#comp.writeAllHistoToFile("histoCompare.pdf", logFile="histoCompare.log")
21comp.compareToStructuredPDF("histoCompare.pdf")