CMS 3D CMS Logo

Classes | Functions | Variables

electronStore Namespace Reference

Classes

class  flushfile

Functions

def mysystem

Variables

tuple analyzers = options.analyzers.split('/')
tuple comment_file = open(store_dir+'/'+store_file+'.comment','w')
tuple configs = options.configs.split('/')
list files = [ store_file ]
string help = "force the copy, even if the destination file already exists."
list links = []
string output_file = '/'
tuple parser = optparse.OptionParser()
tuple store_dir = args.pop()
tuple store_file = args.pop(0)
tuple store_url = store_dir.replace('/afs/cern.ch/cms/','https://cmsdoc.cern.ch/',1)

Function Documentation

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

Definition at line 33 of file electronStore.py.

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


Variable Documentation

tuple electronStore::analyzers = options.analyzers.split('/')

Definition at line 88 of file electronStore.py.

tuple electronStore::comment_file = open(store_dir+'/'+store_file+'.comment','w')

Definition at line 155 of file electronStore.py.

tuple electronStore::configs = options.configs.split('/')

Definition at line 128 of file electronStore.py.

string electronStore::help = "force the copy, even if the destination file already exists."

Definition at line 69 of file electronStore.py.

Definition at line 118 of file electronStore.py.

tuple electronStore::parser = optparse.OptionParser()

Definition at line 67 of file electronStore.py.

tuple electronStore::store_dir = args.pop()

Definition at line 84 of file electronStore.py.

tuple electronStore::store_file = args.pop(0)

Definition at line 83 of file electronStore.py.

tuple electronStore::store_url = store_dir.replace('/afs/cern.ch/cms/','https://cmsdoc.cern.ch/',1)

Definition at line 146 of file electronStore.py.