Functions | |
def | MakePair |
def | ReadNewList |
Variables | |
tuple | defaultDict = MakePair(defaultList) |
defaultList = hcalLaserEventFilter.BadRunEventNumbers | |
tuple | keys = sorted(defaultDict.keys()) |
tuple | lines = open(i,'r') |
tuple | newBadDict = ReadNewList(newlines) |
tuple | newkeys = newBadDict.keys() |
list | newlines = [] |
dictionary | notInNew = {} |
dictionary | notInOld = {} |
tuple | out = open("badEvents.py",'w') |
tuple | thistime = time.time() |
def GenerateHcalLaserBadRunList.MakePair | ( | startlist | ) |
Definition at line 18 of file GenerateHcalLaserBadRunList.py.
References sistrip::SpyUtilities.range().
Referenced by ReadNewList().
def GenerateHcalLaserBadRunList.ReadNewList | ( | newlist | ) |
Read a new list of bad runs from an input file, and creates a new list of output keys for the bad run/events.
Definition at line 27 of file GenerateHcalLaserBadRunList.py.
References MakePair(), and print().
tuple GenerateHcalLaserBadRunList.defaultDict = MakePair(defaultList) |
Definition at line 68 of file GenerateHcalLaserBadRunList.py.
GenerateHcalLaserBadRunList.defaultList = hcalLaserEventFilter.BadRunEventNumbers |
Definition at line 67 of file GenerateHcalLaserBadRunList.py.
tuple GenerateHcalLaserBadRunList.keys = sorted(defaultDict.keys()) |
Definition at line 69 of file GenerateHcalLaserBadRunList.py.
tuple GenerateHcalLaserBadRunList.lines = open(i,'r') |
Definition at line 81 of file GenerateHcalLaserBadRunList.py.
tuple GenerateHcalLaserBadRunList.newBadDict = ReadNewList(newlines) |
Definition at line 84 of file GenerateHcalLaserBadRunList.py.
tuple GenerateHcalLaserBadRunList.newkeys = newBadDict.keys() |
Definition at line 88 of file GenerateHcalLaserBadRunList.py.
list GenerateHcalLaserBadRunList.newlines = [] |
Definition at line 76 of file GenerateHcalLaserBadRunList.py.
dictionary GenerateHcalLaserBadRunList.notInNew = {} |
Definition at line 91 of file GenerateHcalLaserBadRunList.py.
dictionary GenerateHcalLaserBadRunList.notInOld = {} |
Definition at line 90 of file GenerateHcalLaserBadRunList.py.
tuple GenerateHcalLaserBadRunList.out = open("badEvents.py",'w') |
Definition at line 93 of file GenerateHcalLaserBadRunList.py.
tuple GenerateHcalLaserBadRunList.thistime = time.time() |
Definition at line 95 of file GenerateHcalLaserBadRunList.py.