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 #27170

Merged
merged 2 commits into from Jun 12, 2019

Conversation

cmsbuild
Copy link
Contributor

Applying code-format for CMSSW category reconstruction.
See the build logs here https://cmssdt.cern.ch/jenkins/job/GitHub-refactor-cmssw-module/391//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

please test

@cmsbuild
Copy link
Contributor Author

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor Author

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27170/10320

  • This PR adds an extra 8KB to repository

@slava77
Copy link
Contributor

slava77 commented Jun 11, 2019

@cmsbuild please test
the earlier "please test" was not picked up for some reason

@cmsbuild
Copy link
Contributor Author

cmsbuild commented Jun 11, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/877/console Started: 2019/06/11 17:11

@cmsbuild
Copy link
Contributor Author

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

It involves the following packages:

DataFormats/CaloRecHit
DataFormats/HcalRecHit
DataFormats/Math
DataFormats/SiPixelCluster
EventFilter/SiPixelRawToDigi
RecoLocalTracker/SiPixelClusterizer
RecoLocalTracker/SiPixelRecHits
RecoPixelVertexing/PixelTrackFitting
RecoPixelVertexing/PixelVertexFinding

@perrotta, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks.
@makortel, @felicepantaleo, @GiacomoSguazzoni, @rovere, @VinInn, @Martin-Grunewald, @dkotlins, @ebrondol, @gpetruc, @mariadalfonso, @threus, @dgulhan 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
Copy link
Contributor Author

Comparison job queued.

@cmsbuild
Copy link
Contributor Author

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 33
  • DQMHistoTests: Total histograms compared: 3215458
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3215122
  • 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

{
return (mm3 / 1.e9);
}

template <class NumType>
inline constexpr NumType convertUnitsTo(long double desiredUnits, NumType val) // Convert Geant units to desired units
inline constexpr NumType convertUnitsTo(long double desiredUnits,
NumType val) // Convert Geant units to desired units
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

for(int j=0;j<36;++j) {decodeErrors[i][j]=0; decodeErrors000[i][j]=0; decodeErrorsDouble[i][j]=0;}
printLocal = theConfig.getUntrackedParameter<int>("Verbosity", 1);
printThreshold =
theConfig.getUntrackedParameter<double>("PrintThreshold", 0.001); // threshold per event for printing errors
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

const MagneticField* mf,
const GlobalPoint& reference = GlobalPoint(0,
0,
0) // reference point of a track for IP computation
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

: TValidTrackingRecHit(*geom) {
localPosition_ = LocalPoint(0., 0., 0.);
localError_ =
LocalError(sqr(beamSpot.BeamWidthX()), 0.0, sqr(beamSpot.sigmaZ())); //neglect XY differences and BS slope
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

const double
m_minSizeY_q; // Use only pixel clusters with sizeY > PixelCellHeightOverWidth * |jetZOverRho| + minSizeY_q
const double
m_maxSizeY_q; // Use only pixel clusters with sizeY < PixelCellHeightOverWidth * |jetZOverRho| + maxSizeY_q
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 issues

const double m_weight_rho_up; // used in weight_rho = (m_weight_rho_up - ClusterRho)/m_weight_rho_up
const double m_weight_charge_peak; // Give the maximum weight_charge for a cluster with Charge = m_weight_charge_peak
const double
m_peakSizeY_q; // Give the maximum weight_sizeY for a cluster with sizeY = PixelCellHeightOverWidth * |jetZOverRho| + peakSizeY_q
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

std::abs(deltaPhi((*jit)->momentum().Phi(), v_bs.phi())) <= m_maxDeltaPhi_EC) //EC
) {
float z = v.z() - ((v.x() - beamSpot->x0()) * px + (v.y() - beamSpot->y0()) * py) / pt * pz /
pt; //calculate z-projection
Copy link
Contributor

Choose a reason for hiding this comment

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

likely comment line break issue

*zClusterQuality = -1;
if (nWeightedTot != 0) {
*zClusterQuality =
nWeightedTotPeak / sqrt(nWeightedTot / (2 * half_width_peak)); // where 30 is the beam spot lenght
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

: verbose_(conf.getParameter<int>("Verbosity")) // 0 silent, 1 chatty, 2 loud
,
ptMin_(conf.getParameter<double>("PtMin")) // 1.0 GeV
,
Copy link
Contributor

Choose a reason for hiding this comment

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

these are apparently comment line related issues

math::XYZPoint myPoint(0., 0., 0.);
if (bsHandle.isValid())
myPoint =
math::XYZPoint(bsHandle->x0(), bsHandle->y0(), 0.); //FIXME: fix last coordinate with vertex.z() at same time
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 11, 2019

+1

for #27170 146bc98

  • technical
  • jenkins tests pass

issues reported in #27170 (review)
are relatively minor and can be addressed in a follow-up PR

@cmsbuild
Copy link
Contributor Author

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

+1

@cmsbuild cmsbuild merged commit c345719 into master Jun 12, 2019
@smuzaffar smuzaffar deleted the code-format-reconstruction-60a708 branch June 20, 2019 20:38
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