CMS 3D CMS Logo

Classes | Functions | Variables

dqm_interfaces Namespace Reference

Classes

class  DirFetcher
class  DirID
class  DirWalkerDB
class  DirWalkerFile
class  DirWalkerFile_thread_wrapper
class  DQM_DB_Communication
class  DQMcommunicator
class  DQMRootFile
class  Error
class  InvalidNumberOfArguments

Functions

def string2blacklist

Variables

 argv = sys.argv

Function Documentation

def dqm_interfaces::string2blacklist (   black_list_str)

Definition at line 688 of file dqm_interfaces.py.

00689                                     :
00690   black_list=[]
00691   # replace the + with " ":
00692   black_list_str=black_list_str.replace("__"," ")
00693   if len(black_list_str)>0:
00694     for ele in black_list_str.split(","):
00695       dirname,level=ele.split("@")
00696       level=int(level)
00697       dirid=None
00698       if "/" not in dirname:
00699         dirid=DirID(dirname,level)
00700       else:
00701         mother,daughter=dirname.split("/")
00702         dirid=DirID(daughter,level,mother)
00703       if not dirid in black_list:
00704         black_list.append(dirid)
00705         
00706   return black_list
00707     
00708 #-------------------------------------------------------------------------------
00709   

Variable Documentation

Definition at line 25 of file dqm_interfaces.py.