Esempio n. 1
0
    def get_requested_values(cls):
        adict = WIMPModel.get_requested_values()
        del adict['constant_energy']
        del adict['constant_time']
        del adict['background_rate']
        adict['fix_l_line_ratio'] = ('Fix ratio of the Ge and Zn L-lines', False)
        adict['data_file'] = ('Name of data root file', 'temp.root')
        adict['object_name'] = ("""Name of object inside data file. 
This can be a:                                             
                                                                
TH1: the bins will be interprected as energy. 
A RooDataHist will be used to generate a binned fit.  
                                                                
TTree: with branches, 'ee_energy', 'time', 'weight', plus others.
'time' and ee_energy are both optional, it is assumed that if they
don't exist that time and energy are constant.
'weight' is optional, but when present will adjust the weight of each
entry to 'weight' in the RooDataSet.
A RooDataSet will be used to generate an unbinned fit. 
                                """, 'output_data')
        adict['data_set_cuts'] = ("""String of cuts to apply. 
This only applies if the object passed
in is a TTree (see object_name).  These cuts will be used to generate
a subset of the TTree and pass into RooDataSet.
                                  """, '')
        return adict
Esempio n. 2
0
 def get_requested_values(cls):
     adict = WIMPModel.get_requested_values()
     del adict['constant_energy']
     del adict['constant_time']
     del adict['wimp_mass']
     del adict['variable_quenching']
     adict['model_amplitude'] = ('Initial model amplitude', 0.1)
     return adict