def __init__(self):
     """
     Constructor
     """
     TwoPanelPlot.__init__(self)
     self.__model = PeriodComparisonData()
     self.__label = None
Example #2
0
 def __init__(self, rawspectrum, fitrange, model = None):
     '''
     Constructor
     '''
     TwoPanelPlot.__init__(self)
     self.__yieldCalculator = YieldCalculator(rawspectrum, model)
     self.__yieldCalculator.Initialise(fitrange)
     self.__models = {10: EvDepPtReachData(rawspectrum, self.__yieldCalculator, 10), \
                       50:EvDepPtReachData(rawspectrum,self.__yieldCalculator, 50), \
                       100:EvDepPtReachData(rawspectrum, self.__yieldCalculator, 100)} 
     self.__labeltext = None
 def __init__(self, data, param):
     """
     Constructor
     
     :param data: evaluated efficiency
     :type data: TH1
     :param param: fit to the efficiency
     :type param: TF1
     """
     TwoPanelPlot.__init__(self)
     self.__data = deepcopy(data)
     self.__param = deepcopy(param)
     self.Create()
 def __init__(self, rawspectrum, correctedspectrum):
     """
     Constructor
     
     :param rawspectrum: Raw spectrum, before efficiency correction
     :type rawspectrum: TH1
     :param rawspectrum: efficiency corrected spectrum, after efficiency correction
     :type correctedspectrum: TH1
     """
     TwoPanelPlot.__init__(self)
     self.__rawspectrum = deepcopy(rawspectrum)
     self.__correctedspectrum = correctedspectrum
     self.Create()
Example #5
0
 def __init__(self, comparison):
     TwoPanelPlot.__init__(self)
     self.__comparison =  comparison
     self.__tagText = None