Ejemplo n.º 1
0
				def f(x,y,Z,Epn, height):
					sum = 0
					for detection in a:
						x0 = float(detection[0])
						y0 = float(detection[1])
						count = float(detection[2])
						category = detection[3]
						dangle = float(detection[4])
						sum += ll.run(x,y,math.fabs(Epn),Z, height, x0,y0, count, category, eff, phi, epsilon)
					return sum
	def f(x,y,Z,Epn, height):
		sum = 0
		for detection in a:
			x0 = float(detection[0])
			y0 = float(detection[1])
			count = float(detection[2])
			bkgcount = float(detection[3])
			category = detection[4]
			sum += ll.run(x,y,Epn,Z, height, x0,y0, count, bkgcount, category, eff, phi, epsilon)
		return sum
Ejemplo n.º 3
0
					def f(x,y,Z,Epn, height):
						sum = 0
						for detection in a:
							x0 = float(detection[0])
							y0 = float(detection[1])
							count = float(detection[2])
							bkgcount= float(detection[3])
							category = detection[4]
							dangle = float(detection[5])
							sum += ll.run(x,y,Epn,Z, height, x0,y0, count, bkgcount, category, eff, smearphi, smearepsilon)
						return sum