CMS 3D CMS Logo

Classes | Functions | Variables
electronStore Namespace Reference

Classes

class  flushfile
 

Functions

def mysystem (command, apply=1)
 

Variables

 action
 
 analyzers
 
 args
 
 comment_file
 
 configs
 
 default
 
 dest
 
 end
 
 file
 
 files
 
 help
 
 links
 
 options
 
 output_file
 
 parser
 
 store_dir
 
 store_file
 
 store_logs
 
 store_url
 

Function Documentation

◆ mysystem()

def electronStore.mysystem (   command,
  apply = 1 
)

Definition at line 34 of file electronStore.py.

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

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

Variable Documentation

◆ action

electronStore.action

Definition at line 69 of file electronStore.py.

◆ analyzers

electronStore.analyzers

Definition at line 89 of file electronStore.py.

◆ args

electronStore.args

Definition at line 79 of file electronStore.py.

◆ comment_file

electronStore.comment_file

Definition at line 156 of file electronStore.py.

◆ configs

electronStore.configs

Definition at line 90 of file electronStore.py.

◆ default

electronStore.default

Definition at line 69 of file electronStore.py.

◆ dest

electronStore.dest

Definition at line 69 of file electronStore.py.

◆ end

electronStore.end

Definition at line 157 of file electronStore.py.

◆ file

electronStore.file

Definition at line 157 of file electronStore.py.

◆ files

electronStore.files

Definition at line 129 of file electronStore.py.

◆ help

electronStore.help

Definition at line 70 of file electronStore.py.

◆ links

electronStore.links

◆ options

electronStore.options

Definition at line 79 of file electronStore.py.

◆ output_file

electronStore.output_file

◆ parser

electronStore.parser

Definition at line 68 of file electronStore.py.

◆ store_dir

electronStore.store_dir

Definition at line 85 of file electronStore.py.

◆ store_file

electronStore.store_file

Definition at line 84 of file electronStore.py.

◆ store_logs

electronStore.store_logs

Definition at line 86 of file electronStore.py.

◆ store_url

electronStore.store_url

Definition at line 147 of file electronStore.py.

electronStore.mysystem
def mysystem(command, apply=1)
Definition: electronStore.py:34
print
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:46
beamvalidation.exit
def exit(msg="")
Definition: beamvalidation.py:53