You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One can use the SimpleTriggerL1EGFlatTableProducer created for the BX Vector EG collection for Phase-1 to access this hwQual for the individual barrel and endcap collections separately though.
But when trying to use the SimpleTriggerL1EGFlatTableProducer on the Merged collection it fails:
An exception of category 'ProductNotFound' occurred while
[0] Processing Event run: 1 lumi: 677 event: 198889 stream: 0
[1] Running path 'end'
[2] Prefetching for module NanoAODOutputModule/'outnano'
[3] Calling method for module SimpleTriggerL1EGFlatTableProducer/'staEGTable'
Exception Message:
Principal::getByToken: Found zero products matching all criteria
Looking for type: BXVector<l1t::EGamma>
Looking for module label: staEGmerged
Looking for productInstanceName:
It seems that the merged collection does not preserve the BXVector<l1t::EGamma> type?
Thus we have to figure out a way to properly merge these two EG collections and make a table from them.
The text was updated successfully, but these errors were encountered:
The behavior seems consistent with expectations.
The CandViewMerger.cc produces a merged collection of type reco::CandidateCollection and not BXVector<l1t::EGamma>. I didn't manage to instantiate a generic Merge<> for BXVector.
Possible solutions would be:
custom merger module for BXVector<l1t::EGamma>
generic FlatTable merger.
Maybe the second already exists somewhere in the CMSSW repo?
In the current way we use the
CandViewMerger
to merge the barrel and endcap EG collections:Phase2-L1Nano/python/l1Ph2Nano_cff.py
Lines 211 to 214 in 7728e42
This works with the
SimpleCandidateFlatTableProducer
but it fails when trying to access the HW values e.g.hwQual
.One can use the
SimpleTriggerL1EGFlatTableProducer
created for the BX Vector EG collection for Phase-1 to access thishwQual
for the individual barrel and endcap collections separately though.But when trying to use the
SimpleTriggerL1EGFlatTableProducer
on the Merged collection it fails:It seems that the merged collection does not preserve the
BXVector<l1t::EGamma>
type?Thus we have to figure out a way to properly merge these two EG collections and make a table from them.
The text was updated successfully, but these errors were encountered: