CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions | Variables
electronCompare Namespace Reference

Classes

class  flushfile
 

Functions

def mysystem
 

Variables

tuple blue_file = args.pop(0)
 
tuple blue_long_name = os.path.basename(blue_head)
 
string help = "the configuration file describe which histogram must be displayed and how"
 
tuple parser = optparse.OptionParser()
 
tuple red_base = os.path.basename(red_file)
 
tuple red_file = args.pop(0)
 
tuple red_long_name = os.path.basename(red_head)
 
tuple web_dir = args.pop()
 
 web_url = web_dir
 

Function Documentation

def electronCompare.mysystem (   command,
  apply = 1 
)

Definition at line 31 of file electronCompare.py.

References cmsRelvalreport.exit.

31 
32 def mysystem(command,apply=1):
33  print command
34  if apply==1: return os.system(command)
35  elif apply==0: return 0
36  else:
37  print '[electronStore.py] UNSUPPORTED ARGUMENT VALUE FOR mysystem(,apply):',apply
38  exit(1)
39 
40 
41 #============================================
42 # force immediate flushing of stdout
43 #============================================

Variable Documentation

string electronCompare.blue_file = args.pop(0)

Definition at line 89 of file electronCompare.py.

tuple electronCompare.blue_long_name = os.path.basename(blue_head)

Definition at line 132 of file electronCompare.py.

string electronCompare.help = "the configuration file describe which histogram must be displayed and how"

Definition at line 67 of file electronCompare.py.

tuple electronCompare.parser = optparse.OptionParser()

Definition at line 65 of file electronCompare.py.

tuple electronCompare.red_base = os.path.basename(red_file)

Definition at line 103 of file electronCompare.py.

tuple electronCompare.red_file = args.pop(0)

Definition at line 80 of file electronCompare.py.

tuple electronCompare.red_long_name = os.path.basename(red_head)

Definition at line 130 of file electronCompare.py.

tuple electronCompare.web_dir = args.pop()

Definition at line 81 of file electronCompare.py.

tuple electronCompare.web_url = web_dir

Definition at line 85 of file electronCompare.py.