Skip to content

HeavyIonAnalysis in container: test cfg error

To reproduce:

  • docker run -it --rm gitlab-registry.cern.ch/cms-cloud/cmssw-docker-opendata/cmssw_5_3_20-slc6_amd64_gcc472:latest (or use gitlab-registry.cern.ch/cms-cloud/cmssw-docker-opendata/cmssw_5_3_20-slc6_amd64_gcc472:2022-11-22-ae700d90)

  • In HeavyIonsAnalysis/JetAnalysis/test/runForest_pPb_DATA_53X.py change the input file to "root://eospublic.cern.ch//eos/opendata/cms/hidata/HIRun2013/PAMinBias1/RECO/PromptReco-v1/000/209/842/00000/F64EFF34-0C5F-E211-98BE-BCAEC518FF74.root"

  • cmsRun runForest_pPb_DATA_53X.py

$ cmsRun runForest_pPb_DATA_53X.py 
fatal: Not a valid object name HEAD
----- Begin Fatal Exception 07-Feb-2023 12:27:04 CET-----------------------
An exception of category 'ConfigFileReadError' occurred while
   [0] Processing the python configuration file named runForest_pPb_DATA_53X.py
Exception Message:
python encountered the error: <type 'exceptions.NameError'>
name 'akVs1PFJets' is not defined
----- End Fatal Exception -------------------------------------------------