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

◆ blackListedHistos()

def compare_using_files.blackListedHistos ( )

Definition at line 150 of file compare_using_files.py.

150 def blackListedHistos():
151 
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') 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 
171 
static std::string join(char **cmd)
Definition: RemoteFile.cc:19

◆ getInfoFromFilename()

def compare_using_files.getInfoFromFilename (   filename)

Definition at line 13 of file compare_using_files.py.

References createfilelist.int, and submitPVValidationJobs.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)

Variable Documentation

◆ action

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.

◆ black_list

compare_using_files.black_list

Definition at line 234 of file compare_using_files.py.

◆ black_list_str

compare_using_files.black_list_str

Definition at line 37 of file compare_using_files.py.

◆ black_listed

compare_using_files.black_listed

Definition at line 237 of file compare_using_files.py.

◆ cmssw_release1

compare_using_files.cmssw_release1

Definition at line 199 of file compare_using_files.py.

◆ cmssw_release2

compare_using_files.cmssw_release2

Definition at line 203 of file compare_using_files.py.

◆ compare

compare_using_files.compare

Definition at line 32 of file compare_using_files.py.

◆ default

compare_using_files.default

Definition at line 55 of file compare_using_files.py.

◆ dest

compare_using_files.dest

Definition at line 54 of file compare_using_files.py.

◆ dir_name

compare_using_files.dir_name

Definition at line 29 of file compare_using_files.py.

◆ directory

compare_using_files.directory

Definition at line 254 of file compare_using_files.py.

◆ dirwalker

compare_using_files.dirwalker

Definition at line 255 of file compare_using_files.py.

◆ do_pngs

compare_using_files.do_pngs

Definition at line 35 of file compare_using_files.py.

◆ fulldirname

compare_using_files.fulldirname

Definition at line 227 of file compare_using_files.py.

◆ help

compare_using_files.help

Definition at line 56 of file compare_using_files.py.

◆ ifile

compare_using_files.ifile

Definition at line 330 of file compare_using_files.py.

◆ original_pickle_name

compare_using_files.original_pickle_name

Definition at line 177 of file compare_using_files.py.

◆ outdir_name

compare_using_files.outdir_name

Definition at line 30 of file compare_using_files.py.

◆ output

compare_using_files.output

Definition at line 306 of file compare_using_files.py.

◆ parser

compare_using_files.parser

Definition at line 43 of file compare_using_files.py.

◆ pickle_name

compare_using_files.pickle_name

Definition at line 325 of file compare_using_files.py.

◆ release1

compare_using_files.release1

Definition at line 292 of file compare_using_files.py.

◆ release2

compare_using_files.release2

Definition at line 293 of file compare_using_files.py.

◆ report

compare_using_files.report

Definition at line 33 of file compare_using_files.py.

◆ rootfilename1

compare_using_files.rootfilename1

Definition at line 195 of file compare_using_files.py.

◆ rootfilename2

compare_using_files.rootfilename2

Definition at line 195 of file compare_using_files.py.

◆ run

compare_using_files.run

Definition at line 225 of file compare_using_files.py.

◆ run1

compare_using_files.run1

Definition at line 197 of file compare_using_files.py.

◆ run2

compare_using_files.run2

Definition at line 201 of file compare_using_files.py.

◆ sample

compare_using_files.sample

Definition at line 219 of file compare_using_files.py.

◆ sample1

compare_using_files.sample1

Definition at line 198 of file compare_using_files.py.

◆ sample2

compare_using_files.sample2

Definition at line 202 of file compare_using_files.py.

◆ standalone

compare_using_files.standalone

Definition at line 213 of file compare_using_files.py.

◆ stat_test

compare_using_files.stat_test

Definition at line 23 of file compare_using_files.py.

◆ test_threshold

compare_using_files.test_threshold

Definition at line 24 of file compare_using_files.py.

◆ tier1

compare_using_files.tier1

Definition at line 200 of file compare_using_files.py.

◆ tier2

compare_using_files.tier2

Definition at line 204 of file compare_using_files.py.

◆ usage

compare_using_files.usage

Definition at line 43 of file compare_using_files.py.

◆ verbose

compare_using_files.verbose

Definition at line 298 of file compare_using_files.py.