HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
plot_overtraining Namespace Reference

Variables

tuple log = logging.getLogger(__name__)
 
tuple parser
 
string help = "Input rootfiles"
 
list default = []
 
tuple args = parser.parse_args()
 
tuple regex = re.compile(r"T[0-9]{1,}\.root", re.IGNORECASE)
 
list config_list = []
 
list file_list = []
 
dictionary json_config = {}
 
tuple base_dict = os.path.expandvars("$CMSSW_BASE/src/HiggsAnalysis/KITHiggsToTauTau/data/plots/configs/mva/BDT_overtraining.json")
 
list list_of_args_strings = [args.args]
 
 n_processes = args.n_plots)
 
dictionary known_files = {}
 
tuple tfile = ROOT.TFile(rfile)
 
tuple test_signal = tfile.Get("Test Signal")
 
tuple test_bkg = tfile.Get("Test Bkg")
 
int sep = 0
 
tuple int_sig = test_signal.Integral()
 
tuple int_bkg = test_bkg.Integral()
 
tuple ts = test_signal.GetBinContent(i)
 
tuple tb = test_bkg.GetBinContent(i)
 
tuple Nsig = test_signal.GetEntries()
 
tuple Nbkg = test_bkg.GetEntries()
 
tuple err_max = max(2./Nsig**0.5, 2./Nbkg**0.5)
 
list trainings = trainings+poped_var[-2]
 

Variable Documentation

tuple plot_overtraining.args = parser.parse_args()
tuple plot_overtraining.base_dict = os.path.expandvars("$CMSSW_BASE/src/HiggsAnalysis/KITHiggsToTauTau/data/plots/configs/mva/BDT_overtraining.json")
list plot_overtraining.config_list = []
string plot_overtraining.default = []
tuple plot_overtraining.err_max = max(2./Nsig**0.5, 2./Nbkg**0.5)
list plot_overtraining.file_list = []
string plot_overtraining.help = "Input rootfiles"
tuple plot_overtraining.int_bkg = test_bkg.Integral()
tuple plot_overtraining.int_sig = test_signal.Integral()
tuple plot_overtraining.json_config = {}
dictionary plot_overtraining.known_files = {}
list plot_overtraining.list_of_args_strings = [args.args]
tuple plot_overtraining.log = logging.getLogger(__name__)
plot_overtraining.n_processes = args.n_plots)
tuple plot_overtraining.Nbkg = test_bkg.GetEntries()
tuple plot_overtraining.Nsig = test_signal.GetEntries()
tuple plot_overtraining.parser
Initial value:
1 = argparse.ArgumentParser(description="Make overtraining control plots.",
2  parents=[logger.loggingParser])
tuple plot_overtraining.regex = re.compile(r"T[0-9]{1,}\.root", re.IGNORECASE)
tuple plot_overtraining.sep = 0
tuple plot_overtraining.tb = test_bkg.GetBinContent(i)
tuple plot_overtraining.test_bkg = tfile.Get("Test Bkg")
tuple plot_overtraining.test_signal = tfile.Get("Test Signal")
tuple plot_overtraining.tfile = ROOT.TFile(rfile)
list plot_overtraining.trainings = trainings+poped_var[-2]
tuple plot_overtraining.ts = test_signal.GetBinContent(i)