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

Namespaces

 MVAFlavio
 

Functions

def MVAFlavio.parser
 Argument parser. More...
 
def MVAFlavio.create_input_trees
 Create input trees for BDT method, splitting signal and background events for each channel in even and odd event numbered. More...
 
def MVAFlavio.write_root_file
 Function writing root files in paralell. More...
 
def MVAFlavio.training
 Do the training/evaluaton for the splitted samples for each channel. More...
 
def MVAFlavio.do_training
 Function for doing the training in parelell. More...
 
def MVAFlavio.application
 Function for creating grid control for the application of the BDT score. More...
 
def MVAFlavio.attach
 Function for attaching BDT score on root file. More...
 
def MVAFlavio.show_results
 Use TMVA Gui to show trainings results. More...
 
def MVAFlavio.main
 

Variables

int MVAFlavio.version = 2
 Define constants. More...
 
string MVAFlavio.sample_dir = "/net/scratch_cms3b/brunner/artus/AllSamples/merged/"
 
string MVAFlavio.tree_name = "{channel}_nominal/ntuple"
 
string MVAFlavio.input_file = "$CMSSW_BASE/src/plots/FlavioOutput/MVA_trees_{sample_type}{cut_label}_{channel}.root"
 
string MVAFlavio.output_root = "$CMSSW_BASE/src/plots/FlavioOutput/output"
 
list MVAFlavio.sig_list = ["zem"]
 
list MVAFlavio.bkg_list = ["ztt", "zll", "ttj", "vv", "wj"]
 
list MVAFlavio.parameter = ["deltaPhi_ll:= acos(cos(phi_1)*cos(phi_2) + sin(phi_1)*sin(phi_2))", "deltaPhi_l1met:= acos(cos(metphi)*cos(phi_1) + sin(metphi)*sin(phi_1))", "deltaPhi_l2met:= acos(cos(metphi)*cos(phi_2) + sin(metphi)*sin(phi_2))", "abs(d0_1)", "abs(d0_2)", "pt_1", "pt_2", "ptvis", "met", "mt_2"]
 
dictionary MVAFlavio.user_def_parameter