Raw event format error when running HLT1 on KsKs Upgrade MC
The issue appears when running HLT1 (the problem appears both running Allen from Moore and the Moore CPU HLT1 reconstruction). Everything it's ok if Moore runs on the MinBias sample using the default inputs and conds, but when running on KsKs Upgrade MC sample there is an error in output.
In partucular, setting options.input_raw_format = 4.3, one gets:
Traceback (most recent call last):
File "/afs/cern.ch/work/l/lpica/private/trigger/hlt1/stack/Gaudi/InstallArea/x86_64-centos7-gcc9-opt/scripts/gaudirun.py", line 547, in <module>
exec (o, g, l)
File "<string>", line 1, in <module>
File "/afs/cern.ch/work/l/lpica/private/trigger/hlt1/stack/Gaudi/InstallArea/x86_64-centos7-gcc9-opt/python/GaudiKernel/ProcessJobOptions.py", line 502, in importOptions
_import_function_mapping[ext](optsfile)
File "/afs/cern.ch/work/l/lpica/private/trigger/hlt1/stack/Gaudi/InstallArea/x86_64-centos7-gcc9-opt/python/GaudiKernel/ProcessJobOptions.py", line 470, in _import_python
exec (code, {})
File "/afs/cern.ch/work/l/lpica/private/trigger/hlt1/stack/Moore/Hlt/Hlt1Conf/options/allen_hlt1_pp_default.py", line 17, in <module>
run_allen(options, allen_lines)
File "/afs/cern.ch/work/l/lpica/private/trigger/hlt1/stack/Moore/Hlt/Moore/python/Moore/config.py", line 399, in run_allen
allen_dec_reports = make_allen_dec_reports()
File "/afs/cern.ch/work/l/lpica/private/trigger/hlt1/stack/Moore/Hlt/RecoConf/python/RecoConf/hlt1_allen.py", line 50, in make_allen_dec_reports
AllenRawInput=dumped_raw_banks(dump_to_file=dump_to_file),
File "/afs/cern.ch/work/l/lpica/private/trigger/hlt1/stack/Moore/PyConf/python/PyConf/tonic.py", line 396, in _configurable_wrapper
return wrapped(**kwargs)
File "/afs/cern.ch/work/l/lpica/private/trigger/hlt1/stack/Moore/Hlt/RecoConf/python/RecoConf/hlt1_allen.py", line 28, in make_dumped_raw_banks
RawEventLocation=make_raw(),
File "/afs/cern.ch/work/l/lpica/private/trigger/hlt1/stack/Moore/PyConf/python/PyConf/tonic.py", line 396, in _configurable_wrapper
return wrapped(**kwargs)
File "/afs/cern.ch/work/l/lpica/private/trigger/hlt1/stack/Moore/PyConf/python/PyConf/application.py", line 372, in default_raw_event
'events manually.'.format(bank_types, locations, raw_event_format))
ValueError: Requested raw banks ([]) are split among multiple locations (set([('HC/RawEvent',), ('Trigger/RawEvent',), ('Muon/RawEvent',), ('PersistReco/RawEvent',), ('Calo/RawEvent',), ('Tracker/RawEvent',), ('Rich/RawEvent',), ('Unstripped/RawEvent',), ('Velo/RawEvent',)])) for raw event format 4.3. Restrict raw bank types or merge raw events manually.
While, setting options.input_raw_format = 0.3, as in the default conditions, I get:
createODIN ERROR Cannot retrieve /Event/DAQ/RawEvent from transient store.
HLTControlFlowMgr FATAL Event failed in Node RunAllen/RunAllen
bankKiller ERROR bankKiller:: Failed to find raw data StatusCode=FAILURE
HLTControlFlowMgr FATAL Event failed in Node bankKiller/bankKiller
HltDecReportsWriter WARNING HltDecReportsWriter:: No HltDecReports at /Event/RunAllen/DecReportsLocation
HLTControlFlowMgr FATAL *** Event 0 on slot 0 failed! ***
HLTControlFlowMgr INFO Dumping Alg Exec State for slot 0:
[slot: 0, incident: AlgFail]:
+ RunAllen e: n
+ createODIN e: n
+ Gaudi__Hive__FetchDataFromFile e: n
+ bankKiller e: n
+ HltDecReportsWriter e: n
+ DumpRawBanks e: n
+ DummyEventTime e: n
+ reserveIOV e: n
For clarity, the options used to run are:
import os
from Moore import options
options.input_type = 'ROOT'
options.input_raw_format = 4.3
options.evt_max = 10
options.simulation = True
options.data_type = 'Upgrade' #'2018'
options.dddb_tag = 'dddb-20190223' #'dddb-20170721-3'
options.conddb_tag = 'sim-20180530-vc-mu100' #'sim-20190430-vc-md100'
options.input_files=(["/eos/lhcb/user/l/lpica/MC_Trigger/MC_KsKs_upgrade/00104495_00000015_2.xdst","/eos/lhcb/user/l/lpica/MC_Trigger/MC_KsKs_upgrade/0010449\
5_00000015_2.xdst","/eos/lhcb/user/l/lpica/MC_Trigger/MC_KsKs_upgrade/00104495_00000224_2.xdst","/eos/lhcb/user/l/lpica/MC_Trigger/MC_KsKs_upgrade/00104495_0\
0000165_2.xdst","/eos/lhcb/user/l/lpica/MC_Trigger/MC_KsKs_upgrade/00104495_00000127_2.xdst","/eos/lhcb/user/l/lpica/MC_Trigger/MC_KsKs_upgrade/00104495_0000\
0368_2.xdst", "/eos/lhcb/user/l/lpica/MC_Trigger/MC_KsKs_upgrade/00104495_00000211_2.xdst", "/eos/lhcb/user/l/lpica/MC_Trigger/MC_KsKs_upgrade/00104495_00000\
311_2.xdst", "/eos/lhcb/user/l/lpica/MC_Trigger/MC_KsKs_upgrade/00104495_00000183_2.xdst"])
The error given by the CPU HLT1 running is:
FTRawBankDecoder ERROR Bank version=v6 is not compatible with decoding version=v4
FTRawBankDecoder ERROR Wrong decoding version
HLTControlFlowMgr FATAL Event failed in Node PrFilter__PrFittedForwardTracksWithPVs/PrFilter__PrFittedForwardTracksWithPVs
FTRawBankDecoder ERROR Bank version=v6 is not compatible with decoding version=v4
FTRawBankDecoder ERROR Wrong decoding version
HLTControlFlowMgr FATAL Event failed in Node CombineTracks__2Body__PrFittedForwardTracksWithPVs/CombineTracks__2Body__PrFittedForwardTracksWithPVs
FTRawBankDecoder ERROR Bank version=v6 is not compatible with decoding version=v4
FTRawBankDecoder ERROR Wrong decoding version
HLTControlFlowMgr FATAL Event failed in Node PrFilter__PrFittedForwardTracksWithMuonID/PrFilter__PrFittedForwardTracksWithMuonID
FTRawBankDecoder ERROR Bank version=v6 is not compatible with decoding version=v4
FTRawBankDecoder ERROR Wrong decoding version
HLTControlFlowMgr FATAL Event failed in Node CombineTracks__2Body__PrFittedForwardTracksWithMuonID/CombineTracks__2Body__PrFittedForwardTracksWithMuonID
FTRawBankDecoder ERROR Bank version=v6 is not compatible with decoding version=v4
FTRawBankDecoder ERROR Wrong decoding version
HLTControlFlowMgr FATAL Event failed in Node CombineTracks__2Body__PrFittedForwardTracksWithMuonID/CombineTracks__2Body__PrFittedForwardTracksWithMuonID#1
FTRawBankDecoder ERROR Bank version=v6 is not compatible with decoding version=v4
FTRawBankDecoder ERROR Wrong decoding version
HLTControlFlowMgr FATAL Event failed in Node CombineTracks__2Body__PrFittedForwardTracksWithMuonID/CombineTracks__2Body__PrFittedForwardTracksWithMuonID#2
FTRawBankDecoder ERROR Bank version=v6 is not compatible with decoding version=v4
FTRawBankDecoder ERROR Wrong decoding version
HLTControlFlowMgr FATAL Event failed in Node SelReportsMaker/SelReportsMaker
FTRawBankDecoder ERROR Bank version=v6 is not compatible with decoding version=v4
FTRawBankDecoder ERROR Wrong decoding version
HLTControlFlowMgr FATAL Event failed in Node HltSelReportsWriter/HltSelReportsWriter
HLTControlFlowMgr FATAL *** Event 1 on slot 0 failed! ***
HLTControlFlowMgr INFO Dumping Alg Exec State for slot 0:
[slot: 0, incident: AlgFail]:
+ PrStorePrUTHits e: n
+ ExecutionReportsWriter e: n
+ SciFiTrackForwardingStoreHit e: n
+ VoidFilter#1 e: n
+ PrFilter__PrFittedForwardTracksWithPVs e: n
+ Hlt__RoutingBitsWriter e: n
+ LHCb__Converters__Track__v1__fromV2TrackV1TrackVector#5 e: n
+ PrVeloUT#1 e: n
+ LHCb__Converters__Track__v2__fromPrFittedForwardTrackWithMuonID#2 e: n
+ DeterministicPrescaler e: n
+ DeterministicPrescaler#1 e: n
+ VeloClusterTrackingSIMD e: n
+ DeterministicPrescaler#3 e: n
+ MuonMatchVeloUTSoA e: n
+ LHCb__Converters__Track__v2__fromPrFittedForwardTrackWithMuonID#1 e: n
+ CombineTracks__2Body__PrFittedForwardTracksWithMuonID e: n
+ LHCb__Converters__Track__v1__fromV2TrackV1TrackVector#4 e: n
+ DeterministicPrescaler#6 e: n
+ LHCb__Converters__TrackCompactVertex__VectorOf2TrackPrFittedWithPVsCompactVertexToVectorOfRecVertex e: n
+ LHCb__Converters__TrackCompactVertex__VectorOf2TrackPrFittedWithMuonIDCompactVertexToVectorOfRecVertex#1 e: n
+ LHCb__Converters__TrackCompactVertex__VectorOf2TrackPrFittedWithMuonIDCompactVertexToVectorOfRecVertex e: n
+ MakePVRelations__PrFittedForwardTracks e: n
+ PrFilterIPSoA e: n
+ LHCb__Converters__Track__v2__fromPrFittedForwardTrackWithPVs e: n
+ DeterministicPrescaler#5 e: n
+ SciFiTrackForwarding e: n
+ LHCb__Converters__Track__v2__fromPrFittedForwardTrackWithMuonID e: n
+ PrFilter__PrFittedForwardTracksWithMuonID#2 e: n
+ createODIN e: n
+ PrFilter__PrFittedForwardTracksWithMuonID e: n
+ Gaudi__Hive__FetchDataFromFile#3 e: n
+ DeterministicPrescaler#2 e: n
+ Gaudi__Hive__FetchDataFromFile e: n
+ bankKiller e: n
+ LHCb__Converters__TrackCompactVertex__VectorOf2TrackPrFittedWithMuonIDCompactVertexToVectorOfRecVertex#2 e: n
+ PrFilter__PrFittedForwardTracksWithMuonID#1 e: n
+ Gaudi__Hive__FetchDataFromFile#1 e: n
+ HltDecReportsWriter e: n
+ require_pvs e: n
+ FTRawBankDecoder e: n
+ LHCb__Converters__Track__v1__fromV2TrackV1TrackVector#2 e: n
+ LumiCounterFromContainer__RecVertex_v2 e: n
+ TrackBeamLineVertexFinderSoA e: n
+ PrVeloUT e: n
+ Unwrap__PrFittedForwardTracksWithPVs#1 e: n
+ Unwrap__PrFittedForwardTracksWithMuonID#1 e: n
+ VeloKalman#1 e: n
+ LumiCounterMerger e: n
+ MuonRawToHits e: n
+ DummyEventTime e: n
+ LHCb__Converters__Track__v1__fromV2TrackV1TrackVector#3 e: n
+ PrGECFilter e: n
+ LHCb__Converters__Track__v2__fromPrFittedForwardTrackWithPVs#1 e: n
+ LHCb__Converters__Track__v1__fromV2TrackV1TrackVector#7 e: n
+ LHCb__Converters__Track__v2__fromPrFittedForwardTrackWithMuonID#3 e: n
+ VoidFilter e: n
+ HltSelReportsWriter e: n
+ HltLumiWriter e: n
+ MakeZip__PrFittedForwardTracks__BestVertexRelations e: n
+ Unwrap__PrFittedForwardTracksWithMuonID#3 e: n
+ SelReportsMaker e: n
+ CombineTracks__2Body__PrFittedForwardTracksWithPVs e: n
+ Gaudi__Hive__FetchDataFromFile#2 e: n
+ DeterministicPrescaler#8 e: n
+ VeloKalman e: n
+ LHCb__Converters__Track__v1__fromV2TrackV1TrackVector#6 e: n
+ SciFiTrackForwarding#1 e: n
+ Gaudi__Hive__FetchDataFromFile#4 e: n
+ MakeZip__PrFittedForwardTracks__PrMuonPIDs#1 e: n
+ reserveIOV e: n
+ DeterministicPrescaler#7 e: n
+ PrFilter__PrFittedForwardTracksWithPVs#1 e: n
+ PrFilter__PrFittedForwardTracksWithMuonID#3 e: n
+ MakeZip__PrFittedForwardTracks__PrMuonPIDs e: n
+ MuonIDHlt1AlgPr#1 e: n
+ CombineTracks__2Body__PrFittedForwardTracksWithMuonID#1 e: n
+ MuonIDHlt1AlgPr e: n
+ DeterministicPrescaler#4 e: n
+ Unwrap__PrFittedForwardTracksWithMuonID#2 e: n
+ LumiCounterFromContainer__PrVeloTracks e: n
+ CombineTracks__2Body__PrFittedForwardTracksWithMuonID#2 e: n
+ VoidFilter#2 e: n
+ require_twotracks e: n
Running HLT2 lines on the same sample (with raw format = 4.3) the code succesfully runs. It was suggested that this can be solved including a raw event recombination.