1# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3# Create Physics Validation Web page
4# Author: Arnaud Duperrin <duperrin@cppm.in2p3.fr> - March 2021
5
6# python CreatePhysValWebPage.py -h
7# python CreatePhysValWebPage.py -i ROC
8
9# Import os module to read directory
10import os,glob,argparse,sys
11
12parser = argparse.ArgumentParser(description='Create the Physics Validation web page:', usage='%(prog)s -i ROC/ ')
13parser.add_argument("-i", "--input_dir", help="path to the folder holding the plots (default: ./)", default=os.getcwd())
14parser.add_argument("-n", "--number_of_histo", help="number of histo per raw (default is 4)", default=4)
15#parser.add_argument("-o", "--output_dir", help="path for the output (default: ./FTAG_PhysValWebPage.html", default=os.getcwd()+"/FTAG_PhysValWebPage.html")
16parser.add_argument("-f", "--format", help='format for the plots (default: "*.png")', default="*.png")