/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Alignment/APEEstimation/test/plottingTools/drawValidation.py
21 строка
927 B
mteroerd
Bug fixes
11 авг 2021, 10:29
11 авг 2021, 10:29
eb9c7bd
Код
Авторство
О чём код?
# Implementation to draw results of an APE measurement # to check convergence from validationPlotter import * from granularity import * import ROOT import os try: base = os.environ['CMSSW_BASE']+"/src/Alignment/APEEstimation" except KeyError: base = "" plot = ValidationPlotter() plot.setOutputPath(base+"/hists/workingArea/validation") # label(also used as name when adding systematic errors), inputFile, color (optional, automatic by default), # marker (optional, 20 by default, 0 is line) # Multiple inputs possible, in which case the plots will be normalized # Remember that the folder has to be either iter0 or iter15 or baseline plot.addInputFile("mp3401", "{base}/hists/workingArea/iter15/allData.root".format(base=base),color=ROOT.kBlack) plot.addInputFile("Design", "{base}/hists/Design/baseline/allData.root".format(base=base),color=ROOT.kRed,marker=0) plot.setGranularity(standardGranularity) plot.draw()