ATLAS Offline Software
|
Functions | |
def | getCurrentYear () |
def | getRunsFromPeriods (list_of_periods) |
def | getSortedAvailablePeriods () |
def | getListOfPeriodsFromOrdinateRange (begin, end, requiredProjectName, specialData=None) |
def | getDataPeriodsWithinRange (period_range) |
def | GetRuns (arg) |
Variables | |
pat_last = re.compile(r"(?:l|la|las|last) (\d*)$") | |
pat_number = re.compile(r"\d{5,8}[+-]?$") | |
pat_range = re.compile(r"\d{5,8}-\d{5,8}$") | |
pat_short = re.compile(r"(?:(?:\d{2})(\d{2})\.)?([a-zA-Z]+\d*)$") | |
pshort = re.compile(r"(?P<first>(data|20)?(?P<year>\d{2})(_.*)?\.)?(period)?(?P<period>[a-zA-Z])(?P<subperiod>\d+)?$",re.I) | |
def python.AtlRunQueryInterpretDataPeriods.getCurrentYear | ( | ) |
returns the last two digits of current year
Definition at line 21 of file AtlRunQueryInterpretDataPeriods.py.
def python.AtlRunQueryInterpretDataPeriods.getDataPeriodsWithinRange | ( | period_range | ) |
Definition at line 92 of file AtlRunQueryInterpretDataPeriods.py.
def python.AtlRunQueryInterpretDataPeriods.getListOfPeriodsFromOrdinateRange | ( | begin, | |
end, | |||
requiredProjectName, | |||
specialData = None |
|||
) |
requiredProjectName e.g. data15_13TeV, data15_cos, data15_hip, etc. . If None then it is required that the project name ends in TeV
Definition at line 54 of file AtlRunQueryInterpretDataPeriods.py.
def python.AtlRunQueryInterpretDataPeriods.GetRuns | ( | arg | ) |
arg: 'run data10_7TeV.periodA' or 'run periodA' (where 'data11_7TeV' is assumed) # or 'data10_7TeV.periodA-periodC' or 'data10_7TeV.periodA,data10_7TeV.periodB,...' # This is case sensitive !!
Definition at line 124 of file AtlRunQueryInterpretDataPeriods.py.
def python.AtlRunQueryInterpretDataPeriods.getRunsFromPeriods | ( | list_of_periods | ) |
find the run numbers for given period(s) list_of_periods periods in format [('10','B1'),('11','A'),...]
Definition at line 30 of file AtlRunQueryInterpretDataPeriods.py.
def python.AtlRunQueryInterpretDataPeriods.getSortedAvailablePeriods | ( | ) |
Definition at line 44 of file AtlRunQueryInterpretDataPeriods.py.
python.AtlRunQueryInterpretDataPeriods.pat_last = re.compile(r"(?:l|la|las|last) (\d*)$") |
Definition at line 12 of file AtlRunQueryInterpretDataPeriods.py.
python.AtlRunQueryInterpretDataPeriods.pat_number = re.compile(r"\d{5,8}[+-]?$") |
Definition at line 13 of file AtlRunQueryInterpretDataPeriods.py.
python.AtlRunQueryInterpretDataPeriods.pat_range = re.compile(r"\d{5,8}-\d{5,8}$") |
Definition at line 14 of file AtlRunQueryInterpretDataPeriods.py.
python.AtlRunQueryInterpretDataPeriods.pat_short = re.compile(r"(?:(?:\d{2})(\d{2})\.)?([a-zA-Z]+\d*)$") |
Definition at line 15 of file AtlRunQueryInterpretDataPeriods.py.
python.AtlRunQueryInterpretDataPeriods.pshort = re.compile(r"(?P<first>(data|20)?(?P<year>\d{2})(_.*)?\.)?(period)?(?P<period>[a-zA-Z])(?P<subperiod>\d+)?$",re.I) |
Definition at line 16 of file AtlRunQueryInterpretDataPeriods.py.