CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 32 of file electronCompare.py.

References beamvalidation.exit(), and print().

32 
33 def mysystem(command,apply=1):
34  print(command)
35  if apply==1: return os.system(command)
36  elif apply==0: return 0
37  else:
38  print('[electronStore.py] UNSUPPORTED ARGUMENT VALUE FOR mysystem(,apply):',apply)
39  exit(1)
40 
41 
42 #============================================
43 # force immediate flushing of stdout
44 #============================================
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47

Variable Documentation

string electronCompare.blue_file = args.pop(0)

Definition at line 90 of file electronCompare.py.

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

Definition at line 133 of file electronCompare.py.

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

Definition at line 68 of file electronCompare.py.

tuple electronCompare.parser = optparse.OptionParser()

Definition at line 66 of file electronCompare.py.

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

Definition at line 104 of file electronCompare.py.

tuple electronCompare.red_file = args.pop(0)

Definition at line 81 of file electronCompare.py.

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

Definition at line 131 of file electronCompare.py.

tuple electronCompare.web_dir = args.pop()

Definition at line 82 of file electronCompare.py.

tuple electronCompare.web_url = web_dir

Definition at line 86 of file electronCompare.py.