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
Conversation
please test |
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27170/10320
|
@cmsbuild please test |
The tests are being triggered in jenkins. |
A new Pull Request was created by @cmsbuild for master. It involves the following packages: DataFormats/CaloRecHit @perrotta, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
{ | ||
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 | ||
, |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment line break issue
+1
issues reported in #27170 (review) |
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) |
+1 |
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: