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 752 of file dqm_interfaces.py.

00753                                     :
00754   black_list=[]
00755   # replace the + with " ":
00756   black_list_str=black_list_str.replace("__"," ")
00757   if len(black_list_str)>0:
00758     for ele in black_list_str.split(","):
00759       dirname,level=ele.split("@")
00760       level=int(level)
00761       dirid=None
00762       if "/" not in dirname:
00763         dirid=DirID(dirname,level)
00764       else:
00765         mother,daughter=dirname.split("/")
00766         dirid=DirID(daughter,level,mother)
00767       if not dirid in black_list:
00768         black_list.append(dirid)
00769         
00770   return black_list
00771     
00772 #-------------------------------------------------------------------------------
00773   

Variable Documentation

Definition at line 25 of file dqm_interfaces.py.