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

MuonAlignment ASAN bug fix and DB output update #36145

Closed
wants to merge 1 commit into from

Conversation

hyunyong
Copy link
Contributor

PR description:

Resolve #36053
Resolve cms-AlCaDB/AlCaTools#43
DB output service migration for MuonAlignment (cms-AlCaDB/AlCaTools#28)

@@ -84,7 +84,7 @@ MuonMisalignedProducer::MuonMisalignedProducer(const edm::ParameterSet& p)
esTokenGEM_(esConsumes(edm::ESInputTag("", "idealForMuonMisalignedProducer"))) {}

//__________________________________________________________________________________________________
MuonMisalignedProducer::~MuonMisalignedProducer() = default;
MuonMisalignedProducer::~MuonMisalignedProducer() {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the = default; is the recommended way of doing this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code-format tool changed this. do you want to keep = default;?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, @makortel @smuzaffar I thought the default was the preferred option

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @hyunyong I wrote to you privately, you did many things in the PR from which some are correct and some are undoing the work of @mmusich about the DB output module changes

Oh, ok.
I copied the module from an old version.
I understood now what happened.
I will close this PR and make a new one.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is, and I'm a bit surprised that code-checks would change away from = default. We have plenty of those in .cc files.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is, and I'm a bit surprised that code-checks would change away from = default. We have plenty of those in .cc files.

no, it was my mistake.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36145/26680

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @hyunyong for master.

It involves the following packages:

  • Alignment/MuonAlignment (alca)
  • Alignment/MuonAlignmentAlgorithms (alca)

@cmsbuild, @malbouis, @tvami, @yuanchao, @francescobrivio can you please review it and eventually sign? Thanks.
@pakhotin, @adewit, @abbiendi, @CeliaFernandez, @jhgoh, @tocheng, @mmusich, @trocino this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@@ -284,8 +284,8 @@ void MuonAlignment::saveCSCSurveyToDB(void) {
throw cms::Exception("NotAvailable") << "PoolDBOutputService not available";

// Get alignments and errors
Alignments cscAlignments{};
SurveyErrors cscSurveyErrors{};
Alignments* cscAlignments = new Alignments();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here the original was the preferred solution

@tvami
Copy link
Contributor

tvami commented Nov 16, 2021

Hi @hyunyong I wrote to you privately, you did many things in the PR from which some are correct and some are undoing the work of @mmusich about the DB output module changes

@hyunyong hyunyong closed this Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants