Exemple #1
0
def plotTruthPtResolution():
	libTruth = PtResolution(filename=args.source,truth=True,data=args.data,debug = args.DEBUG)
	updateModuleName(libTruth)
	resTruth4 = libTruth.plotL1()
	resTruth5 = libTruth.plotL1Tight()
	resTruth6 = libTruth.plotL1AndHo()
	resTruth7 = libTruth.plotL1TightAndHo()
	resTruth8 = libTruth.plotL1NotHo()
	resTruth9 = libTruth.plotL1TightNotHo()
	resTruth1 = libTruth.plotPtResolutionHistograms()
	resTruth2 = libTruth.plotTightPtResolution()
	resTruth3 = libTruth.plotLoosePtResolution()
	checkUserInput()
Exemple #2
0
def plotPtResolution():
	lib = PtResolution(filename=args.source,truth=False,data=args.data,debug = args.DEBUG)
	updateModuleName(lib)
	res4 = lib.plotL1()
	res5 = lib.plotL1Tight()
	res6 = lib.plotL1AndHo()
	res7 = lib.plotL1TightAndHo()
	res8 = lib.plotL1NotHo()
	res9 = lib.plotL1TightNotHo()
	res1 = lib.plotPtResolutionHistograms()
	res2 = lib.plotTightPtResolution()
	res3 = lib.plotLoosePtResolution()
	checkUserInput()
	return
Exemple #3
0
def plotTruthPtResolution():
    libTruth = PtResolution(filename=args.source,
                            truth=True,
                            data=args.data,
                            debug=args.DEBUG)
    updateModuleName(libTruth)
    resTruth4 = libTruth.plotL1()
    resTruth5 = libTruth.plotL1Tight()
    resTruth6 = libTruth.plotL1AndHo()
    resTruth7 = libTruth.plotL1TightAndHo()
    resTruth8 = libTruth.plotL1NotHo()
    resTruth9 = libTruth.plotL1TightNotHo()
    resTruth1 = libTruth.plotPtResolutionHistograms()
    resTruth2 = libTruth.plotTightPtResolution()
    resTruth3 = libTruth.plotLoosePtResolution()
    checkUserInput()
Exemple #4
0
def plotPtResolution():
    lib = PtResolution(filename=args.source,
                       truth=False,
                       data=args.data,
                       debug=args.DEBUG)
    updateModuleName(lib)
    res4 = lib.plotL1()
    res5 = lib.plotL1Tight()
    res6 = lib.plotL1AndHo()
    res7 = lib.plotL1TightAndHo()
    res8 = lib.plotL1NotHo()
    res9 = lib.plotL1TightNotHo()
    res1 = lib.plotPtResolutionHistograms()
    res2 = lib.plotTightPtResolution()
    res3 = lib.plotLoosePtResolution()
    checkUserInput()
    return