Public Member Functions | |
def | runsList |
Definition at line 3 of file DiscoverProcessedRuns.py.
def DiscoverProcessedRuns::DiscoverProcessedRuns::runsList | ( | self | ) |
Definition at line 4 of file DiscoverProcessedRuns.py.
00005 : 00006 print "cd "+self.CMSSW_Version+"; eval `scramv1 r -sh`; cd -; cmscond_list_iov -c "+self.Database+" -P "+self.AuthenticationPath+" -t "+self.TagName 00007 fullList = os.popen("source /afs/cern.ch/cms/sw/cmsset_default.sh; cd "+self.CMSSW_Version+"/src; eval `scramv1 r -sh`; cd -; cmscond_list_iov -c "+self.Database+" -P "+self.AuthenticationPath+" -t "+self.TagName).read() 00008 runsListInTag = list() 00009 # print fullList 00010 for line in fullList.split("\n"): 00011 # print line 00012 if( line.find("=HDQMSummary") != -1 and not line.startswith("1 ")): 00013 # print line.split()[0] 00014 runsListInTag.append(line.split()[0]) 00015 return runsListInTag