Skip to content

Commit

Permalink
Merge pull request #250 from blinkseb/fix_jer_syst
Browse files Browse the repository at this point in the history
Fix JER systematics
  • Loading branch information
OlivierBondu authored Mar 7, 2017
2 parents a140949 + fea8fbd commit e81a73a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/Framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def __init__(self, isData, era, **kwargs):

# Default configuration
self.__miniaod_jet_collection = 'slimmedJets'
self.__miniaod_unsmeared_jet_collection = 'slimmedJets'
self.__miniaod_fat_jet_collection = 'slimmedJetsAK8'
self.__miniaod_gen_jet_collection = 'slimmedGenJets'
self.__miniaod_met_collection = 'slimmedMETs'
Expand Down Expand Up @@ -131,7 +132,7 @@ def create(self):
'jec': {'jetCollection': self.__miniaod_jet_collection,
'metCollection': self.__miniaod_met_collection,
'uncertaintiesFile': None},
'jer': {'jetCollection': self.__miniaod_jet_collection,
'jer': {'jetCollection': self.__miniaod_unsmeared_jet_collection,
'metCollection': self.__miniaod_met_collection,
'genJetCollection': self.__miniaod_gen_jet_collection}
}
Expand Down Expand Up @@ -319,6 +320,7 @@ def redoJEC(self, JECDatabase=None):

# Change the default collections to the newly created
self.__miniaod_jet_collection = jet_collection
self.__miniaod_unsmeared_jet_collection = jet_collection
self.__miniaod_fat_jet_collection = fat_jet_collection
self.__miniaod_met_collection = met_collection

Expand Down
Binary file modified test/unit_tests_data_ref.root
Binary file not shown.
Binary file modified test/unit_tests_mc_ref.root
Binary file not shown.
Binary file modified test/unit_tests_mc_with_db_ref.root
Binary file not shown.

0 comments on commit e81a73a

Please sign in to comment.