CMS 3D CMS Logo

Classes | Functions | Variables
dirstructure Namespace Reference

Classes

class  Comparison
 
class  CompInfo
 
class  Directory
 
class  Weighted
 

Functions

def logger (msg_level, message)
 
def print_multi_threaded (canvas, img_name)
 

Variables

 _log_level
 
 argv
 

Function Documentation

◆ logger()

def dirstructure.logger (   msg_level,
  message 
)

Definition at line 37 of file dirstructure.py.

37 def logger(msg_level,message):
38  if msg_level>=_log_level:
39  print("[%s] %s" %(asctime(),message))
40 
41 #-------------------------------------------------------------------------------
42 

References print().

◆ print_multi_threaded()

def dirstructure.print_multi_threaded (   canvas,
  img_name 
)

Definition at line 328 of file dirstructure.py.

328 def print_multi_threaded(canvas,img_name):
329  canvas.Print(img_name)
330 
331 tcanvas_print_processes=[]
332 #-------------------------------------------------------------------------------
333 

Variable Documentation

◆ _log_level

dirstructure._log_level
private

Definition at line 36 of file dirstructure.py.

◆ argv

dirstructure.argv

Definition at line 20 of file dirstructure.py.

dirstructure.logger
def logger(msg_level, message)
Definition: dirstructure.py:37
print
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:46
dirstructure.print_multi_threaded
def print_multi_threaded(canvas, img_name)
Definition: dirstructure.py:328