예제 #1
0
파일: histos.py 프로젝트: cshimmin/supy
 def __init__(self, var, N,low,up, baseWeight = "", weights = [], pred = "one") :
     for item in ['var','N','low','up','baseWeight','weights','pred'] : setattr(self,item,eval(item))
     self.moreName = "%s (%d); bW:%s; w:%s"%(var,N,baseWeight,utils.contract(weights))
예제 #2
0
파일: trigger.py 프로젝트: betchart/topref
    def __init__(self, sortedListOfPaths=[], unreliable={}):
        self.sortedListOfPaths = sortedListOfPaths
        self.unreliable = unreliable

        self.moreName = "any of " + utils.contract(self.sortedListOfPaths)
예제 #3
0
 def __init__(self, sortedListOfPaths=[]):
     self.sortedListOfPaths = sortedListOfPaths
     self.moreName = "lowest unprescaled of " + utils.contract(
         self.sortedListOfPaths)
예제 #4
0
    def __init__(self, sortedListOfPaths=[], unreliable={}):
        self.sortedListOfPaths = sortedListOfPaths
        self.unreliable = unreliable

        self.moreName = "any of " + utils.contract(self.sortedListOfPaths)
예제 #5
0
파일: trigger.py 프로젝트: betchart/topref
 def __init__(self, sortedListOfPaths = []) :
     self.sortedListOfPaths = sortedListOfPaths
     self.moreName = "lowest unprescaled of " + utils.contract(self.sortedListOfPaths)