def __init__(self, name): """ Constructor """ Frame.__init__(self, name, 0.0, 100.0, 0.0, 1.0) self.SetXtitle("p_{t} (GeV/c)") self.SetYtitle("Trigger efficiency")
def __init__(self, name): """ Constructor :param name: Name of the frame :type name: str """ Frame.__init__(self, name, 0., 100., 1e-12, 100.) self.SetXtitle("p_{t} (GeV/c)") self.SetYtitle("1/N_{ev} dN/dp_{t} ((GeV/c)^{-1})")
def __init__(self, name): """ Constructor :param name: Name of the frame :type name: str """ Frame.__init__(self, name, 0., 100., 0., 1.) self.SetXtitle("p_{t, gen} (GeV/c)") self.SetYtitle("Efficiency")
def __init__(self, name, ptmin = 0): """ Constructor :param name: Name of the frame :type name: str """ Frame.__init__(self, name, ptmin, 100., 1e-12, 10) self.SetXtitle("p_{t} (GeV/c)") self.SetYtitle("1/(2 #pi p_{t} N_{ev}) dN/(dp_{t} d#eta) (GeV/c)^{-2}")
def __init__(self, name, yrange, ytitle): """ Constructor :param name: Name of the frame :type name: str :param yrange: Plot range in y direction (keys min and max required) :type yrange: dictionary :param ytitle: Title of the y-axis :type ytitle: str """ Frame.__init__(self, name, 0., 100., yrange["min"], yrange["max"]) self.SetXtitle("p_{t} (GeV/c)") self.SetYtitle(ytitle)
def __init__(self, name, datarange, titles): """ Constructor :param name: Name of the fram :type name: str :param datarange: min. and max. value of the data within the frame in both coordinates :type datarange: dictionary :param titles: Title of the x and y axis :type titles: dictionary """ xmin = self.__DeterminePlotRange("MIN", datarange["xmin"]) ymin = self.__DeterminePlotRange("MIN", datarange["ymin"]) xmax = self.__DeterminePlotRange("MAX", datarange["xmax"]) ymax = self.__DeterminePlotRange("MAX", datarange["ymaxs"]) Frame.__init__(self, name, xmin, xmax, ymin, ymax) self.SetXtitle(titles["xtitle"]) self.SetYtitle(titles["ytitle"])
def __init__(self): Frame.__init__(self, "eframe", 0., 100., 1e-20, 1e-5) self.SetXtitle("E (GeV)") self.SetYtitle("d#sigma/dE (mb/GeV)" )
def __init__(self): Frame.__init__(self, "sframe", 0., 100., 1e-20, 1e-5) self.SetXtitle("p_{t} (GeV/c)") self.SetYtitle("d#sigma/dp_{t} (mb/(GeV/c))" )
def __init__(self, name): Frame.__init__(self, "ptframe%s" %(name), 0., 100., 1e-10, 100) self.SetXtitle("p_{t} (GeV/c)") self.SetYtitle("1/N_{event} dN/dp_{t} ((GeV/c)^{-1})")