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
Optional use of Max-Sample algorithm for gain-switch cases #17279
Optional use of Max-Sample algorithm for gain-switch cases #17279
Conversation
A new Pull Request was created by @emanueledimarco (Emanuele Di Marco) for CMSSW_9_0_X. It involves the following packages: RecoLocalCalo/EcalRecAlgos @cmsbuild, @cvuosalo, @slava77, @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. |
with in 136.761 (JetHT 2016E workflow) a printout is more informative
Curiously, the hits with large energy change from 0 to ~200 didn't pass the downstream selections. looking in more details at the hits
So, the flags for the hits with energy changing from 0 to ~200 change from kGood to kOutOfTime+kWeird, which explains their absence downstream. I tested in CMSSW_9_0_X_2017-01-27-1100 |
@slava77 The average correction up to 20% was on average as a function of the multifit amplitude, in presence of a gain switch (see p. 16 of this presentation). The flags can change, because the kOutOfTime is set in the uncalib rechit producer under certain conditions, in particular for high amplitudes (see here). So it is correct that if the amplitude was 0 before, the flag kOutOfTime and kWeird could not be set. |
@emanueledimarco |
@slava77 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_9_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar |
+1 |
Related to 80X PR #17259, it includes the optional usage of the max-sample in EB or EE,
to remove the effect of the slew-rate limitation of the electronics in the ECAL amplifier,
in case of gain switch of it.
Further studies are needed to choose between this and option 4. of PR #17205.
This solution is already validated on 2016 data ( slewRateFix ).
In MC the slew-rate limitation is not simulated. Anyway we checked that the response is
close to the multifit one (presentation), and it is the Run1 algorithm for very high energy pulses.
For HLT this will make a negligible difference wrt to what we had in 2016, in terms of rates and CPU time.
@amassiro @lgray @bendavid @shervin86