Public Member Functions | |
def | __init__ |
def | __str__ |
def | dbs |
def | lumiRanges |
Public Attributes | |
dataSet | |
events | |
files | |
ib_blacklist | |
ib_block | |
label | |
location | |
run | |
split |
Definition at line 45 of file relval_steps.py.
def relval_steps::InputInfo::__init__ | ( | self, | |
dataSet, | |||
label = '' , |
|||
run = [] , |
|||
files = 1000 , |
|||
events = InputInfoNDefault , |
|||
split = 8 , |
|||
location = 'CAF' , |
|||
ib_blacklist = None , |
|||
ib_block = None |
|||
) |
Definition at line 46 of file relval_steps.py.
def relval_steps::InputInfo::__str__ | ( | self | ) |
Definition at line 78 of file relval_steps.py.
def relval_steps::InputInfo::dbs | ( | self | ) |
Definition at line 57 of file relval_steps.py.
00058 : 00059 query_by = "block" if self.ib_block else "dataset" 00060 query_source = "{0}#{1}".format(self.dataSet, self.ib_block) if self.ib_block else self.dataSet 00061 if len(self.run) is not 0: 00062 command = ";".join(["das_client.py --host='https://dastest.cern.ch' --limit=0 --query 'file {0}={1} run={2}'".format(query_by, query_source, query_run) for query_run in self.run]) 00063 command = "({0})".format(command) 00064 else: 00065 command = "das_client.py --host='https://dastest.cern.ch' --limit=0 --query 'file {0}={1} site=T2_CH_CERN'".format(query_by, query_source) 00066 00067 # Run filter on DAS output 00068 if self.ib_blacklist: 00069 command += " | grep -E -v " 00070 command += " ".join(["-e '{0}'".format(pattern) for pattern in self.ib_blacklist]) 00071 command += " | sort -u" 00072 return command
def relval_steps::InputInfo::lumiRanges | ( | self | ) |
Definition at line 73 of file relval_steps.py.
Definition at line 46 of file relval_steps.py.
Definition at line 46 of file relval_steps.py.
Definition at line 46 of file relval_steps.py.
Definition at line 46 of file relval_steps.py.
Definition at line 46 of file relval_steps.py.
Definition at line 46 of file relval_steps.py.
Definition at line 46 of file relval_steps.py.
Definition at line 46 of file relval_steps.py.
Definition at line 46 of file relval_steps.py.