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
Update SiPM parameters and fix a few bugs in hardcode conditions #16526
Conversation
A new Pull Request was created by @kpedro88 (Kevin Pedro) for CMSSW_8_1_X. It involves the following packages: CalibCalorimetry/HcalAlgos @ghellwig, @civanch, @cerminar, @cmsbuild, @franzoni, @mdhildreth, @mmusich, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here #13028 |
@cmsbuild please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
are there any physics signal response plots to go with this PR? |
OK, lets proceed with 2017 conditions update... On Tue, 8 Nov 2016, Kevin Pedro wrote:
|
@slava77 the hardcode conditions are used directly for Phase2, so to start we can look at those comparisons, e.g. from D5: This shows the expected decrease in noise. I'll try to make some kind of 2017 single pion scan or something today. |
On 11/9/16 8:56 AM, Kevin Pedro wrote:
What does this plot say about response to real hits?
|
To me the new (red) distribution around 1 GeV looks narrower than the old (black) distribution, which I would expect from reduced noise. But as I said, I'll make more plots. |
+1 |
@mariadalfonso the gain change here may require a retuning of the M2 1pulse/3pulse cut. (Could be worthwhile to make this database-dependent, if we always want to change at 20 GeV, then the corresponding fC value can be calculated automatically.) |
@slava77 I ran 1000 50 GeV pions aimed at the endcap and collected HCAL RecHit energy in a cone of dR < 0.3 around the generated pions (selecting events with ECAL energy < 1 GeV). I observe an improvement in the response and resolution, as expected from the motivation for the new parameters (optimize S/N with lower overvoltage). (Blue fit goes with black histo, magenta fit goes with red histo.) |
On 11/9/16 1:09 PM, Kevin Pedro wrote:
Strange If mean M2 energy is higher by more than 7% then we likely lost the
|
Hm, I see your point about the response. It could be due to the point I realized earlier today, which is that the 1pulse-vs-3pulse cut in M2 needs to be adjusted (but I'm not sure where that cut is made in the code: @mariadalfonso, can you point it out?). |
We've briefly discussed it in some thread with Maria yesterday ts4Max = (100.,70000.) ts4Max[1] usage : So to keep it ~20 GeV => ts4Max = (100., 45000.)
|
@abdoulline thanks, I reran with these adjustments in my config file:
(I could add them to this PR also, but they won't make sense for central WFs until we have tags with the new params, so I'll hold off for now.) The results went the opposite way we wanted... But M2 vs M0 looks more like before (though there's some spread at the very low end that could throw off the resolution, should be investigated): And if we look directly at the hcal/(p-ecal) quantity that @mariadalfonso usually shows, the scale looks okay: |
since this one is not approved yet, it may be more practical to have all changes in one go |
@slava77 as I pointed out, the corresponding db conditions are already approved and merged. The changes here are for HCAL development and only directly affect Phase2. I would prefer to get this PR merged and then have a separate PR for M2 tuning. |
@mmusich please sign |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @smuzaffar |
+1 |
The major change in this PR is new SiPM parameters (gain, photoelectronsToAnalog, dark current, crosstalk). We were informed about a month ago by the hardware experts that the SiPMs were run with an effective overvoltage of ~4.4V during test beam, but subsequent studies found that an overvoltage of 3V maximized signal to noise. Many SiPM parameters depend on voltage, so they need to be updated from the initial testbeam analysis to get better agreement with expected running conditions.
We were sent some pedestal runs from b904, which I analyzed (with the help of numerous experts) to get an average set of parameters. Slides detailing this analysis can be found here: sipm_condition_analysis.pdf.
I also fixed a few minor bugs:
@abdoulline, I hope we can update all the database conditions at once...
@lihux25, it might be necessary to recheck the ZS thresholds with the new parameters. I would suggest not rerunning the whole study, but just check the existing "best" threshold you found, and then a slightly higher or lower value (to see how things change). To use the hardcode conditions in your config, merge this PR (in any recent IB) and then: