CMS 3D CMS Logo

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()
tuple web_url = web_dir.replace('/afs/cern.ch/cms/','http://cmsdoc.cern.ch/',1)

Function Documentation

def electronCompare::mysystem (   command,
  apply = 1 
)

Definition at line 31 of file electronCompare.py.

00032                              :
00033   print command
00034   if apply==1: return os.system(command)
00035   elif apply==0:  return 0
00036   else:
00037     print '[electronStore.py] UNSUPPORTED ARGUMENT VALUE FOR mysystem(,apply):',apply
00038     exit(1)
00039   
00040 
00041 #============================================
00042 # force immediate flushing of stdout
00043 #============================================


Variable Documentation

string electronCompare::blue_file = args.pop(0)

Definition at line 84 of file electronCompare.py.

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

Definition at line 128 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 99 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 126 of file electronCompare.py.

tuple electronCompare::web_dir = args.pop()

Definition at line 81 of file electronCompare.py.

tuple electronCompare::web_url = web_dir.replace('/afs/cern.ch/cms/','http://cmsdoc.cern.ch/',1)

Definition at line 82 of file electronCompare.py.