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
[Calibration/TkAlCaRecoProducers] [Alignment/CommonAlignmentProducer] Fix warning found by gcc 5.3.0 #13578
Comments
A new Issue was created by @Degano (Alessandro Degano). @davidlange6, @smuzaffar, @Degano, @davidlt, @Dr15Jones can you please review it and eventually sign/assign? Thanks. cms-bot commands are list here #13029 |
assign alca |
Hi all, However, I do not fully understand what the use case of this configuration parameter is... Cheers, |
@ghellwig Thanks Gregor for looking into this! Does any body know what the exact purpose of the seedOnlyFromAbove variable is and what the impact will be declaring it as int? |
As Gregor pointed out, the default setting of seedOnlyFromAbove is 0, so setting it to int will not change the default behaviour of the code. Are there objections against turning it into an int? |
@mschrode @ghellwig thanks for checking.
but seems that this was never actually used. |
According to git these lines predates 2013 (git migration). In that case this has not been utilised for years. Then I would just suggest to remove the feature, which makes code cleaner and easier to maintain in the future. |
I have contacted the original author (Gero Flucke) of the commit introducing this feature [1](I got it from the 62X branch). I would not like to remove it without at least asking for its use case. Typically he answers within 1 or 2 days so there's not much of a delay. [1] 00531b2 |
Posting Gero's reply here. @rcastello, can you comment?
|
@ghellwig I think that implementing what I suggested in #13578 (comment) is safe enough without digging too much in the past |
Ok, I'll create the PRs later today. |
+1 |
This issue is fully signed and ready to be closed. |
https://cmssdt.cern.ch/SDT/cgi-bin/buildlogs/slc6_amd64_gcc530/CMSSW_8_1_X_2016-03-02-1100/Calibration/TkAlCaRecoProducers
https://cmssdt.cern.ch/SDT/cgi-bin/buildlogs/slc6_amd64_gcc530/CMSSW_8_1_X_2016-03-02-1100/Alignment/CommonAlignmentProducer
As the intended behavior is not clear from the context.
The text was updated successfully, but these errors were encountered: