CMS 3D CMS Logo

Functions | Variables
compare_using_files Namespace Reference

Functions

def blackListedHistos ()
 
def getInfoFromFilename (filename)
 https://twiki.cern.ch/twiki/bin/view/CMSPublic/RelMon More...
 

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 149 of file compare_using_files.py.

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

https://twiki.cern.ch/twiki/bin/view/CMSPublic/RelMon

Danilo Piparo CERN - danil.nosp@m.o.pi.nosp@m.paro@.nosp@m.cern.nosp@m..ch

Definition at line 12 of file compare_using_files.py.

References createfilelist.int, and split.

12 def getInfoFromFilename(filename):
13  prefix,sample,cmssw_release,tier = filename[:-5].split("__")[:5]
14  run=int(prefix.split("_")[-1][1:])
15  return run,sample,cmssw_release,tier
16 
def getInfoFromFilename(filename)
https://twiki.cern.ch/twiki/bin/view/CMSPublic/RelMon
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 52 of file compare_using_files.py.

compare_using_files.black_list

Definition at line 233 of file compare_using_files.py.

compare_using_files.black_list_str

Definition at line 36 of file compare_using_files.py.

compare_using_files.black_listed

Definition at line 236 of file compare_using_files.py.

compare_using_files.cmssw_release1

Definition at line 198 of file compare_using_files.py.

compare_using_files.cmssw_release2

Definition at line 202 of file compare_using_files.py.

compare_using_files.compare

Definition at line 31 of file compare_using_files.py.

compare_using_files.default

Definition at line 54 of file compare_using_files.py.

compare_using_files.dest

Definition at line 53 of file compare_using_files.py.

compare_using_files.dir_name

Definition at line 28 of file compare_using_files.py.

compare_using_files.directory

Definition at line 253 of file compare_using_files.py.

compare_using_files.dirwalker

Definition at line 254 of file compare_using_files.py.

compare_using_files.do_pngs

Definition at line 34 of file compare_using_files.py.

compare_using_files.fulldirname

Definition at line 226 of file compare_using_files.py.

compare_using_files.help

Definition at line 55 of file compare_using_files.py.

compare_using_files.ifile

Definition at line 329 of file compare_using_files.py.

compare_using_files.original_pickle_name

Definition at line 176 of file compare_using_files.py.

compare_using_files.outdir_name

Definition at line 29 of file compare_using_files.py.

compare_using_files.output

Definition at line 305 of file compare_using_files.py.

compare_using_files.parser

Definition at line 42 of file compare_using_files.py.

compare_using_files.pickle_name

Definition at line 324 of file compare_using_files.py.

compare_using_files.release1

Definition at line 291 of file compare_using_files.py.

compare_using_files.release2

Definition at line 292 of file compare_using_files.py.

compare_using_files.report

Definition at line 32 of file compare_using_files.py.

compare_using_files.rootfilename1

Definition at line 194 of file compare_using_files.py.

compare_using_files.rootfilename2

Definition at line 194 of file compare_using_files.py.

compare_using_files.run

Definition at line 224 of file compare_using_files.py.

compare_using_files.run1

Definition at line 196 of file compare_using_files.py.

compare_using_files.run2

Definition at line 200 of file compare_using_files.py.

compare_using_files.sample

Definition at line 218 of file compare_using_files.py.

compare_using_files.sample1

Definition at line 197 of file compare_using_files.py.

compare_using_files.sample2

Definition at line 201 of file compare_using_files.py.

compare_using_files.standalone

Definition at line 212 of file compare_using_files.py.

compare_using_files.stat_test

Definition at line 22 of file compare_using_files.py.

compare_using_files.test_threshold

Definition at line 23 of file compare_using_files.py.

compare_using_files.tier1

Definition at line 199 of file compare_using_files.py.

compare_using_files.tier2

Definition at line 203 of file compare_using_files.py.

compare_using_files.usage

Definition at line 42 of file compare_using_files.py.

compare_using_files.verbose

Definition at line 297 of file compare_using_files.py.