Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:38:34

0001 # Implementation to draw all iterations of an APE measurement
0002 # to check convergence
0003 from resultPlotter import *
0004 from systematicErrors import *
0005 from granularity import *
0006 import os
0007 try:
0008     base = os.environ['CMSSW_BASE']+"/src/Alignment/APEEstimation"
0009 except KeyError:
0010     base = ""
0011 
0012 plot = ResultPlotter()
0013 plot.setOutputPath(base+"/hists/workingArea/") 
0014 # label(also used as name when adding systematic errors), inputFile, color (optional, automatic by default), 
0015 # marker (optional, 20 by default, 0 is line), hitNumbers (optional, file number of hits in each sector, allData.root)
0016 plot.addInputFile("label", base+"/hists/workingArea/iter14/allData_iterationApe.root",  color = ROOT.kGray+2)
0017 plot.setGranularity(standardGranularity)
0018 plot.draw()