cmstas / XToYggHbb_looper

1 stars 2 forks source link

fixing gen variable #6

Closed YonsiG closed 1 year ago

YonsiG commented 1 year ago

fixing gen Variable empty initializing issue. Also add redundant gen branches to data(gen branches in data set to dummy value)

YonsiG commented 1 year ago

This PR is for adding Gen variables into output branches, if there's no gen info in that branch, fill dummy value of -999. validated with comparison to HiggsDNA output using HHbbgg sample

YonsiG commented 1 year ago

also tested on validation of VH, ggh, VBFH, and signal of MX700_MY100, MX700_MY90 samples, they got synchronization with HiggsDNA

VourMa commented 1 year ago

I noticed that in your latest commit you submitted a lot of instances of changing "2018" to "2018_old". This is just temporary, because I am running another sample production (sorry about that), and should not be committed to the central repository. Can you please revert all those changes?

For your information, an easier way to run locally on the temporary folder would be to just change L362 of main.cc to

TString trees = baseDir+"/"+year+"_old/"+sample_name+"_"+sample_prod[sample][year][d]+"_"+dataformat+"_"+version+"/"+"tree_*.root";