def __init__(self, name, dataframe, selection_list_labels=None, **kw): Algorithm.__init__(self, name) # declare all properties with default values self.declareProperty("Basepath", "Event/ImpactTool_bkup", "Impact base path histogram.") self.declareProperty("EtBinningValues", [], "Et bin selection for data selection.") self.declareProperty("EtaBinningValues", [], "Et bin selection for data selection.") # Set all properties values from the contructor args for key, value in kw.items(): self.setProperty(key, value) if selection_list_labels is None: # default selection names definition self.__selections = [ 'ringer', 'no_ringer', ] else: self.__selections = selection_list_labels self.__selectionFeatures = list()
def __init__(self, name, **kw): Algorithm.__init__(self, name) # Set all properties for key, value in kw.items(): if key in self.__property: self.declareProperty( key, value ) else: MSG_FATAL( self, "Property with name %s is not allow for %s object", key, self.__class__.__name__)
def __init__(self, name, dojpsiee=False, **kw): Algorithm.__init__(self, name) self.__groups = list() # declare all props here self.declareProperty( "Basepath", "Event/EfficiencyTool", "Histograms base path for the efficiency tool" ) self.declareProperty( "DoJpisee", dojpsiee , "Use the J/psiee et bins in the eff et histograms." ) # Set property values using the constructor args for key, value in kw.items(): self.setProperty(key, value)
def __init__(self, name, **kw): Algorithm.__init__(self, name) self._event = {} self._event_label = [] self._save_these_bins = list() self._extra_features = list() self.declareProperty( "OutputFile", 'sample.pic', "The output file name" ) for key, value in kw.items(): self.setProperty(key, value)
def __init__(self, name, **kw): Algorithm.__init__(self, name) # declare all properties with default values self.declareProperty("Basepath", "Event/QuadrantTool", "Quadrant base path histogram.") self.declareProperty("EtBinningValues", [], "Et bin selection for data selection.") self.declareProperty("EtaBinningValues", [], "Et bin selection for data selection.") # Set all properties values from the contructor args for key, value in kw.items(): self.setProperty(key, value) self.__quadrantFeatures = list()
def __init__(self): Algorithm.__init__(self, "Emulator") self.__tools = {}
def __init__(self, name): Algorithm.__init__(self, name) # Cut type and values self.__cutValues = collections.OrderedDict()
def __init__(self, name, outputname): Algorithm.__init__(self, name) self._outputname = outputname self._event = []
def __init__(self, name, L1Item, chain): Algorithm.__init__(self, name) self.__trigInfo = TriggerInfo(chain) self.__l1item = L1Item self.__trigger = chain
def __init__( self, name, **kw ): Algorithm.__init__( self, name ) self._basepath = retrieve_kw( kw, 'basepath' , '')
def __init__(self, name, **kw): Algorithm.__init__(self, name) self._outputname = retrieve_kw(kw, 'outputname', 'collection.pic') self._event = [] self._event_label = []
def __init__(self, name, **kw): Algorithm.__init__(self, name) # List of hypos in this selector self.__hypos = None
def __init__(self, name, chain): Algorithm.__init__(self, name) self.__trigger = chain[4::] if chain.startswith('HLT_') else chain
def __init__(self, name, **kw): Algorithm.__init__(self, name) self._basepath = retrieve_kw(kw, 'basepath', 'particle') self._energy_bins = retrieve_kw(kw, 'energy_bins', [])