AnalysisTop: adding possibility of using loose objects to build MET
In AnalysisTop currently we always use objects passing the tight selection to rebuild the MET, even when running with the loose selection (used e.g. for fakes background estimation). This MR adds 3 new options (and the corresponding code) in AnalysisTop:
- "UseLooseObjectsInMETInLooseTree" -> "Experimental: use loose objects when rebuilding the MET for the loose tree : True or False (default = False)"
- "UseLooseObjectsInMETInNominalTree" -> "Experimental: use loose objects when rebuilding the MET for the nominal tree : True or False (default = False)"
- "WriteMETBuiltWithLooseObjects" -> "Write a separate branch with the met built with loose objects in the output for tests: True or False (default = False)"
Solves ANALYSISTO-999
Edited by Marco Vanadia