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

Running code-format for reconstruction #27140

Merged
merged 2 commits into from Jun 8, 2019

Conversation

cmsbuild
Copy link
Contributor

@cmsbuild cmsbuild commented Jun 7, 2019

Applying code-format for CMSSW category reconstruction.
See the build logs here https://cmssdt.cern.ch/jenkins/job/GitHub-refactor-cmssw-module/377//console

cms-bot has successfully run the following:

  • scram build code-checks-all
  • scram build code-format-all
  • scram build

@cmsbuild
Copy link
Contributor Author

cmsbuild commented Jun 7, 2019

please test

@cmsbuild
Copy link
Contributor Author

cmsbuild commented Jun 7, 2019

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor Author

cmsbuild commented Jun 7, 2019

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27140/10277

  • This PR adds an extra 8KB to repository

@cmsbuild
Copy link
Contributor Author

cmsbuild commented Jun 7, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/817/console Started: 2019/06/07 09:07

@cmsbuild
Copy link
Contributor Author

cmsbuild commented Jun 7, 2019

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

It involves the following packages:

DataFormats/SiStripCluster
DataFormats/TrackerCommon
RecoLocalTracker/SubCollectionProducers
RecoTracker/FinalTrackSelectors

@perrotta, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks.
@echabert, @pieterdavid, @makortel, @felicepantaleo, @yduhm, @GiacomoSguazzoni, @gbenelli, @rovere, @VinInn, @mschrode, @threus, @gpetruc, @ebrondol, @mmusich, @dgulhan, @alesaggio 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

@cmsbuild
Copy link
Contributor Author

cmsbuild commented Jun 7, 2019

@cmsbuild
Copy link
Contributor Author

cmsbuild commented Jun 7, 2019

Comparison job queued.

@cmsbuild
Copy link
Contributor Author

cmsbuild commented Jun 7, 2019

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 33
  • DQMHistoTests: Total histograms compared: 3215458
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3215123
  • DQMHistoTests: Total skipped: 334
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 32 files compared)
  • Checked 137 log files, 14 edm output root files, 33 DQM output files

// if hit is good check to make sure that we are keeping pixel hits
if (excludePixelHits_) {
if ((detid.det() == DetId::Tracker) &&
((detid.subdetId() == 1) || (detid.subdetId() == 2))) { // check for pixel hits
Copy link
Contributor

Choose a reason for hiding this comment

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

comment line break issue

auto score2 = score[t2];

constexpr float almostSame =
0.01f; // difference rather than ratio due to possible negative values for score
Copy link
Contributor

Choose a reason for hiding this comment

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

comment line break issue

float rPVerr = sqrt(
bestVertexError.x() *
bestVertexError
.y()); // shouldn't it be bestVertex.xError()*bestVertex.xError()+bestVertex.yError()*bestVertex.yError() ?!?!?
Copy link
Contributor

Choose a reason for hiding this comment

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

bad comment line break issue

if (maxDz[2] < std::numeric_limits<float>::max() || maxDr[2] < std::numeric_limits<float>::max()) {
// if not primaryVertices are reconstructed, check compatibility w.r.t. beam spot
Point bestVertex =
getBestVertex(trk, vertices, minNVtxTrk); // min number of tracks [2 (=default) for offline, 3 for HLT]
Copy link
Contributor

Choose a reason for hiding this comment

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

comment line break issue

if (dzWPVerr_par[2] < std::numeric_limits<float>::max() || drWPVerr_par[2] < std::numeric_limits<float>::max()) {
Point bestVertexError(-1., -1., -1.);
Point bestVertex = getBestVertex_withError(
trk, vertices, bestVertexError, minNVtxTrk); // min number of tracks [2 (=default) for offline, 3 for HLT]
Copy link
Contributor

Choose a reason for hiding this comment

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

comment line break issue

// in case of split-hit do full conbinatorics
auto li = ih;
while ((++li) != nh1 && id1 == rh1[k1][li].first)
;
Copy link
Contributor

Choose a reason for hiding this comment

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

should we put empty loop {} block instead?

inputs["trk_dz"] = trk.dz(beamSpot.position()); // Training done without taking absolute value
inputs["trk_dxyClosestPV"] = trk.dxy(bestVertex); // Training done without taking absolute value
inputs["trk_dzClosestPVNorm"] =
std::max(-0.2, std::min(trk.dz(bestVertex), 0.2)); // Training done without taking absolute value
Copy link
Contributor

Choose a reason for hiding this comment

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

comment line break issue


if (GeomDetEnumerators::isTrackerStrip(theGeometry->geomDetSubDetector(id.subdetId()))) {
if (subdetStoN_[subdet_cnt -
1]) { //check that hit is in a det belonging to a subdet where we decided to apply a S/N cut
Copy link
Contributor

Choose a reason for hiding this comment

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

comment line break issue

@slava77
Copy link
Contributor

slava77 commented Jun 7, 2019

+1

for #27140 75d41be

  • technical
  • jenkins tests pass

#27140 (review)
can be addressed in a separate PR

@cmsbuild
Copy link
Contributor Author

cmsbuild commented Jun 7, 2019

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). 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)

@fabiocos
Copy link
Contributor

fabiocos commented Jun 8, 2019

+1

@cmsbuild cmsbuild merged commit b1ffe56 into master Jun 8, 2019
@smuzaffar smuzaffar deleted the code-format-reconstruction-b49911 branch June 11, 2019 11:48
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

3 participants