Variables
train_mubar_submit Namespace Reference

Variables

list tree_depths = [1,2,3,4,5]
 
list min_node_sizes = [2.5,1,0.1,0.01,0.001]
 
string train_script = "/nova/app/users/connorj/AntiNumuCC/NumubarProd5/NDAna/numubarcc_inc/Analysis/MubarIDTraining/mubarid_training.C"
 
 parser = argparse.ArgumentParser(description="Train MuonID over a given parameter range")
 
 help
 
 type
 
 nargs
 
 int
 
 default
 
 args = parser.parse_args()
 
string filename_base = "optimize/optimize_ada_"
 
 flog = open(filename_base + ".out", "w")
 
 ferr = open(filename_base + ".err", "w")
 
 result = subprocess.call(["cafe", "-bq", train_script, filename_base + ".root", "ada", str(ntrees), str(min_node_size)], stdout=flog, stderr=ferr)
 

Variable Documentation

train_mubar_submit.args = parser.parse_args()

Definition at line 19 of file train_mubar_submit.py.

train_mubar_submit.default

Definition at line 17 of file train_mubar_submit.py.

train_mubar_submit.ferr = open(filename_base + ".err", "w")

Definition at line 35 of file train_mubar_submit.py.

string train_mubar_submit.filename_base = "optimize/optimize_ada_"

Definition at line 33 of file train_mubar_submit.py.

train_mubar_submit.flog = open(filename_base + ".out", "w")

Definition at line 34 of file train_mubar_submit.py.

train_mubar_submit.help

Definition at line 15 of file train_mubar_submit.py.

train_mubar_submit.int

Definition at line 17 of file train_mubar_submit.py.

list train_mubar_submit.min_node_sizes = [2.5,1,0.1,0.01,0.001]

Definition at line 7 of file train_mubar_submit.py.

train_mubar_submit.nargs

Definition at line 17 of file train_mubar_submit.py.

train_mubar_submit.parser = argparse.ArgumentParser(description="Train MuonID over a given parameter range")

Definition at line 14 of file train_mubar_submit.py.

train_mubar_submit.result = subprocess.call(["cafe", "-bq", train_script, filename_base + ".root", "ada", str(ntrees), str(min_node_size)], stdout=flog, stderr=ferr)

Definition at line 36 of file train_mubar_submit.py.

string train_mubar_submit.train_script = "/nova/app/users/connorj/AntiNumuCC/NumubarProd5/NDAna/numubarcc_inc/Analysis/MubarIDTraining/mubarid_training.C"

Definition at line 12 of file train_mubar_submit.py.

list train_mubar_submit.tree_depths = [1,2,3,4,5]

Definition at line 6 of file train_mubar_submit.py.

train_mubar_submit.type

Definition at line 15 of file train_mubar_submit.py.