cms-l1t-offline / cmssw

CMS Offline Software
cms-sw.github.io/cmssw
Apache License 2.0
17 stars 27 forks source link

crash in uGT emulator in integration branch for Phase-1 #912

Open rekovic opened 3 years ago

rekovic commented 3 years ago

Using the recipe from the twiki for L1T Stage2 (Phase1) https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideL1TStage2Instructions

cmsrel CMSSW_11_2_0
cd CMSSW_11_2_0/src
cmsenv
git cms-init
git remote add cms-l1t-offline git@github.com:cms-l1t-offline/cmssw.git
git fetch cms-l1t-offline l1t-integration-CMSSW_11_2_0
git cms-merge-topic -u cms-l1t-offline:l1t-integration-v105.10.1
git cms-addpkg L1Trigger/Configuration
git cms-addpkg L1Trigger/L1TMuon
git clone https://github.com/cms-l1t-offline/L1Trigger-L1TMuon.git L1Trigger/L1TMuon/data
git cms-addpkg L1Trigger/L1TCalorimeter
git clone https://github.com/cms-l1t-offline/L1Trigger-L1TCalorimeter.git L1Trigger/L1TCalorimeter/data

git cms-checkdeps -A -a

# temporary fix to fill BMTF muons
git remote add panoskatsoulis https://github.com/panoskatsoulis/cmssw.git
git fetch panoskatsoulis fix_empty_bmtf_ntuples
git cherry-pick 9caf8d7dfa4

scram b -j 8

and executing the workflow

cmsDriver.py l1Ntuple -s RAW2DIGI --python_filename=mc.py -n 50 --no_output --era=Run3 --mc --conditions=112X_mcRun3_2021_realistic_v13 --customise=L1Trigger/Configuration/customiseReEmul.L1TReEmulFromRAWsimHcalTP --customise=L1Trigger/L1TNtuples/customiseL1Ntuple.L1NtupleRAWEMU --customise=L1Trigger/Configuration/customiseSettings.L1TSettingsToCaloParams_2018_v1_3 --customise_commands="process.HcalTPGCoderULUT.LUTGenerationMode=cms.bool(False)" --filein=/store/mc/Run3Winter20DRPremixMiniAOD/Nu_E10-pythia8-gun/GEN-SIM-RAW/SNB_110X_mcRun3_2021_realistic_v6-v1/10000/51FBC4DC-D5C7-824F-9AFA-3025F04F96FA.root

there is a crash at event # 115

Begin processing the 114th record. Run 1, Event 547316, LumiSection 5474 on stream 0 at 28-Apr-2021 12:21:26.238 CEST
Begin processing the 115th record. Run 1, Event 547315, LumiSection 5474 on stream 0 at 28-Apr-2021 12:21:26.316 CEST
----- Begin Fatal Exception 28-Apr-2021 12:21:26 CEST-----------------------
An exception of category 'StdException' occurred while
   [0] Processing  Event run: 1 lumi: 5474 event: 547315 stream: 0
   [1] Running path 'l1ntupleemu'
   [2] Prefetching for module L1uGTTreeProducer/'l1uGTEmuTree'
   [3] Calling method for module L1TGlobalProducer/'simGtStage2Digis'
Exception Message:
A std::exception was thrown.
vector::_M_range_check: __n (which is 4) >= this->size() (which is 0)
----- End Fatal Exception -------------------------------------------------

Attn @cavana

rekovic commented 3 years ago

Same error as currently in the central PR https://github.com/cms-sw/cmssw/pull/33350#issuecomment-825511676 which is pending.

So, at this point we don't have a functioning "unconstrained pT (UPT) invariant mass correlation condition" in uGT.