Skip to content
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

Add hgc sample gain fix cns cmssw 11 0 0 pre9 #9

Conversation

pfs
Copy link

@pfs pfs commented Oct 9, 2019

This patches the HGCalRadiationMap to have an algo word which can be used to customize the parameterizations to be used for noise, fluence etc.
For the HGCalSiRadiationMap the algo word has 3 bits. If the bit is on it should disable the corresponding component: bit1 = disable fluence bit2 = disable CCE bit3 = disable noise.
A start scenario should be simulate with algo=3, noise can be disabled with algo=4, etc.

To enable different algos with cmsDriver one can do

from SLHCUpgradeSimulations.Configuration.aging import agedHGCal
process = agedHGCal(process,algo)

by default algo=0 (full aging)

The parameterizations obtained by switching algo seem to make sense
start (algo=3)
end-of-life (algo=0)

@deguio

PS good news i can now list franzoni/cmssw without problems

@franzoni
Copy link
Owner

franzoni commented Oct 10, 2019

algo is to be taken as bit-wise:

enum NoiseMapAlgoBits_t { FLUENCE, CCE, NOISE };
[...]
ignoreFluence_ = ((algo >> FLUENCE) & 0x1 );
ignoreCCE_ = ((algo >> CCE) & 0x1 );
ignoreNoise_ = ((algo >> NOISE) & 0x1 );

Notable scenarios:

  • start of life 3:
    N=0, CC=1,FL=1
  • end of life 0:
    N=0, CC=0,FL=0
  • end of life and no noise 4:
    N=4, CC=0,FL=0

@franzoni franzoni merged commit 58b031f into franzoni:add_HGCSample_gain_fix_cns_CMSSW_11_0_0_pre9 Oct 10, 2019
@pfs pfs deleted the add_HGCSample_gain_fix_cns_CMSSW_11_0_0_pre9 branch November 18, 2021 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants