-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Covariance Version Conflict between HLT Module and miniAOD Module #43861
Comments
cms-bot internal usage |
A new Issue was created by @brallmond Braden Allmond. @makortel, @smuzaffar, @rappoccio, @sextonkennedy, @Dr15Jones, @antoniovilela can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
this is by design. |
Thanks @slava77 for explanation. |
assign reconstruction, xpog, hlt |
New categories assigned: reconstruction,xpog,hlt @Martin-Grunewald,@mmusich,@vlimant,@hqucms,@jfernan2,@mandrenguyen you have been requested to review this Pull request/Issue and eventually sign? Thanks |
Sorry, while running HLT+RECO/PAT/AOD in one cmsRun job is technically possible, it has never been validated (cross-stalk / overwriting of ES modules loaded by HLT v RECO). Thus I guess a safer solution is to split your cmsRun job into separate steps. If we want to make it work, then more action needs to be taken, including solving this specific
|
So as I understand, it's not a bug in the sense that no jobs are ever executed in that way in practice? I am not experienced in how steps are normally split, so I naively combined the steps assuming that was what this twiki was alluding to. If the standard case is to re-emulate the HLT separately (e.g. cmsRun my_hlt_conf_with_full_output.py), and then to give the full_output.root file to cmsDriver, starting from -s RECO, PAT, I would ask if the twiki could be updated to make such steps explicit for the benefit of those with less experience :) |
In practice yes, in all production workflows (data and MC).
I think the twiki never alludes to combine all steps in one, but rather to replace the user defined menu onto an existing (separate) HLT step. We could add an explicit reminder but that's outside of the scope of that section. |
Added this text:
|
+reconstruction |
I would really make configurable a version of the track covariance packing in |
Sorry, no, it does not work this way! We have tests running HLT+RECO towards making it work properly, so this error is going backward on that effort in that it even technically would no longer work! |
@Martin-Grunewald Technically speaking issue is cased by HLT and MiniAOD in the same workflow, so HLT + RECO without miniAOD should work. |
PackedCandidate interface does not support a switch between variants during runtime; there is a |
Yes, true. But, variant can be at least set consistently for all modules using PackedCandidates which is not possible when one of the modules has it hard-coded. It is what I want to change. Maybe deeper changes can be implemented later, if really needed, but this will have some wider implications. |
for the record, there's further discussion ongoing at #43917 |
The HLT configurations part is being followed up at https://its.cern.ch/jira/browse/CMSHLT-3041. For the record now that #43917 is merged in IBs, I did the following test:
and the process runs fine (at least without technically crashing, I can't vouch for the physics content of the output files though, see above discussion). [1] --- HLT_PNet_cff.py 2024-02-15 19:14:24.141820661 +0100
+++ HLT_PNet_cff_mod.py 2024-02-15 18:58:22.758950456 +0100
@@ -58980,7 +58980,8 @@
quality_value_map = cms.InputTag( "" ),
trkPt_value_map = cms.InputTag( "" ),
trkEta_value_map = cms.InputTag( "" ),
- trkPhi_value_map = cms.InputTag( "" )
+ trkPhi_value_map = cms.InputTag( "" ),
+ covarianceVersion = cms.int32(1),
)
fragment.hltParticleNetONNXJetTags = cms.EDProducer( "BoostedJetONNXJetTagsProducer",
src = cms.InputTag( "hltParticleNetJetTagInfos" ),
@@ -65079,7 +65080,8 @@
quality_value_map = cms.InputTag( "" ),
trkPt_value_map = cms.InputTag( "" ),
trkEta_value_map = cms.InputTag( "" ),
- trkPhi_value_map = cms.InputTag( "" )
+ trkPhi_value_map = cms.InputTag( "" ),
+ covarianceVersion = cms.int32(1),
)
fragment.hltParticleNetONNXJetTagsAK8 = cms.EDProducer( "BoostedJetONNXJetTagsProducer",
src = cms.InputTag( "hltParticleNetJetTagsInfosAK8" ), Once https://its.cern.ch/jira/browse/CMSHLT-3041 is integrated we'll sign for HLT. |
+hlt
|
@cms-sw/xpog-l2 is this issue still relevant on your side? |
+xpog |
This issue is fully signed and ready to be closed. |
@cmsbuild, please close |
By trying to use new HLT paths made in my user area to generate small MiniAOD file for DQM testing, I found what I believed was an issue between an HLT module and later MiniAOD modules. I sent a plea and description of my problem to Michal Bluj (observing this issue) and he describes the situation as the following:
Here is a set of commands to reproduce the issue.
Clean cmssw release.
Download user cff and place in configurations
Run the cmsDriver command to take a RAW file to MiniAOD level, using the user cff (It's possible you will need to download the file locally first to ensure that it can be opened promptly. It is from a recent VBFHTauTau dataset to ensure the PNet paths fire)
The error only appears if a Pnet trigger fires, so be wary if you decide to use a different file for some reason. Here is the error:
As I understood, this is some bug with an apparently global variable that shouldn't be global.
For now, a way to circumvent the error is to add the following lines to the cmsDriver config file (step2_RAW2DIGI_L1Reco_HLT_RECO_PAT.py)
But ideally we would like to resolve this issue now so it doesn't appear later. Thanks for looking into this.
The text was updated successfully, but these errors were encountered: