예제 #1
0
 def __init__(self, triggername, triggerefficiency):
     """
     Constructor
     """
     SinglePanelPlot.__init__(self)
     self.__triggername = triggername
     self.__triggereff = triggerefficiency
예제 #2
0
 def __init__(self):
     """
     Constructor
     """
     SinglePanelPlot.__init__(self)
     self.__frame = None
     self._comparisonContainer = None    # be specified in inheriting classes
     self.__legendAttributes = None
     self.__padattributes = {"logx":False, "logy":False, "gridx":False, "gridy":False}
예제 #3
0
 def __init__(self, minbiasspectrum, triggeredSpectrum):
     '''
     Constructor
     '''
     SinglePanelPlot.__init__(self)
     self.__minbiasSpectrum = GraphicsObject(minbiasspectrum, Style(kRed,25))
     triggeredSpectrumMaker = TriggeredSpectrumScaler(minbiasspectrum, triggeredSpectrum)
     self.__triggeredSpectrum = GraphicsObject(triggeredSpectrumMaker.GetScaledTriggeredSpectrum(), Style(kBlue, 24))
     combinedSpectrumMaker = SpectrumCombiner(minbiasspectrum, self.__triggeredSpectrum.GetData())
     self.__combinedSpectrum = GraphicsObject(combinedSpectrumMaker.MakeCombinedSpectrum(50.), Style(kBlack, 20))
     self.__labeltext = None
예제 #4
0
 def __init__(self, weights):
     """
     Constructor
     """
     SinglePanelPlot.__init__(self)
     self.__points = weights
예제 #5
0
 def __init__(self):
     SinglePanelPlot.__init__(self)
     self.__data = self.TriggerDataContainer()
예제 #6
0
 def __init__(self, rawspectrum, isMinBias):
     """
     Constructor
     """
     SinglePanelPlot.__init__(self)
     self.__rawspectrum = self.RawData(rawspectrum, isMinBias)
예제 #7
0
 def __init__(self, minbiasspectrum):
     SinglePanelPlot.__init__(self)
     self.__integralChecker = IntegralRangeChecker(minbiasspectrum)
예제 #8
0
 def __init__(self):
     SinglePanelPlot.__init__(self)
     self.__data = []
예제 #9
0
 def __init__(self):
     SinglePanelPlot.__init__(self)
     self.__ptreachdata = {}