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