CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Variables
plotFactory Namespace Reference

Variables

tuple _style = Style.Style()
 
string action = "store_true"
 
dictionary c = {}
 
string description = """A simple script to generate validation plots"""
 
string epilog
 
tuple fileRef = TFile(options.refPath,"READ")
 
tuple fileVal = TFile(options.valPath,"READ")
 
dictionary h_Ref = {}
 
dictionary h_Val = {}
 
string help = "Read input file for sample to validated"
 
dictionary Histos = {}
 
string keyHisto = tag+"_"
 
tuple parser = OptionParser(usage=usage,add_help_option=True,description=description,epilog=epilog)
 
 passH = False
 
string path = pathInFile+tag+"_"
 
list perfAll_keys = []
 
dictionary perfAll_Ref = {}
 
dictionary perfAll_Val = {}
 
dictionary ratios = {}
 
tuple ratiosList = createRatioFromGraph(valHistos[keyHisto],refHistos[keyHisto])
 
dictionary refHistos = {}
 
string usage = """%prog [options]"""
 
dictionary valHistos = {}
 

Variable Documentation

tuple plotFactory._style = Style.Style()

Definition at line 54 of file plotFactory.py.

string plotFactory.action = "store_true"

Definition at line 33 of file plotFactory.py.

dictionary plotFactory.c = {}

Definition at line 61 of file plotFactory.py.

string plotFactory.description = """A simple script to generate validation plots"""

Definition at line 15 of file plotFactory.py.

string plotFactory.epilog
Initial value:
1 = """Example:
2 plotFactory.py -f BTagRelVal_TTbar_Startup_600.root -F BTagRelVal_TTbar_Startup_600gspre3.root -r 600 -R 600gspre3 -s TTbar_Startup -S TTbar_Startup
3 """

Definition at line 16 of file plotFactory.py.

tuple plotFactory.fileRef = TFile(options.refPath,"READ")

Definition at line 50 of file plotFactory.py.

tuple plotFactory.fileVal = TFile(options.valPath,"READ")

Definition at line 49 of file plotFactory.py.

dictionary plotFactory.h_Ref = {}

Definition at line 84 of file plotFactory.py.

dictionary plotFactory.h_Val = {}

Definition at line 83 of file plotFactory.py.

string plotFactory.help = "Read input file for sample to validated"

Definition at line 21 of file plotFactory.py.

dictionary plotFactory.Histos = {}

Definition at line 67 of file plotFactory.py.

tuple plotFactory.keyHisto = tag+"_"

Definition at line 79 of file plotFactory.py.

tuple plotFactory.parser = OptionParser(usage=usage,add_help_option=True,description=description,epilog=epilog)

Definition at line 19 of file plotFactory.py.

plotFactory.passH = False

Definition at line 85 of file plotFactory.py.

tuple plotFactory.path = pathInFile+tag+"_"

Definition at line 87 of file plotFactory.py.

list plotFactory.perfAll_keys = []

Definition at line 64 of file plotFactory.py.

dictionary plotFactory.perfAll_Ref = {}

Definition at line 63 of file plotFactory.py.

dictionary plotFactory.perfAll_Val = {}

Definition at line 62 of file plotFactory.py.

dictionary plotFactory.ratios = {}

Definition at line 68 of file plotFactory.py.

tuple plotFactory.ratiosList = createRatioFromGraph(valHistos[keyHisto],refHistos[keyHisto])

Definition at line 118 of file plotFactory.py.

dictionary plotFactory.refHistos = {}

Definition at line 66 of file plotFactory.py.

string plotFactory.usage = """%prog [options]"""

Definition at line 14 of file plotFactory.py.

dictionary plotFactory.valHistos = {}

Definition at line 65 of file plotFactory.py.