Exemplo n.º 1
0
	def plotEMaxNoL1Muon(self):
		boxes = None

		eVsEtaPhiLib = EvsEtaPhi(self.filename, self.data, self.DEBUG)
		libStuff = eVsEtaPhiLib.makeEmaxPlot('_NoL1_Tdmi','# of E_{Max} in HO tiles around extrapolated muon position')
		#boxes = drawHoBoxes(libStuff[0])
		return [libStuff,boxes]
Exemplo n.º 2
0
    def plotEMaxNoL1Muon(self):
        boxes = None

        eVsEtaPhiLib = EvsEtaPhi(self.filename, self.data, self.DEBUG)
        libStuff = eVsEtaPhiLib.makeEmaxPlot(
            '_NoL1_Tdmi',
            '# of E_{Max} in HO tiles around extrapolated muon position')
        #boxes = drawHoBoxes(libStuff[0])
        return [libStuff, boxes]
Exemplo n.º 3
0
		plots = ControlPlots(filename=args.source,data=args.data)
		res1 = plots.plotL1PerPt()
		res2 = plots.plotHoIEtaIPhi()
		res3 = plots.plotHoEtaPhiMatchedToL1()
		resTightAndHoIetaIphi = plots.plotHoIEtaIPhiMatchedToTightL1()
		resL1AndHoIetaIphi = plots.plotHoIEtaIPhiMatchedToL1()
		resPatTightHoEtaPhi = plots.plotHoEtaPhiMatchedToTightL1()
		resSameScale = plots.plotIEtaIPhiOnSameScales()
		resL1Multiplicity = plots.plotL1PresentMultiplicity()
		#res2 = plots.plotHoDigiMatchesPerDetId()
		if not args.data:
			res4 = plots.plotEfficiencyCountCheck()
			res5 = plots.plotGenEtaPhi()
		raw_input('-->')
	elif(script == 'eVsEtaPhi'):
		lib = EvsEtaPhi(filename = args.source, data=args.data)
		lib.calculateCentralFractionInTight()
		reseMaxCounts = lib.plotEMaxCountsForTightMuons()
		res = lib.plotAverageEnergyAroundL1()
		res2 = lib.plotAverageEMaxAroundL1()
		res3 = lib.plot1DEnergyAroundL1()
		res4 = lib.plot1DEMaxAroundL1()
		res5 = lib.compareHistogramMethods()
		res6 = lib.plotEavForTightMuons()
		res7 = lib.plotEavPerWheelForTightMuons()
		resWheelwise = lib.plotEAveragePerWheel()
		resEtaPhiTight = lib.plotEtaPhiForTightL1()
		raw_input('-->')
	elif(script == 'phiShift'):
		lib = DeltaPhi(filename = args.source,data=args.data)
		resDeltaPhi = lib.plotDeltaPhiHistogram()
Exemplo n.º 4
0
def plotEVsEtaPhi():
	lib = EvsEtaPhi(filename = args.source, data=args.data,debug = args.DEBUG)
	updateModuleName(lib)
	lib.calculateCentralFractionInTight()
	reseMaxCountsTight = lib.plotEMaxCountsForTightMuons()
	reseMaxCounts = lib.plotEMaxCounts()
	res = lib.plotAverageEnergyAroundL1()
	res2 = lib.plotAverageEMaxAroundL1()
	res3 = lib.plot1DEnergyAroundL1()
	res4 = lib.plot1DEMaxAroundL1()
	res5 = lib.compareHistogramMethods()
	res6 = lib.plotEavForTightMuons()
	res7 = lib.plotEavPerWheelForTightMuons()
	resWheelwise = lib.plotEAveragePerWheel()
	resEtaPhiTight = lib.plotEtaPhiForTightL1()
	checkUserInput()
	return
Exemplo n.º 5
0
def plotEVsEtaPhi():
    lib = EvsEtaPhi(filename=args.source, data=args.data, debug=args.DEBUG)
    updateModuleName(lib)
    lib.calculateCentralFractionInTight()
    reseMaxCountsTight = lib.plotEMaxCountsForTightMuons()
    reseMaxCounts = lib.plotEMaxCounts()
    res = lib.plotAverageEnergyAroundL1()
    res2 = lib.plotAverageEMaxAroundL1()
    res3 = lib.plot1DEnergyAroundL1()
    res4 = lib.plot1DEMaxAroundL1()
    res5 = lib.compareHistogramMethods()
    res6 = lib.plotEavForTightMuons()
    res7 = lib.plotEavPerWheelForTightMuons()
    resWheelwise = lib.plotEAveragePerWheel()
    resEtaPhiTight = lib.plotEtaPhiForTightL1()
    checkUserInput()
    return