Open mcremone opened 5 years ago
Started here:
https://github.com/LPC-DM/decaf/blob/master/grinder/utils/corrections.py#L123-L128
this should retrieve the weight that is necessary to compute the filter as shown here:
@trtomei would you mind finishing implementing it?
Hi @mcremone
Yes, it is on my TODO list. I have time allocated for this tomorrow morning!
thanks
So, I have studied this a bit... this does not seem to be the filter described in: https://twiki.cern.ch/twiki/bin/viewauth/CMS/MissingETOptionalFiltersRun2#How_to_run_ecal_BadCalibReducedM
This seems to be some filter that filters events wholesale if jets coincide with some list of bad crystals or towers. I have found no hint of where is this list, and where does it come from. I suggest we acquire more information before going ahead with this.
Following up the discussion on slack, I agree it would be good implementing something along the lines of what is implemented in https://github.com/TreeMaker/ecalBadCalibFilterLists/tree/master/data
Implement BadECAL filter from here: https://github.com/sidnarayanan/PandaAnalysis/search?q=cBadECALJets&unscoped_q=cBadECALJets