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

CalibTracker/SiStripESProducers: ESProducers update to return unique_ptr. #22062

Merged
merged 3 commits into from Feb 3, 2018
Merged

CalibTracker/SiStripESProducers: ESProducers update to return unique_ptr. #22062

merged 3 commits into from Feb 3, 2018

Conversation

gartung
Copy link
Member

@gartung gartung commented Jan 31, 2018

No description provided.

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @gartung (Patrick Gartung) for master.

It involves the following packages:

CalibTracker/SiStripESProducers

@ghellwig, @arunhep, @cerminar, @cmsbuild, @franzoni, @lpernie can you please review it and eventually sign? Thanks.
@ghellwig, @jlagram, @mmusich, @gbenelli, @tocheng this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@ghellwig
Copy link

ghellwig commented Feb 1, 2018

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 1, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/25831/console Started: 2018/02/01 09:16

@@ -71,7 +71,7 @@ SiStripApvGainFakeESSource::produce(const SiStripApvGainRcd& iRecord)
{
using namespace edm::es;

std::shared_ptr<SiStripApvGain> apvGain{new SiStripApvGain};
std::unique_ptr<SiStripApvGain> apvGain{new SiStripApvGain};
Copy link

Choose a reason for hiding this comment

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

please change to

auto apvGain = std::make_unique<SiStripApvGain>();

@@ -67,7 +67,7 @@ SiStripBackPlaneCorrectioNFakeESSource::produce(const SiStripBackPlaneCorrection
edm::ESHandle<TrackerTopology> tTopo;
iRecord.getRecord<TrackerTopologyRcd>().get(tTopo);

std::shared_ptr<SiStripBackPlaneCorrection> backPlaneCorrection{new SiStripBackPlaneCorrection};
std::unique_ptr<SiStripBackPlaneCorrection> backPlaneCorrection = std::make_unique<SiStripBackPlaneCorrection>();
Copy link

Choose a reason for hiding this comment

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

please use auto

@@ -73,7 +73,7 @@ SiStripBadModuleConfigurableFakeESSource::produce(const SiStripBadModuleRcd& iRe
edm::ESHandle<TrackerTopology> tTopo;
iRecord.getRecord<TrackerTopologyRcd>().get(tTopo);

std::shared_ptr<SiStripQuality> quality{new SiStripQuality};
std::unique_ptr<SiStripQuality> quality = std::make_unique<SiStripQuality>();
Copy link

Choose a reason for hiding this comment

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

please use auto

@@ -64,7 +64,7 @@ SiStripBaseDelayFakeESSource::produce(const SiStripBaseDelayRcd& iRecord)
{
using namespace edm::es;

std::shared_ptr<SiStripBaseDelay> baseDelay{new SiStripBaseDelay};
std::unique_ptr<SiStripBaseDelay> baseDelay = std::make_unique<SiStripBaseDelay>();
Copy link

Choose a reason for hiding this comment

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

please use auto

@@ -61,7 +61,7 @@ SiStripConfObjectFakeESSource::produce(const SiStripConfObjectRcd& iRecord)
{
using namespace edm::es;

std::shared_ptr<SiStripConfObject> confObject{new SiStripConfObject};
std::unique_ptr<SiStripConfObject> confObject = std::make_unique<SiStripConfObject>();
Copy link

Choose a reason for hiding this comment

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

please use auto

@@ -64,7 +64,7 @@ SiStripLatencyFakeESSource::produce(const SiStripLatencyRcd& iRecord)
{
using namespace edm::es;

std::shared_ptr<SiStripLatency> latency{new SiStripLatency};
std::unique_ptr<SiStripLatency> latency = std::make_unique<SiStripLatency>();
Copy link

Choose a reason for hiding this comment

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

please use auto

@@ -169,7 +169,7 @@ SiStripLorentzAngleFakeESSource::produce(const SiStripLorentzAngleRcd& iRecord)
edm::ESHandle<TrackerTopology> tTopo;
iRecord.getRecord<TrackerTopologyRcd>().get(tTopo);

std::shared_ptr<SiStripLorentzAngle> lorentzAngle{new SiStripLorentzAngle};
std::unique_ptr<SiStripLorentzAngle> lorentzAngle = std::make_unique<SiStripLorentzAngle>();
Copy link

Choose a reason for hiding this comment

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

please use auto

@@ -98,7 +98,7 @@ SiStripNoisesFakeESSource::produce(const SiStripNoisesRcd& iRecord)
edm::ESHandle<TrackerTopology> tTopo;
iRecord.getRecord<TrackerTopologyRcd>().get(tTopo);

std::shared_ptr<SiStripNoises> noises{new SiStripNoises};
std::unique_ptr<SiStripNoises> noises = std::make_unique<SiStripNoises>();
Copy link

Choose a reason for hiding this comment

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

please use auto

@@ -64,7 +64,7 @@ SiStripPedestalsFakeESSource::produce(const SiStripPedestalsRcd& iRecord)
{
using namespace edm::es;

std::shared_ptr<SiStripPedestals> pedestals{new SiStripPedestals};
std::unique_ptr<SiStripPedestals> pedestals = std::make_unique<SiStripPedestals>();
Copy link

Choose a reason for hiding this comment

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

please use auto

@@ -125,7 +125,7 @@ SiStripBadModuleFedErrESSource::produce(const SiStripBadModuleFedErrRcd& iRecord
edm::ESHandle<SiStripFedCabling> cabling;
iRecord.getRecord<SiStripFedCablingRcd>().get(cabling);

std::shared_ptr<SiStripQuality> quality{new SiStripQuality};
std::unique_ptr<SiStripQuality> quality = std::make_unique<SiStripQuality>();
Copy link

Choose a reason for hiding this comment

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

please use auto

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 1, 2018

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 1, 2018

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 1, 2018

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-22062/25831/summary.html

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • /build/cmsbld/jenkins/workspace/compare-root-files-short-matrix/results/JR-comparison/PR-22062/1325.7_TTbar_13_94XNanoAODINPUT+TTbar_13_94XNanoAODINPUT+NANOEDMMC2017

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 26
  • DQMHistoTests: Total histograms compared: 2465763
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2465593
  • DQMHistoTests: Total skipped: 169
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 1.13999999982 KiB( 22 files compared)
  • Checked 110 log files, 9 edm output root files, 26 DQM output files

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 1, 2018

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 1, 2018

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 1, 2018

Pull request #22062 was updated. @ghellwig, @arunhep, @cerminar, @cmsbuild, @franzoni, @lpernie can you please check and sign again.

@ghellwig
Copy link

ghellwig commented Feb 2, 2018

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/25868/console Started: 2018/02/02 14:17

@ghellwig
Copy link

ghellwig commented Feb 2, 2018

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2018

This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2018

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2018

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2018

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-22062/25868/summary.html

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • /build/cmsbld/jenkins/workspace/compare-root-files-short-matrix/results/JR-comparison/PR-22062/1325.7_TTbar_13_94XNanoAODINPUT+TTbar_13_94XNanoAODINPUT+NANOEDMMC2017

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 6 differences found in the comparisons
  • DQMHistoTests: Total files compared: 26
  • DQMHistoTests: Total histograms compared: 2465763
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2465593
  • DQMHistoTests: Total skipped: 169
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 1.11000000006 KiB( 22 files compared)
  • Checked 110 log files, 9 edm output root files, 26 DQM output files

@fabiocos
Copy link
Contributor

fabiocos commented Feb 3, 2018

+1

@cmsbuild cmsbuild merged commit c57b629 into cms-sw:master Feb 3, 2018
@gartung gartung deleted the CalibTracker-SiStripESProducers-ESProducers-returntype branch February 7, 2018 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants