Functions | |
def | blackListedHistos |
def | getInfoFromFilename |
https://twiki.cern.ch/twiki/bin/view/CMSPublic/RelMon | |
Variables | |
string | action = "store" |
---HASHING---## | |
tuple | black_list = string2blacklist(options.black_list) |
string | black_list_str = "" |
tuple | black_listed = blackListedHistos() |
string | cmssw_release1 = '' |
string | cmssw_release2 = '' |
compare = False | |
default = dir_name, | |
string | dest = "dir_name" |
string | dir_name = "" |
tuple | directory = Directory(options.dir_name) |
tuple | dirwalker |
do_pngs = False | |
fulldirname = options.outdir_name | |
string | help = "The 'directory' to be checked in the DQM \n(default is %s)" |
tuple | ifile = open(pickle_name,"rb") |
string | original_pickle_name = "" |
string | outdir_name = "" |
tuple | output = open(original_pickle_name,"w") |
tuple | parser = OptionParser(usage="usage: %prog file1 file2 [options]") |
pickle_name = options.pklfile | |
report = False | |
run = run1 | |
int | run1 = 1 |
int | run2 = 1 |
sample = sample1 | |
string | sample1 = '' |
string | sample2 = '' |
string | stat_test = "Chi2" |
int | test_threshold = 1 |
string | tier1 = '' |
string | tier2 = '' |
def compare_using_files::blackListedHistos | ( | ) |
Definition at line 146 of file compare_using_files.py.
00147 : 00148 ##GET a black-list file of histograms## 00149 if os.environ.has_key("RELMON_SA"): 00150 black_list_file="../data/blacklist.txt" 00151 else: 00152 black_list_file="%s/src/Utilities/RelMon/data/blacklist.txt"%(os.environ["CMSSW_BASE"]) 00153 bListFile = open(black_list_file,'r') 00154 black_listed_histograms = bListFile.read() 00155 bListFile.close() 00156 00157 histogramArray = black_listed_histograms.split("\n") 00158 histogramArray.remove("") #remove the last element which is empty line 00159 newarray = [] 00160 for elem in histogramArray: 00161 tmp = elem.split("/") #screw windows as it is being run on lxbuild machines with Linux 00162 tmp.insert(1,"Run summary") #insert "Run summary" dir in path as in ROOT files they exists but user haven't defined them 00163 newarray.append(("/").join(tmp)) 00164 return newarray 00165 ##------## 00166 00167 (options, args) = parser.parse_args()
def compare_using_files::getInfoFromFilename | ( | filename | ) |
https://twiki.cern.ch/twiki/bin/view/CMSPublic/RelMon
Danilo Piparo CERN - danilo.piparo@cern.ch
Definition at line 15 of file compare_using_files.py.
string compare_using_files::action = "store" |
tuple compare_using_files::black_list = string2blacklist(options.black_list) |
Definition at line 229 of file compare_using_files.py.
string compare_using_files::black_list_str = "" |
Definition at line 39 of file compare_using_files.py.
list compare_using_files::black_listed = blackListedHistos() |
Definition at line 232 of file compare_using_files.py.
string compare_using_files::cmssw_release1 = '' |
Definition at line 195 of file compare_using_files.py.
string compare_using_files::cmssw_release2 = '' |
Definition at line 199 of file compare_using_files.py.
compare_using_files::compare = False |
Definition at line 34 of file compare_using_files.py.
string compare_using_files::default = dir_name, |
Definition at line 57 of file compare_using_files.py.
string compare_using_files::dest = "dir_name" |
Definition at line 56 of file compare_using_files.py.
string compare_using_files::dir_name = "" |
Definition at line 31 of file compare_using_files.py.
tuple compare_using_files::directory = Directory(options.dir_name) |
Definition at line 249 of file compare_using_files.py.
00001 DirWalkerFile(fulldirname, 00002 options.dir_name, 00003 rootfilename1,rootfilename2, 00004 run, 00005 black_list, 00006 options.stat_test, 00007 options.test_threshold, 00008 not options.no_successes, 00009 options.do_pngs, 00010 set(black_listed) 00011 )
Definition at line 250 of file compare_using_files.py.
compare_using_files::do_pngs = False |
Definition at line 37 of file compare_using_files.py.
string compare_using_files::fulldirname = options.outdir_name |
Definition at line 222 of file compare_using_files.py.
string compare_using_files::help = "The 'directory' to be checked in the DQM \n(default is %s)" |
Definition at line 58 of file compare_using_files.py.
tuple compare_using_files::ifile = open(pickle_name,"rb") |
Definition at line 324 of file compare_using_files.py.
string compare_using_files::original_pickle_name = "" |
Definition at line 173 of file compare_using_files.py.
Definition at line 32 of file compare_using_files.py.
tuple compare_using_files::output = open(original_pickle_name,"w") |
Definition at line 300 of file compare_using_files.py.
tuple compare_using_files::parser = OptionParser(usage="usage: %prog file1 file2 [options]") |
Definition at line 45 of file compare_using_files.py.
compare_using_files::pickle_name = options.pklfile |
Definition at line 319 of file compare_using_files.py.
compare_using_files::report = False |
Definition at line 35 of file compare_using_files.py.
Definition at line 220 of file compare_using_files.py.
int compare_using_files::run1 = 1 |
Definition at line 193 of file compare_using_files.py.
int compare_using_files::run2 = 1 |
Definition at line 197 of file compare_using_files.py.
Definition at line 214 of file compare_using_files.py.
Definition at line 194 of file compare_using_files.py.
string compare_using_files::sample2 = '' |
Definition at line 198 of file compare_using_files.py.
string compare_using_files::stat_test = "Chi2" |
Definition at line 25 of file compare_using_files.py.
Definition at line 26 of file compare_using_files.py.
string compare_using_files::tier1 = '' |
Definition at line 196 of file compare_using_files.py.
string compare_using_files::tier2 = '' |
Definition at line 200 of file compare_using_files.py.