def __init__(self): ''' Constructor Default values which should give decent results out of the box This is the only present class which can handle 2D histograms which is why the values for that are setup here ''' self.yRange = (0, 0) #only used for 2D histograms self.is2D=-1 # -1 means unspecified plotBase.__init__(self)
def __init__(self): ''' Constructor Default values which should give decent results out of the box Make sure to change the values of xTitle and yTitle ''' self.yTitleRight = "I'm still a lazy student" plotBase.__init__(self)
def __init__(self): ''' Constructor Default values which should give decent results out of the box Make sure to change the values of xTitleMiddle and yTitleMiddle ''' self.yTitleMiddle = "I'm still a lazy student" self.xTitleMiddle = "This plot is not actually correct" self.middlePositions = (0.65, 0.6) self.middleSize = (0.3, 0.3) plotBase.__init__(self) self.y_up_mult=1.3 self.y_down_mult = 1.1
def __init__(self): ''' Constructor Default values which should give decent results out of the box Interesting parameters are doMCoverData : flips the ratio if wanted centerUncertAtZero : centers systematic uncertainites (if present, see errorBars) at zero instead at the ratiopoints ''' self.ratioRange = 0.25 self.size=0.1 self.ratioType = "EY" self.doMCoverData=False self.centerUncertAtZero=True self.ratioRange = 0.25 self.ratioType = "EY" self.ratioTitle="rel. difference" plotBase.__init__(self) self.area_first_pad_corr = 1. / 0.75