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

Possible bug in Validation/RecoVertex/src/BeamSpotHistogramMaker.cc #36650

Closed
perrotta opened this issue Jan 8, 2022 · 7 comments
Closed

Possible bug in Validation/RecoVertex/src/BeamSpotHistogramMaker.cc #36650

perrotta opened this issue Jan 8, 2022 · 7 comments

Comments

@perrotta
Copy link
Contributor

perrotta commented Jan 8, 2022

As pointed out by the static analyzer, the value stored in currdir at L29 of Validation/RecoVertex/src/BeamSpotHistogramMaker.cc in the BeamSpotHistogramMaker::book method is never read.

Shouldn't that line be written as

    _currdir = &(tfserv->tFileDirectory());

instead? (With _currdir instead of currdir)

@perrotta
Copy link
Contributor Author

perrotta commented Jan 8, 2022

assign dqm

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 8, 2022

New categories assigned: dqm

@jfernan2,@ahmad3213,@rvenditti,@emanueleusai,@pbo0,@pmandrik you have been requested to review this Pull request/Issue and eventually sign? Thanks

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 8, 2022

A new Issue was created by @perrotta Andrea Perrotta.

@Dr15Jones, @perrotta, @dpiparo, @makortel, @smuzaffar, @qliphy can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@jfernan2
Copy link
Contributor

jfernan2 commented Jan 9, 2022

Thanks @perrotta
I believe you are totally right, of course.
I have fixed it in:
#36656

@perrotta
Copy link
Contributor Author

perrotta commented Jan 9, 2022

Fixed by #36656, thank you @jfernan2

@perrotta perrotta closed this as completed Jan 9, 2022
@jfernan2
Copy link
Contributor

jfernan2 commented Jan 9, 2022

+1
For the records

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 9, 2022

This issue is fully signed and ready to be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants