CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
pileupParser.pileupParser Class Reference
Inheritance diagram for pileupParser.pileupParser:

Public Member Functions

def __init__ (self, selectStr)
 
def numls (self, run)
 
def numruns (self)
 
def runs (self)
 
def runsandls (self)
 
def runsandlsStr (self)
 

Private Attributes

 __result
 
 __strresult
 

Detailed Description

Definition at line 4 of file pileupParser.py.

Constructor & Destructor Documentation

◆ __init__()

def pileupParser.pileupParser.__init__ (   self,
  selectStr 
)

Definition at line 5 of file pileupParser.py.

5  def __init__(self,selectStr):
6  self.__result={}
7  self.__strresult={}
8  strresult=json.loads(selectStr)
9  for k,v in strresult.items():
10 # expandedvalues=[]
11 # print v
12  ldict={}
13  for elems in v:
14  llist = [ elems[1],elems[2],elems[3] ]
15  ldict[int(elems[0])] = llist
16 
17 
18 # for w in v:
19 # if len(w)==0:
20 # self.__result[int(k)]=expandedvalues
21 # self.__strresult[k]=[]
22 # continue
23 
32  self.__result[int(k)]=ldict
33 # self.__strresult[k]=[str(x) for x in expandedvalues]

Member Function Documentation

◆ numls()

def pileupParser.pileupParser.numls (   self,
  run 
)

◆ numruns()

def pileupParser.pileupParser.numruns (   self)

◆ runs()

def pileupParser.pileupParser.runs (   self)

◆ runsandls()

def pileupParser.pileupParser.runsandls (   self)
return expanded {run:lslist}

Definition at line 36 of file pileupParser.py.

36  def runsandls(self):
37  '''return expanded {run:lslist}
38  '''
39  return self.__result

References pileupParser.pileupParser.__result, csvLumibyLSParser.csvLumibyLSParser.__result, EgammaHLTValidationUtils.EgammaDQMModuleMaker.__result, and SequenceTypes._CopyAndExcludeSequenceVisitorOld.__result.

◆ runsandlsStr()

def pileupParser.pileupParser.runsandlsStr (   self)
return expanded {'run':lslist}

Definition at line 40 of file pileupParser.py.

40  def runsandlsStr(self):
41  '''return expanded {'run':lslist}
42  '''
43  return self.__strresult

References pileupParser.pileupParser.__strresult, and csvLumibyLSParser.csvLumibyLSParser.__strresult.

Member Data Documentation

◆ __result

pileupParser.pileupParser.__result
private

◆ __strresult

pileupParser.pileupParser.__strresult
private
writedatasetfile.runs
runs
Definition: writedatasetfile.py:27
relativeConstraints.keys
keys
Definition: relativeConstraints.py:89
createfilelist.int
int
Definition: createfilelist.py:10