![]() |
![]() |
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 41 of file relval_steps.py.
def relval_steps::InputInfo::__init__ | ( | self, | |
dataSet, | |||
label = '' , |
|||
run = [] , |
|||
files = 1000 , |
|||
events = InputInfoNDefault , |
|||
split = 10 , |
|||
location = 'CAF' , |
|||
ib_blacklist = None , |
|||
ib_block = None |
|||
) |
Definition at line 42 of file relval_steps.py.
def relval_steps::InputInfo::__str__ | ( | self | ) |
Definition at line 74 of file relval_steps.py.
def relval_steps::InputInfo::dbs | ( | self | ) |
Definition at line 53 of file relval_steps.py.
00054 : 00055 query_by = "block" if self.ib_block else "dataset" 00056 query_source = "{0}#{1}".format(self.dataSet, self.ib_block) if self.ib_block else self.dataSet 00057 if len(self.run) is not 0: 00058 command = ";".join(["das_client.py --limit=0 --query 'file {0}={1} run={2}'".format(query_by, query_source, query_run) for query_run in self.run]) 00059 command = "({0})".format(command) 00060 else: 00061 command = "das_client.py --limit=0 --query 'file {0}={1} site=T2_CH_CERN'".format(query_by, query_source) 00062 00063 # Run filter on DAS output 00064 if self.ib_blacklist: 00065 command += " | grep -E -v " 00066 command += " ".join(["-e '{0}'".format(pattern) for pattern in self.ib_blacklist]) 00067 command += " | sort -u" 00068 return command
def relval_steps::InputInfo::lumiRanges | ( | self | ) |
Definition at line 69 of file relval_steps.py.
Definition at line 42 of file relval_steps.py.
Definition at line 42 of file relval_steps.py.
Definition at line 42 of file relval_steps.py.
Definition at line 42 of file relval_steps.py.
Definition at line 42 of file relval_steps.py.
Definition at line 42 of file relval_steps.py.
Definition at line 42 of file relval_steps.py.
Definition at line 42 of file relval_steps.py.
Definition at line 42 of file relval_steps.py.