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
HGCAL RecHits Calibration for V16 geometry scenario #36728
Changes from all commits
c8fc8bb
424f5dd
cb4ac8a
1d4a3bb
85870a5
b1e60ce
a2c4777
a75738c
b654f38
eb55bd2
1a7c1c6
bb1066b
2e499e2
9c8c05a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,8 @@ | |
|
||
from SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi import hgceeDigitizer, hgchefrontDigitizer, hgchebackDigitizer, hfnoseDigitizer | ||
|
||
fCPerMIP_v10 = cms.vdouble(2.06,3.43,5.15) #120um, 200um, 300um | ||
fCPerMIP_mpv = cms.vdouble(1.25,2.57,3.88) #120um, 200um, 300um | ||
fCPerMIP_mean = cms.vdouble(2.06,3.43,5.15) #120um, 200um, 300um | ||
|
||
# HGCAL producer of rechits starting from digis | ||
HGCalUncalibRecHit = cms.EDProducer( | ||
|
@@ -26,7 +27,7 @@ | |
tdcSaturation = hgceeDigitizer.digiCfg.feCfg.tdcSaturation_fC, | ||
tdcOnset = hgceeDigitizer.digiCfg.feCfg.tdcOnset_fC, | ||
toaLSB_ns = hgceeDigitizer.digiCfg.feCfg.toaLSB_ns, | ||
fCPerMIP = cms.vdouble(1.25,2.57,3.88) #100um, 200um, 300um | ||
fCPerMIP = fCPerMIP_mpv | ||
), | ||
|
||
HGCHEFConfig = cms.PSet( | ||
|
@@ -39,7 +40,7 @@ | |
tdcSaturation = hgchefrontDigitizer.digiCfg.feCfg.tdcSaturation_fC, | ||
tdcOnset = hgchefrontDigitizer.digiCfg.feCfg.tdcOnset_fC, | ||
toaLSB_ns = hgchefrontDigitizer.digiCfg.feCfg.toaLSB_ns, | ||
fCPerMIP = cms.vdouble(1.25,2.57,3.88) #100um, 200um, 300um | ||
fCPerMIP = fCPerMIP_mpv | ||
), | ||
|
||
HGCHEBConfig = cms.PSet( | ||
|
@@ -65,18 +66,22 @@ | |
tdcSaturation = hfnoseDigitizer.digiCfg.feCfg.tdcSaturation_fC, | ||
tdcOnset = hfnoseDigitizer.digiCfg.feCfg.tdcOnset_fC, | ||
toaLSB_ns = hfnoseDigitizer.digiCfg.feCfg.toaLSB_ns, | ||
fCPerMIP = cms.vdouble(1.25,2.57,3.88) #100um, 200um, 300um | ||
fCPerMIP = fCPerMIP_mpv | ||
), | ||
|
||
algo = cms.string("HGCalUncalibRecHitWorkerWeights") | ||
) | ||
|
||
from Configuration.Eras.Modifier_phase2_hgcalV10_cff import phase2_hgcalV10 | ||
phase2_hgcalV10.toModify( HGCalUncalibRecHit.HGCEEConfig , fCPerMIP = fCPerMIP_v10 ) | ||
phase2_hgcalV10.toModify( HGCalUncalibRecHit.HGCHEFConfig , fCPerMIP = fCPerMIP_v10 ) | ||
phase2_hgcalV10.toModify( HGCalUncalibRecHit.HGCEEConfig , fCPerMIP = fCPerMIP_mean ) | ||
phase2_hgcalV10.toModify( HGCalUncalibRecHit.HGCHEFConfig , fCPerMIP = fCPerMIP_mean ) | ||
|
||
from Configuration.Eras.Modifier_phase2_hgcalV16_cff import phase2_hgcalV16 | ||
phase2_hgcalV16.toModify( HGCalUncalibRecHit.HGCEEConfig , fCPerMIP = fCPerMIP_mean ) | ||
phase2_hgcalV16.toModify( HGCalUncalibRecHit.HGCHEFConfig , fCPerMIP = fCPerMIP_mean ) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are these two configs the same as There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, they are the same. So, you say that Phase2C17I13M9 includes There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ciao @srimanob this is a part that I am aware of and that I do not particularly like about eras and their chaining. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi @rovere There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ciao @srimanob yes, The cleaning will not be trivial, I realize. As soon as the situation from the geometry point of view is more stable, we will address that, too. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK great, let me revert the last commit and push it. |
||
|
||
from Configuration.Eras.Modifier_phase2_hfnose_cff import phase2_hfnose | ||
phase2_hfnose.toModify( HGCalUncalibRecHit.HGCHFNoseConfig , | ||
isSiFE = True , | ||
fCPerMIP = fCPerMIP_v10 | ||
fCPerMIP = fCPerMIP_mean | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should add a new
Configuration.Eras.Modifier_phase2_hgcalV16_cff
, at the moment is missing and the test is failing