CMS 3D CMS Logo

Functions | Variables

compare_using_files Namespace Reference

Functions

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

Variables

string action = "store"
tuple black_list = string2blacklist(options.black_list)
string black_list_str = ""
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 = ''

Function Documentation

def compare_using_files::getInfoFromFilename (   filename)

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

Author:
dpiparo
Date:
2012/07/19 07:27:26
Revision:
1.4

Danilo Piparo CERN - danilo.piparo@cern.ch

Definition at line 15 of file compare_using_files.py.

00016                                  :
00017   prefix,sample,cmssw_release,tier = filename[:-5].split("__")[:5]
00018   run=int(prefix.split("_")[-1][1:])
00019   return run,sample,cmssw_release,tier


Variable Documentation

string compare_using_files::action = "store"

Definition at line 55 of file compare_using_files.py.

tuple compare_using_files::black_list = string2blacklist(options.black_list)

Definition at line 196 of file compare_using_files.py.

Definition at line 39 of file compare_using_files.py.

Definition at line 162 of file compare_using_files.py.

Definition at line 166 of file compare_using_files.py.

Definition at line 34 of file compare_using_files.py.

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.

Definition at line 31 of file compare_using_files.py.

tuple compare_using_files::directory = Directory(options.dir_name)

Definition at line 211 of file compare_using_files.py.

Initial value:
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)

Definition at line 212 of file compare_using_files.py.

Definition at line 37 of file compare_using_files.py.

string compare_using_files::fulldirname = options.outdir_name

Definition at line 189 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.

Definition at line 284 of file compare_using_files.py.

Definition at line 140 of file compare_using_files.py.

Definition at line 32 of file compare_using_files.py.

Definition at line 260 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.

Definition at line 279 of file compare_using_files.py.

Definition at line 35 of file compare_using_files.py.

Definition at line 187 of file compare_using_files.py.

Definition at line 160 of file compare_using_files.py.

Definition at line 164 of file compare_using_files.py.

Definition at line 181 of file compare_using_files.py.

Definition at line 161 of file compare_using_files.py.

Definition at line 165 of file compare_using_files.py.

Definition at line 25 of file compare_using_files.py.

Definition at line 26 of file compare_using_files.py.

Definition at line 163 of file compare_using_files.py.

Definition at line 167 of file compare_using_files.py.