HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
plot_overtraining.py File Reference

Namespaces

 plot_overtraining
 

Variables

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