There are several things I have added/updated here :
The cfg file has been updated to run on the appropriate MC samples for the 'cr1l' region
There was a bug in the way the BadChargedCandidateFilter was added to the trees. The flag was always set to 0. The bug was in the naming of the filter which has been fixed
I have added a macro that creates datacards which allow to perform a simultaneous fit across signal and control regions (a la monojet)
I have updated the python macro to add the NLO(QCD+EWK) K-factors to the trees
Lastly, making plots using the CMG trees just takes too damn long, and I don't have the patience for it particularly when I am playing around and want to quickly look at diastributions. Therefore, I trim the CMG trees to reduced flat ntuples containing only some relevant set of variables that I can easily plot. I also add the data-MC corrections factors (pileup, lepton ID scale factors) to these flat trees. Giovanni, I know you are going to say there is a way to do this in the CMG framework :) but I'd like to keep this alternative as well.
There are several things I have added/updated here :
The cfg file has been updated to run on the appropriate MC samples for the 'cr1l' region
There was a bug in the way the BadChargedCandidateFilter was added to the trees. The flag was always set to 0. The bug was in the naming of the filter which has been fixed
I have added a macro that creates datacards which allow to perform a simultaneous fit across signal and control regions (a la monojet)
I have updated the python macro to add the NLO(QCD+EWK) K-factors to the trees
Lastly, making plots using the CMG trees just takes too damn long, and I don't have the patience for it particularly when I am playing around and want to quickly look at diastributions. Therefore, I trim the CMG trees to reduced flat ntuples containing only some relevant set of variables that I can easily plot. I also add the data-MC corrections factors (pileup, lepton ID scale factors) to these flat trees. Giovanni, I know you are going to say there is a way to do this in the CMG framework :) but I'd like to keep this alternative as well.