-
Notifications
You must be signed in to change notification settings - Fork 35
Description
-
clean the data directory and copy over the correct json file
-
create the JEC txt files by running the updated jec_cfg.py
cmsRun jec_cfg.py True
andcmsRun jec_cfg.py False
-
find out where to get the correct
JetResolutionInputAK5PF.txt
- NB: I copied over the one from the 2012 branch but that is certainly not correct -
when running with option
isPat = False
JetAnalyzer.cc is called. 2012 values are hardcoded in the 2012 JetAnalyzer.cc and are the same in the 2011 branch- these values may need to be updated, see the instruction in the BTagging package README. When running the b-efficiency tool for 2011 data, I observe the following:
-
The 2012 input file is
MonteCarlo2012/Summer12_DR53X/TTbar_8TeV-Madspin_aMCatNLO-herwig/
, now updating to this (/TTJets_TuneZ2_7TeV-madgraph-tauola/Summer11LegDR-PU_S13_START53_LV6-v1/AODSIM
). -
with this input file
cmsRun python/befficiency_recojets_cfg.py
fails with:----- Begin Fatal Exception 15-Nov-2022 20:48:36 CET----------------------- An exception of category 'Configuration' occurred while [0] Constructing the EventProcessor [1] Constructing module: class=WeightAnalyzerBEff label='mcweightanalyzer' Exception Message: MissingParameter: Parameter 'jetTag' not found. ----- End Fatal Exception -------------------------------------------------
- Fixed typo both in 2011 and 2012: JetsTag -> jetTag in befficiency_recojets_cfg.py #87
- Following
befficiency_recojets_cfg.py
up in a separate issue Remove (of fix) befficiency_recojets_cfg.py #88
-
with this input and GT update,
cmsRun python/befficiency_patjets_cfg.py
fails with thesoftElectronByPtBJetTags
, see below
-
- these values may need to be updated, see the instruction in the BTagging package README. When running the b-efficiency tool for 2011 data, I observe the following:
-
when running with option
isPat = True
, PatJetAnalyter.cc is called. It fails due tosoftElectronByPtBJetTags
. ForcmsRun python/poet_cfg.py False True
(i.e. MC, PAT)An exception of category 'ProductNotFound' occurred while [0] Processing run: 1 lumi: 45 event: 4401 [1] Running path 'p' [2] Calling event method for module PATJetProducer/'patJets' Exception Message: Principal::getByLabel: Found zero products matching all criteria Looking for type: edm::AssociationVector<edm::RefToBaseProd<reco::Jet>,std::vector<float>,edm::RefToBase<reco::Jet>,unsigned int,edm::helper::AssociationIdenticalKeyReference> Looking for module label: softElectronByPtBJetTags Looking for productInstanceName:
There's a similar label in the data but not this one:
edmDumpEventContent root://eospublic.cern.ch//eos/opendata/cms/Run2011A/DoubleMu/AOD/12Oct2013-v1/10000/000D143E-9535-E311-B88B-002618943934.root | grep soft edm::AssociationVector<edm::RefToBaseProd<reco::Jet>,vector<float>,edm::RefToBase<reco::Jet>,unsigned int,edm::helper::AssociationIdenticalKeyReference> "softPFElectronBJetTags" "" "RECO" edm::AssociationVector<edm::RefToBaseProd<reco::Jet>,vector<float>,edm::RefToBase<reco::Jet>,unsigned int,edm::helper::AssociationIdenticalKeyReference> "softPFMuonBJetTags" "" "RECO"