cms-analysis / flashgg

20 stars 158 forks source link

UL16 PreVFP Data (DoubleEG/..Run2016X..) Not Parsed by fggRunJobs #1301

Open neilSchroeder opened 1 year ago

neilSchroeder commented 1 year ago

When trying to run on UL16 preVFP DoubleEG datasets with campaign RunIISummer20UL16preVFP, flashgg fggRunJobs.py breaks with the following errors:

Traceback (most recent call last): File "/afs/cern.ch/work/n/nschroed/flash_2021-11-30/CMSSW_10_6_29/src/flashgg/Systematics/test/ul16_preVFP_data/workspaceStd.py", line 205, in customize.parse() File "/afs/cern.ch/work/n/nschroed/flash_2021-11-30/CMSSW_10_6_29/python/flashgg/MetaData/JobConfig.py", line 528, in parse dataset = self.samplesMan.getDatasetMetaData(self.options.maxEvents,self.dataset,jobId=-1,nJobs=self.nJobs,weightName=self.WeightName) File "/afs/cern.ch/work/n/nschroed/flash_2021-11-30/CMSSW_10_6_29/python/flashgg/MetaData/samples_utils.py", line 862, in getDatasetMetaData primary,secondary,tier = primary.split("/") ValueError: need more than 2 values to unpack

Indicating that flashgg cannot properly read the catalog entries for these datasets.

youyingli commented 1 year ago

Sorry for the late response. Just want to understand how to write JSON like link. I am asking because for real data, you should write the complete name of the MicroAOD.

youyingli commented 1 year ago

In order to get the complete name, you can use fggManageSamples.py -C RunIISummer20UL16preVFP list raw | grep "DoubleEG".