예제 #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()
예제 #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