CMS 3D CMS Logo

Functions | Variables
compare_using_files Namespace Reference

Functions

def blackListedHistos ()
 
def getInfoFromFilename (filename)
 

Variables

 action
 —HASHING—## More...
 
 black_list
 
 black_list_str
 
 black_listed
 
 cmssw_release1
 
 cmssw_release2
 
 compare
 
 default
 
 dest
 
 dir_name
 
 directory
 
 dirwalker
 
 do_pngs
 
 fulldirname
 
 help
 
 ifile
 
 original_pickle_name
 
 outdir_name
 
 output
 
 parser
 
 pickle_name
 
 release1
 
 release2
 
 report
 
 rootfilename1
 
 rootfilename2
 
 run
 
 run1
 
 run2
 
 sample
 
 sample1
 
 sample2
 
 standalone
 
 stat_test
 
 test_threshold
 
 tier1
 
 tier2
 
 usage
 
 verbose
 

Function Documentation

def compare_using_files.blackListedHistos ( )

Definition at line 150 of file compare_using_files.py.

151  ##GET a black-list file of histograms##
152  if "RELMON_SA" in os.environ:
153  black_list_file="../data/blacklist.txt"
154  else:
155  black_list_file="%s/src/Utilities/RelMon/data/blacklist.txt"%(os.environ["CMSSW_BASE"])
156  bListFile = open(black_list_file,'r')
157  black_listed_histograms = bListFile.read()
158  bListFile.close()
159 
160  histogramArray = black_listed_histograms.split("\n")
161  histogramArray.remove("") #remove the last element which is empty line
162  newarray = []
163  for elem in histogramArray:
164  tmp = elem.split("/") #screw windows as it is being run on lxbuild machines with Linux
165  tmp.insert(1,"Run summary") #insert "Run summary" dir in path as in ROOT files they exists but user haven't defined them
166  newarray.append(("/").join(tmp))
167  return newarray
168  ##------##
169 
170 (options, args) = parser.parse_args()
171 
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def compare_using_files.getInfoFromFilename (   filename)

Definition at line 13 of file compare_using_files.py.

References createfilelist.int, and split.

13 def getInfoFromFilename(filename):
14  prefix,sample,cmssw_release,tier = filename[:-5].split("__")[:5]
15  run=int(prefix.split("_")[-1][1:])
16  return run,sample,cmssw_release,tier
17 
def getInfoFromFilename(filename)
double split
Definition: MVATrainer.cc:139

Variable Documentation

compare_using_files.action

—HASHING—##

– USE CSS files in web access, for stand-alone usage –##

–Blacklist File –##

Definition at line 53 of file compare_using_files.py.

compare_using_files.black_list

Definition at line 234 of file compare_using_files.py.

compare_using_files.black_list_str

Definition at line 37 of file compare_using_files.py.

compare_using_files.black_listed

Definition at line 237 of file compare_using_files.py.

compare_using_files.cmssw_release1

Definition at line 199 of file compare_using_files.py.

compare_using_files.cmssw_release2

Definition at line 203 of file compare_using_files.py.

compare_using_files.compare

Definition at line 32 of file compare_using_files.py.

compare_using_files.default

Definition at line 55 of file compare_using_files.py.

compare_using_files.dest

Definition at line 54 of file compare_using_files.py.

compare_using_files.dir_name

Definition at line 29 of file compare_using_files.py.

compare_using_files.directory

Definition at line 254 of file compare_using_files.py.

compare_using_files.dirwalker

Definition at line 255 of file compare_using_files.py.

compare_using_files.do_pngs

Definition at line 35 of file compare_using_files.py.

compare_using_files.fulldirname

Definition at line 227 of file compare_using_files.py.

compare_using_files.help

Definition at line 56 of file compare_using_files.py.

compare_using_files.ifile

Definition at line 330 of file compare_using_files.py.

compare_using_files.original_pickle_name

Definition at line 177 of file compare_using_files.py.

compare_using_files.outdir_name

Definition at line 30 of file compare_using_files.py.

compare_using_files.output

Definition at line 306 of file compare_using_files.py.

compare_using_files.parser

Definition at line 43 of file compare_using_files.py.

compare_using_files.pickle_name

Definition at line 325 of file compare_using_files.py.

compare_using_files.release1

Definition at line 292 of file compare_using_files.py.

compare_using_files.release2

Definition at line 293 of file compare_using_files.py.

compare_using_files.report

Definition at line 33 of file compare_using_files.py.

compare_using_files.rootfilename1

Definition at line 195 of file compare_using_files.py.

compare_using_files.rootfilename2

Definition at line 195 of file compare_using_files.py.

compare_using_files.run

Definition at line 225 of file compare_using_files.py.

compare_using_files.run1

Definition at line 197 of file compare_using_files.py.

compare_using_files.run2

Definition at line 201 of file compare_using_files.py.

compare_using_files.sample

Definition at line 219 of file compare_using_files.py.

compare_using_files.sample1

Definition at line 198 of file compare_using_files.py.

compare_using_files.sample2

Definition at line 202 of file compare_using_files.py.

compare_using_files.standalone

Definition at line 213 of file compare_using_files.py.

compare_using_files.stat_test

Definition at line 23 of file compare_using_files.py.

compare_using_files.test_threshold

Definition at line 24 of file compare_using_files.py.

compare_using_files.tier1

Definition at line 200 of file compare_using_files.py.

compare_using_files.tier2

Definition at line 204 of file compare_using_files.py.

compare_using_files.usage

Definition at line 43 of file compare_using_files.py.

compare_using_files.verbose

Definition at line 298 of file compare_using_files.py.