Skip to content
Snippets Groups Projects
Commit bfacac0a authored by sebwieland's avatar sebwieland
Browse files

change era of mem_test.cc to 2016 to make it work...

parent 70891cda
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ const TLorentzVector p4(double pt, double eta, double phi, double mass) {
int main(){
//Setup the MEM
MEMClassifier mem(0, "btagDeepFlavB_", "2017");
MEMClassifier mem(0, "btagDeepFlavB_", "2016");
//Add some objects to the MEM
std::vector<TLorentzVector> jets_p4_nominal = {
......@@ -78,6 +78,7 @@ jets_type.push_back({
MEMClassifier::JetType::RESOLVED,
MEMClassifier::JetType::RESOLVED,
MEMClassifier::JetType::RESOLVED,
});
jets_variations.push_back(jet_variations);
}
......@@ -101,7 +102,7 @@ for (unsigned int i=0; i<jet_variations[0].size()+1; i++){
lv_met,
changes_jet_category
);
std::cout << "mem=" << res[0].p << std::endl;
for (unsigned int ivar=0; ivar < res[0].p_variated.size(); ivar++) {
if (changes_jet_category[ivar+1] == false) {
......
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