Skip to content
Snippets Groups Projects
Commit 8432802c authored by Marino Missiroli's avatar Marino Missiroli
Browse files

updated crab/cc_looper.py and MEM TF inputs

parent 185fbfdc
No related branches found
No related tags found
No related merge requests found
Pipeline #1226634 failed
...@@ -59,35 +59,44 @@ def vec_from_list(vec_type, src): ...@@ -59,35 +59,44 @@ def vec_from_list(vec_type, src):
return v return v
jet_corrections = [ jet_corrections = [
"AbsoluteStat", # 'AbsoluteStat',
"AbsoluteScale", # 'AbsoluteScale',
# "AbsoluteFlavMap", ## 'AbsoluteFlavMap',
"AbsoluteMPFBias", # 'AbsoluteMPFBias',
"Fragmentation", # 'Fragmentation',
"SinglePionECAL", # 'SinglePionECAL',
"SinglePionHCAL", # 'SinglePionHCAL',
"FlavorQCD", 'FlavorQCD',
"TimePtEta", # 'TimePtEta',
"RelativeJEREC1", # 'RelativeJEREC1',
# "RelativeJEREC2", ## 'RelativeJEREC2',
# "RelativeJERHF", ## 'RelativeJERHF',
"RelativePtBB", # 'RelativePtBB',
"RelativePtEC1", # 'RelativePtEC1',
# "RelativePtEC2", ## 'RelativePtEC2',
# "RelativePtHF", ## 'RelativePtHF',
"RelativeBal", 'RelativeBal',
"RelativeSample", 'RelativeSample',
"RelativeFSR", # 'RelativeFSR',
"RelativeStatFSR", # 'RelativeStatFSR',
"RelativeStatEC", # 'RelativeStatEC',
# "RelativeStatHF", ## 'RelativeStatHF',
"PileUpDataMC", # 'PileUpDataMC',
"PileUpPtRef", # 'PileUpPtRef',
"PileUpPtBB", # 'PileUpPtBB',
"PileUpPtEC1", # 'PileUpPtEC1',
# "PileUpPtEC2", ## 'PileUpPtEC2',
# "PileUpPtHF", ## 'PileUpPtHF',
"JER"
'Absolute',
'AbsoluteYear',
'BBEC1',
'BBEC1Year',
# 'EC2Year',
# 'HF',
'HEM1516',
'JER',
] ]
#Jet selection criteria #Jet selection criteria
...@@ -102,12 +111,11 @@ class Jets: ...@@ -102,12 +111,11 @@ class Jets:
"eta_sl": 2.4, "eta_sl": 2.4,
# pt, |eta| thresholds for **trailing jets** specific to dl channel # pt, |eta| thresholds for **trailing jets** specific to dl channel
"pt_dl": 20, "pt_dl": 30,
"eta_dl": 2.4, "eta_dl": 2.4,
} }
def main(infile_name, firstEvent, lastEvent, outfile_name, conf, era="2018"): def main(infile_name, firstEvent, lastEvent, outfile_name, conf, era="2018"):
""" """
Processes an input file with the CommonClassifier, saving the output in a file. Processes an input file with the CommonClassifier, saving the output in a file.
......
...@@ -548,8 +548,8 @@ MEMClassifier::MEMClassifier(int verbosity, const char* _btag_prefix, const char ...@@ -548,8 +548,8 @@ MEMClassifier::MEMClassifier(int verbosity, const char* _btag_prefix, const char
const string cmssw_path(std::getenv("CMSSW_BASE")); const string cmssw_path(std::getenv("CMSSW_BASE"));
//!! const string transfers_path = ("file://"+cmssw_path+"/src/TTH/CommonClassifier/data/transfer_"+era+"_deepFlavour.root").c_str(); const string transfers_path = ("file://"+cmssw_path+"/src/TTH/CommonClassifier/data/transfer_"+era+"_deepFlavour.root").c_str();
const string transfers_path = ("file://"+cmssw_path+"/src/TTH/CommonClassifier/data/transfer_JECV32.root").c_str(); //!! const string transfers_path = ("file://"+cmssw_path+"/src/TTH/CommonClassifier/data/transfer_JECV32.root").c_str();
cout << "MEMClassifier: Loaded " << transfers_path << endl; cout << "MEMClassifier: Loaded " << transfers_path << endl;
const string btagfile_path = ("file://"+cmssw_path+"/src/TTH/CommonClassifier/data/btag_pdfs_"+era+"_deepFlavour.root").c_str(); const string btagfile_path = ("file://"+cmssw_path+"/src/TTH/CommonClassifier/data/btag_pdfs_"+era+"_deepFlavour.root").c_str();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment